Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002241/0.002241, allocations: 99.86 kB / 20.96 MB, free: 3.449 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001843/0.001843, allocations: 145.1 kB / 24.26 MB, free: 160 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.558/1.558, allocations: 173.3 MB / 200.8 MB, free: 9.324 MB / 186.7 MB " [Timeout remaining time 178] Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.615e-06/2.615e-06, allocations: 0 / 267.3 MB, free: 6.734 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 4.691e-05/4.952e-05, allocations: 6.25 kB / 267.3 MB, free: 6.727 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.004104/0.004153, allocations: 1.849 MB / 269.2 MB, free: 4.863 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001426/0.005579, allocations: 0.6579 MB / 269.8 MB, free: 4.199 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001066/0.005686, allocations: 3.938 kB / 269.8 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001646/0.00585, allocations: 31.72 kB / 269.9 MB, free: 4.164 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001696/0.00602, allocations: 27.8 kB / 269.9 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005928/0.006613, allocations: 159 kB / 270.1 MB, free: 3.984 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002736/0.006886, allocations: 151.5 kB / 270.2 MB, free: 3.836 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001574/0.007044, allocations: 41.77 kB / 270.2 MB, free: 3.793 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001719/0.007216, allocations: 75.81 kB / 270.3 MB, free: 3.719 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001304/0.007346, allocations: 47.81 kB / 270.4 MB, free: 3.672 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 4.131e-05/0.007387, allocations: 16 kB / 270.4 MB, free: 3.656 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001362/0.007523, allocations: 55.89 kB / 270.4 MB, free: 3.602 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 9.083e-05/0.007614, allocations: 39.84 kB / 270.5 MB, free: 3.562 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 7.533e-05/0.00769, allocations: 47.84 kB / 270.5 MB, free: 3.516 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003732/0.008063, allocations: 207.3 kB / 270.7 MB, free: 3.312 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.349e-06/0.008067, allocations: 3.938 kB / 270.7 MB, free: 3.309 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.102e-06/0.008068, allocations: 0 / 270.7 MB, free: 3.309 MB / 250.7 MB Notification: Performance of Transformations before backend: time 6.392e-06/0.008075, allocations: 0 / 270.7 MB, free: 3.309 MB / 250.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.0008979/0.008973, allocations: 0.4957 MB / 271.2 MB, free: 2.777 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.237e-05/0.009015, allocations: 8.031 kB / 271.2 MB, free: 2.77 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.673e-05/0.009102, allocations: 32.8 kB / 271.3 MB, free: 2.738 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003551/0.009457, allocations: 192.3 kB / 271.4 MB, free: 2.523 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.009478, allocations: 8.562 kB / 271.5 MB, free: 2.516 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.009502, allocations: 12.38 kB / 271.5 MB, free: 2.504 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007081/0.01021, allocations: 331 kB / 271.8 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.003e-05/0.01022, allocations: 0 / 271.8 MB, free: 2.145 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.897e-05/0.01024, allocations: 4 kB / 271.8 MB, free: 2.141 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.814e-06/0.01025, allocations: 4 kB / 271.8 MB, free: 2.137 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002187/0.01047, allocations: 67.89 kB / 271.9 MB, free: 2.07 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004514/0.01092, allocations: 339.3 kB / 272.2 MB, free: 1.699 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004841/0.0114, allocations: 194.3 kB / 272.4 MB, free: 1.484 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001933/0.01159, allocations: 95.39 kB / 272.5 MB, free: 1.383 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003951/0.01199, allocations: 55.94 kB / 272.5 MB, free: 1.328 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.925e-05/0.01203, allocations: 41.33 kB / 272.6 MB, free: 1.277 MB / 250.7 MB Notification: Performance of pre-optimization done (n=19): time 3.386e-06/0.01203, allocations: 4 kB / 272.6 MB, free: 1.273 MB / 250.7 MB Notification: Performance of matching and sorting (n=19): time 0.0005875/0.01262, allocations: 208.1 kB / 272.8 MB, free: 1.066 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001051/0.01272, allocations: 114.8 kB / 272.9 MB, free: 0.9297 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002585/0.01298, allocations: 261.7 kB / 273.1 MB, free: 0.6562 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.688e-05/0.01301, allocations: 29.7 kB / 273.2 MB, free: 0.6211 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001178/0.01313, allocations: 155.4 kB / 273.3 MB, free: 476 kB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.21e-05/0.01316, allocations: 23.83 kB / 273.4 MB, free: 452 kB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.564e-05/0.01322, allocations: 27.38 kB / 273.4 MB, free: 416 kB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002862/0.0135, allocations: 0.504 MB / 273.9 MB, free: 15.89 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.801e-05/0.01355, allocations: 16.11 kB / 273.9 MB, free: 15.88 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001021/0.01365, allocations: 88.08 kB / 274 MB, free: 15.76 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001159/0.01377, allocations: 62.67 kB / 274 MB, free: 15.68 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.01377, allocations: 0 / 274 MB, free: 15.68 MB / 266.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001701/0.01394, allocations: 85.64 kB / 274.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.693e-05/0.01396, allocations: 12.03 kB / 274.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.199e-06/0.01396, allocations: 0 / 274.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.483e-05/0.01398, allocations: 0 / 274.1 MB, free: 15.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.939e-05/0.01406, allocations: 12 kB / 274.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.036e-05/0.01407, allocations: 3.938 kB / 274.2 MB, free: 15.57 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.716e-05/0.01413, allocations: 11.98 kB / 274.2 MB, free: 15.55 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.678e-06/0.01414, allocations: 4 kB / 274.2 MB, free: 15.55 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 0.0001717/0.01431, allocations: 183.8 kB / 274.4 MB, free: 15.36 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003061/0.01462, allocations: 145.5 kB / 274.5 MB, free: 15.21 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003594/0.01498, allocations: 163.3 kB / 274.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.877e-06/0.01498, allocations: 0 / 274.7 MB, free: 15.05 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.887e-06/0.01499, allocations: 4 kB / 274.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.593e-06/0.01499, allocations: 3.984 kB / 274.7 MB, free: 15.04 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002409/0.01524, allocations: 176.5 kB / 274.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.496e-06/0.01524, allocations: 7.938 kB / 274.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.01538, allocations: 27.98 kB / 274.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.01538, allocations: 0 / 274.9 MB, free: 14.8 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.72e-05/0.0154, allocations: 7.984 kB / 274.9 MB, free: 14.79 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.228e-06/0.0154, allocations: 8 kB / 274.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.01541, allocations: 0 / 274.9 MB, free: 14.78 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004586/0.01586, allocations: 337.8 kB / 275.2 MB, free: 14.43 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.461e-05/0.01595, allocations: 35.84 kB / 275.2 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.468e-05/0.01598, allocations: 8 kB / 275.3 MB, free: 14.39 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001296/0.01611, allocations: 11.98 kB / 275.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.357e-05/0.01615, allocations: 0 / 275.3 MB, free: 14.38 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.83e-05/0.01617, allocations: 4 kB / 275.3 MB, free: 14.37 MB / 266.7 MB Notification: Performance of sorting global known variables: time 0.0001666/0.01633, allocations: 192.2 kB / 275.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of sort global known variables: time 6e-08/0.01633, allocations: 0 / 275.5 MB, free: 14.18 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002622/0.01659, allocations: 28 kB / 275.5 MB, free: 14.16 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.0001946/0.01679, allocations: 123.1 kB / 275.6 MB, free: 14.03 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0003728/0.01716, allocations: 91.02 kB / 275.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.653e-06/0.01716, allocations: 0 / 275.7 MB, free: 13.94 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.755e-05/0.01721, allocations: 19.67 kB / 275.7 MB, free: 13.91 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005883/0.0178, allocations: 145.1 kB / 275.9 MB, free: 13.77 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006332/0.01843, allocations: 315 kB / 276.2 MB, free: 13.43 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001327/0.01856, allocations: 119.7 kB / 276.3 MB, free: 13.29 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.471e-05/0.01861, allocations: 13.12 kB / 276.3 MB, free: 13.28 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.9e-05/0.01866, allocations: 20.5 kB / 276.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of SimCode: time 4.6e-07/0.01866, allocations: 0 / 276.3 MB, free: 13.25 MB / 266.7 MB Notification: Performance of Templates: time 0.006653/0.02531, allocations: 2.448 MB / 278.8 MB, free: 10.83 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleWithADeffects/SampleWithADeffects.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.655223538982682]