Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.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.0009173/0.0009173, allocations: 79.75 kB / 21.18 MB, free: 3.379 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.001207/0.001207, allocations: 161 kB / 24.56 MB, free: 12 kB / 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 0.9547/0.9547, allocations: 177.1 MB / 205 MB, free: 5.617 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.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.455e-06/2.455e-06, allocations: 0 / 273 MB, free: 1.535 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.91e-05/3.155e-05, allocations: 2.312 kB / 273 MB, free: 1.531 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.00253/0.002562, allocations: 1.899 MB / 274.9 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008766/0.003439, allocations: 0.7204 MB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.637e-05/0.003515, allocations: 7.938 kB / 275.6 MB, free: 14.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 9.535e-05/0.00361, allocations: 23.73 kB / 275.6 MB, free: 14.86 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001029/0.003713, allocations: 35.77 kB / 275.7 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003419/0.004055, allocations: 171.4 kB / 275.8 MB, free: 14.66 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001417/0.004197, allocations: 151.5 kB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.729e-05/0.004284, allocations: 37.78 kB / 276 MB, free: 14.47 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001402/0.004424, allocations: 83.8 kB / 276.1 MB, free: 14.39 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.358e-05/0.004498, allocations: 43.83 kB / 276.1 MB, free: 14.35 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 1.911e-05/0.004517, allocations: 16 kB / 276.2 MB, free: 14.33 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.319e-05/0.00459, allocations: 59.94 kB / 276.2 MB, free: 14.27 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 4.967e-05/0.00464, allocations: 39.86 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.159e-05/0.004682, allocations: 43.83 kB / 276.3 MB, free: 14.19 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001712/0.004853, allocations: 151.4 kB / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.273e-06/0.004854, allocations: 0 / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of FrontEnd: time 6.01e-07/0.004855, allocations: 0 / 276.5 MB, free: 14.04 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.477e-06/0.004858, allocations: 0 / 276.5 MB, free: 14.04 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: 25 * Number of variables: 25 Notification: Performance of Generate backend data structure: time 0.0004556/0.005314, allocations: 0.4921 MB / 276.9 MB, free: 13.52 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.644e-05/0.00534, allocations: 15.97 kB / 277 MB, free: 13.5 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001137/0.005454, allocations: 40.78 kB / 277 MB, free: 13.46 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002434/0.005697, allocations: 180.5 kB / 277.2 MB, free: 13.26 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.555e-05/0.005713, allocations: 8.562 kB / 277.2 MB, free: 13.25 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.37e-05/0.005727, allocations: 12.38 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003367/0.006063, allocations: 298 kB / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.605e-06/0.006071, allocations: 0 / 277.5 MB, free: 12.92 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.097e-05/0.006082, allocations: 4 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.913e-06/0.006089, allocations: 4 kB / 277.5 MB, free: 12.91 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.911e-05/0.006148, allocations: 27.98 kB / 277.5 MB, free: 12.88 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002563/0.006404, allocations: 327.2 kB / 277.8 MB, free: 12.52 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001885/0.006593, allocations: 129.5 kB / 278 MB, free: 12.38 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.546e-05/0.006658, allocations: 67.61 kB / 278 MB, free: 12.3 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001905/0.006849, allocations: 63.94 kB / 278.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.097e-05/0.00687, allocations: 45.33 kB / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of pre-optimization done (n=19): time 1.243e-06/0.006871, allocations: 0 / 278.1 MB, free: 12.18 MB / 266.7 MB Notification: Performance of matching and sorting (n=19): time 0.0002234/0.007094, allocations: 159.5 kB / 278.3 MB, free: 12.02 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.534e-05/0.00715, allocations: 114.8 kB / 278.4 MB, free: 11.89 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000129/0.007279, allocations: 241.4 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.572e-05/0.007294, allocations: 29.7 kB / 278.7 MB, free: 11.6 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.155e-05/0.007356, allocations: 151.4 kB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.738e-05/0.007373, allocations: 11.94 kB / 278.8 MB, free: 11.43 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.31e-05/0.007406, allocations: 31.33 kB / 278.9 MB, free: 11.39 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.007516, allocations: 0.4961 MB / 279.4 MB, free: 10.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.531e-05/0.007532, allocations: 4 kB / 279.4 MB, free: 10.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.991e-05/0.007582, allocations: 88.11 kB / 279.4 MB, free: 10.77 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.588e-05/0.007628, allocations: 50.84 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.246e-06/0.007631, allocations: 4 kB / 279.5 MB, free: 10.7 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 8.537e-05/0.007716, allocations: 85.5 kB / 279.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 9.598e-06/0.007726, allocations: 4 kB / 279.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.056e-06/0.007729, allocations: 0 / 279.6 MB, free: 10.61 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.098e-05/0.00774, allocations: 4.125 kB / 279.6 MB, free: 10.6 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.033e-05/0.00779, allocations: 12 kB / 279.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.21e-06/0.007795, allocations: 4 kB / 279.6 MB, free: 10.59 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.464e-05/0.00783, allocations: 7.938 kB / 279.6 MB, free: 10.58 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.57e-06/0.007836, allocations: 7.938 kB / 279.6 MB, free: 10.57 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 6 ($CLKPRE.sample1.noise.seedState[3],sample1.noise.seedState[3],$CLKPRE.sample1.noise.seedState[2],sample1.noise.seedState[2],$CLKPRE.sample1.noise.seedState[1],sample1.noise.seedState[1]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[3],sample1.noise.seedState[2],sample1.noise.seedState[1]) * Top-level inputs: 0 Notification: Strong component statistics for initialization (7): * Single equations (assignments): 7 * 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 8.219e-05/0.007918, allocations: 176.4 kB / 279.8 MB, free: 10.39 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001177/0.008035, allocations: 116.1 kB / 279.9 MB, free: 10.27 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001493/0.008185, allocations: 127.3 kB / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.008188, allocations: 4 kB / 280 MB, free: 10.14 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.815e-06/0.008191, allocations: 3.938 kB / 280 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.008194, allocations: 4 kB / 280 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001218/0.008316, allocations: 164.5 kB / 280.2 MB, free: 9.934 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.508e-06/0.00832, allocations: 3.984 kB / 280.2 MB, free: 9.93 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.837e-05/0.008389, allocations: 27.98 kB / 280.2 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.144e-06/0.008391, allocations: 0 / 280.2 MB, free: 9.902 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.486e-06/0.008399, allocations: 4 kB / 280.2 MB, free: 9.898 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.534e-06/0.008402, allocations: 4 kB / 280.2 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.008403, allocations: 0 / 280.2 MB, free: 9.895 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001699/0.008573, allocations: 283.3 kB / 280.5 MB, free: 9.594 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.058e-05/0.008623, allocations: 47.77 kB / 280.6 MB, free: 9.547 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.48e-05/0.008648, allocations: 15.98 kB / 280.6 MB, free: 9.531 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.324e-05/0.008701, allocations: 4 kB / 280.6 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.034e-05/0.008722, allocations: 0 / 280.6 MB, free: 9.527 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.157e-05/0.008733, allocations: 7.984 kB / 280.6 MB, free: 9.52 MB / 266.7 MB Notification: Performance of sorting global known variables: time 7.312e-05/0.008806, allocations: 176.4 kB / 280.8 MB, free: 9.348 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.008806, allocations: 0 / 280.8 MB, free: 9.348 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001584/0.008965, allocations: 24 kB / 280.8 MB, free: 9.324 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: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Number of discrete states: 0 () * Number of clocked states: 3 (sample1.noise.seedState[1],sample1.noise.seedState[2],sample1.noise.seedState[3]) * Top-level inputs: 0 Notification: Strong component statistics for simulation (16): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * 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 0.0001024/0.009067, allocations: 111.2 kB / 280.9 MB, free: 9.203 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001103/0.009177, allocations: 63.53 kB / 281 MB, free: 9.137 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.433e-06/0.009179, allocations: 3.938 kB / 281 MB, free: 9.133 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 1.075e-05/0.00919, allocations: 11.62 kB / 281 MB, free: 9.117 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003183/0.009508, allocations: 125.5 kB / 281.1 MB, free: 8.988 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004996/0.01001, allocations: 302.9 kB / 281.4 MB, free: 8.656 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.058e-05/0.01006, allocations: 88.36 kB / 281.5 MB, free: 8.547 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.755e-05/0.01009, allocations: 13.16 kB / 281.5 MB, free: 8.535 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.048e-05/0.01012, allocations: 16.48 kB / 281.5 MB, free: 8.52 MB / 266.7 MB Notification: Performance of SimCode: time 9.82e-07/0.01012, allocations: 0 / 281.5 MB, free: 8.52 MB / 266.7 MB Notification: Performance of Templates: time 0.003929/0.01405, allocations: 2.585 MB / 284.1 MB, free: 5.965 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.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.8226040741428733]