Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001518/0.001518, allocations: 77.88 kB / 21.42 MB, free: 3.074 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001083/0.001083, allocations: 168.5 kB / 24.82 MB, free: 9.262 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.023/1.023, allocations: 177.1 MB / 205.3 MB, free: 5.5 MB / 186.7 MB " [Timeout remaining time 179] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.443e-06/1.443e-06, allocations: 0 / 273.4 MB, free: 1.289 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.32e-05/1.464e-05, allocations: 2.312 kB / 273.4 MB, free: 1.285 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked): time 0.001726/0.001741, allocations: 1.61 MB / 275 MB, free: 15.67 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007023/0.002443, allocations: 0.5142 MB / 275.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.092e-05/0.002514, allocations: 3.938 kB / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.919e-05/0.002553, allocations: 3.938 kB / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001162/0.00267, allocations: 15.88 kB / 275.6 MB, free: 15.12 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002206/0.00289, allocations: 51.75 kB / 275.6 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 7.976e-05/0.00297, allocations: 47.78 kB / 275.7 MB, free: 15.03 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.79e-05/0.003038, allocations: 4 kB / 275.7 MB, free: 15.02 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.595e-05/0.003134, allocations: 35.84 kB / 275.7 MB, free: 14.99 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.904e-05/0.003173, allocations: 15.97 kB / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.212e-05/0.003185, allocations: 0 / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 3.651e-05/0.003222, allocations: 8 kB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.081e-05/0.003252, allocations: 11.94 kB / 275.7 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 1.623e-05/0.003269, allocations: 19.92 kB / 275.7 MB, free: 14.93 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 9.101e-05/0.00336, allocations: 39.83 kB / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.673e-06/0.003361, allocations: 0 / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of FrontEnd: time 5.81e-07/0.003362, allocations: 0 / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.136e-06/0.003365, allocations: 0 / 275.8 MB, free: 14.89 MB / 266.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0002876/0.003653, allocations: 392.3 kB / 276.2 MB, free: 14.48 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.906e-05/0.003682, allocations: 15.97 kB / 276.2 MB, free: 14.46 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.305e-05/0.003765, allocations: 12.89 kB / 276.2 MB, free: 14.45 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.00388, allocations: 151.7 kB / 276.3 MB, free: 14.28 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.881e-06/0.003886, allocations: 4.375 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.314e-06/0.003893, allocations: 8.359 kB / 276.4 MB, free: 14.27 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000122/0.004015, allocations: 109.6 kB / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 4.639e-06/0.00402, allocations: 192 / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.14e-06/0.004025, allocations: 384 / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.057e-06/0.004029, allocations: 3.938 kB / 276.5 MB, free: 14.13 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.391e-05/0.004043, allocations: 8 kB / 276.5 MB, free: 14.12 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000174/0.004217, allocations: 244.1 kB / 276.7 MB, free: 13.85 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.667e-05/0.004254, allocations: 58.11 kB / 276.8 MB, free: 13.77 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.632e-05/0.00427, allocations: 19.5 kB / 276.8 MB, free: 13.74 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.328e-05/0.004283, allocations: 7.875 kB / 276.8 MB, free: 13.73 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.85e-05/0.004302, allocations: 41.39 kB / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of pre-optimization done (n=2): time 5.82e-07/0.004302, allocations: 0 / 276.8 MB, free: 13.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=2): time 9.717e-05/0.004399, allocations: 49.52 kB / 276.9 MB, free: 13.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.243e-05/0.004432, allocations: 81.11 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.458e-05/0.004506, allocations: 189.9 kB / 277.2 MB, free: 13.33 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 8.886e-06/0.004515, allocations: 29.94 kB / 277.2 MB, free: 13.29 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.049e-05/0.004556, allocations: 138.9 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.07e-05/0.004567, allocations: 3.984 kB / 277.3 MB, free: 13.15 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.36e-05/0.00459, allocations: 23.33 kB / 277.3 MB, free: 13.12 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001003/0.00469, allocations: 496.1 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.424e-06/0.004698, allocations: 4 kB / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.811e-06/0.004704, allocations: 0 / 277.8 MB, free: 12.62 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.966e-05/0.004723, allocations: 15.62 kB / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.212e-06/0.004725, allocations: 0 / 277.8 MB, free: 12.6 MB / 266.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.283e-05/0.004757, allocations: 33.7 kB / 277.9 MB, free: 12.56 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.848e-06/0.004767, allocations: 8.094 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.569e-06/0.004772, allocations: 3.938 kB / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.076e-06/0.00478, allocations: 0 / 277.9 MB, free: 12.55 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.903e-05/0.004819, allocations: 7.984 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.046e-06/0.004822, allocations: 3.984 kB / 277.9 MB, free: 12.54 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.454e-05/0.004836, allocations: 4 kB / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.847e-06/0.00484, allocations: 0 / 277.9 MB, free: 12.53 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 1 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 5.138e-05/0.004892, allocations: 156.6 kB / 278.1 MB, free: 12.37 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.779e-05/0.004919, allocations: 41.59 kB / 278.1 MB, free: 12.32 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.167e-05/0.004941, allocations: 15.73 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.42e-07/0.004942, allocations: 4.031 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.944e-06/0.004944, allocations: 4 kB / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.043e-06/0.004946, allocations: 0 / 278.1 MB, free: 12.3 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.108e-05/0.005027, allocations: 105.2 kB / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.022e-06/0.005028, allocations: 0 / 278.2 MB, free: 12.17 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.565e-05/0.005044, allocations: 4 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 9.02e-07/0.005044, allocations: 0 / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.506e-06/0.005048, allocations: 0 / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.343e-06/0.005049, allocations: 4 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.005051, allocations: 3.938 kB / 278.2 MB, free: 12.16 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.424e-05/0.005125, allocations: 203.5 kB / 278.4 MB, free: 11.93 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.314e-05/0.005148, allocations: 23.92 kB / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.715e-06/0.005156, allocations: 0 / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.867e-05/0.005184, allocations: 0 / 278.5 MB, free: 11.91 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.908e-05/0.005203, allocations: 7.938 kB / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.643e-06/0.005205, allocations: 0 / 278.5 MB, free: 11.9 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.084e-05/0.005246, allocations: 146.1 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005246, allocations: 0 / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001311/0.005377, allocations: 4 kB / 278.6 MB, free: 11.76 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (2): * Single equations (assignments): 2 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 5.534e-05/0.005432, allocations: 103.2 kB / 278.7 MB, free: 11.64 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 4.236e-05/0.005475, allocations: 11.69 kB / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 9.32e-07/0.005476, allocations: 0 / 278.7 MB, free: 11.63 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.088e-05/0.005487, allocations: 11.62 kB / 278.7 MB, free: 11.61 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001886/0.005675, allocations: 22.62 kB / 278.8 MB, free: 11.59 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003002/0.005975, allocations: 169.3 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.396e-05/0.006009, allocations: 59.56 kB / 279 MB, free: 11.32 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.635e-05/0.006026, allocations: 8 kB / 279 MB, free: 11.31 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.435e-05/0.00607, allocations: 78.19 kB / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of SimCode: time 4.11e-07/0.00607, allocations: 0 / 279.1 MB, free: 11.23 MB / 266.7 MB Notification: Performance of Templates: time 0.001707/0.007778, allocations: 0.5528 MB / 279.6 MB, free: 10.69 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6162516167387366]