Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001308/0.001308, allocations: 106.1 kB / 19.8 MB, free: 2.496 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001362/0.001362, allocations: 216.6 kB / 23 MB, free: 5.59 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.693/1.693, allocations: 230.2 MB / 256.2 MB, free: 8.559 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002044/0.002044, allocations: 63.88 kB / 376.5 MB, free: 3.613 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.4263/0.4284, allocations: 53.33 MB / 429.8 MB, free: 7.582 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.003622/0.432, allocations: 1.889 MB / 431.7 MB, free: 5.684 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.001866/0.4339, allocations: 0.7594 MB / 432.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002047/0.4341, allocations: 0 / 432.5 MB, free: 4.918 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002515/0.4343, allocations: 27.73 kB / 432.5 MB, free: 4.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002322/0.4346, allocations: 27.78 kB / 432.5 MB, free: 4.863 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008404/0.4354, allocations: 167.6 kB / 432.7 MB, free: 4.699 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003474/0.4357, allocations: 159.5 kB / 432.8 MB, free: 4.543 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001764/0.4359, allocations: 33.55 kB / 432.9 MB, free: 4.508 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000191/0.4361, allocations: 67.7 kB / 432.9 MB, free: 4.441 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001616/0.4363, allocations: 59.69 kB / 433 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.567e-05/0.4363, allocations: 12 kB / 433 MB, free: 4.371 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001339/0.4364, allocations: 55.97 kB / 433.1 MB, free: 4.316 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001042/0.4365, allocations: 51.77 kB / 433.1 MB, free: 4.266 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 9.553e-05/0.4366, allocations: 71.53 kB / 433.2 MB, free: 4.195 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003936/0.437, allocations: 200.5 kB / 433.4 MB, free: 4.004 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.978e-06/0.437, allocations: 4 kB / 433.4 MB, free: 4 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.363e-06/0.437, allocations: 0 / 433.4 MB, free: 4 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.437, allocations: 0 / 433.4 MB, free: 4 MB / 334.1 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.000854/0.4379, allocations: 490.6 kB / 433.9 MB, free: 3.473 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.715e-05/0.4379, allocations: 8.031 kB / 433.9 MB, free: 3.465 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001951/0.4381, allocations: 28.8 kB / 433.9 MB, free: 3.438 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004263/0.4386, allocations: 248.2 kB / 434.1 MB, free: 3.156 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.714e-05/0.4386, allocations: 8.562 kB / 434.1 MB, free: 3.148 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.962e-05/0.4386, allocations: 12.12 kB / 434.2 MB, free: 3.137 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000684/0.4393, allocations: 334.1 kB / 434.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.776e-05/0.4393, allocations: 0 / 434.5 MB, free: 2.789 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.706e-05/0.4393, allocations: 4 kB / 434.5 MB, free: 2.785 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.4393, allocations: 4 kB / 434.5 MB, free: 2.781 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000237/0.4396, allocations: 83.94 kB / 434.6 MB, free: 2.699 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000446/0.44, allocations: 349.5 kB / 434.9 MB, free: 2.305 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005101/0.4405, allocations: 262.2 kB / 435.2 MB, free: 2.012 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000191/0.4407, allocations: 93.89 kB / 435.3 MB, free: 1.914 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0006935/0.4414, allocations: 0.5778 MB / 435.8 MB, free: 1.207 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.096e-05/0.4414, allocations: 46.48 kB / 435.9 MB, free: 1.152 MB / 334.1 MB Notification: Performance of pre-optimization done (n=19): time 1.563e-06/0.4414, allocations: 0 / 435.9 MB, free: 1.152 MB / 334.1 MB Notification: Performance of matching and sorting (n=19): time 0.0006041/0.442, allocations: 235.8 kB / 436.1 MB, free: 0.918 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001263/0.4422, allocations: 118.9 kB / 436.2 MB, free: 0.7773 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000227/0.4424, allocations: 199.2 kB / 436.4 MB, free: 0.5703 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.677e-05/0.4424, allocations: 29.7 kB / 436.5 MB, free: 0.5352 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.876e-05/0.4425, allocations: 100.6 kB / 436.6 MB, free: 440 kB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.073e-05/0.4425, allocations: 19.89 kB / 436.6 MB, free: 420 kB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.429e-05/0.4426, allocations: 41.7 kB / 436.6 MB, free: 372 kB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001597/0.4428, allocations: 326.8 kB / 436.9 MB, free: 36 kB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001052/0.4429, allocations: 40.05 kB / 437 MB, free: 15.99 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001873/0.4431, allocations: 164.5 kB / 437.1 MB, free: 15.77 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002723/0.4433, allocations: 212.1 kB / 437.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.604e-06/0.4433, allocations: 0 / 437.3 MB, free: 15.51 MB / 350.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0003463/0.4437, allocations: 217.1 kB / 437.5 MB, free: 15.29 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.16e-05/0.4437, allocations: 8 kB / 437.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.666e-06/0.4437, allocations: 4 kB / 437.6 MB, free: 15.28 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.276e-05/0.4437, allocations: 4 kB / 437.6 MB, free: 15.27 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001502/0.4439, allocations: 40.52 kB / 437.6 MB, free: 15.23 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.989e-05/0.4439, allocations: 15.92 kB / 437.6 MB, free: 15.22 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001123/0.444, allocations: 23.89 kB / 437.6 MB, free: 15.2 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.442e-05/0.444, allocations: 11.94 kB / 437.7 MB, free: 15.18 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 19 * 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 (22): * Single equations (assignments): 22 * 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.0001658/0.4442, allocations: 153.8 kB / 437.8 MB, free: 15.02 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003172/0.4445, allocations: 165.4 kB / 438 MB, free: 14.86 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003848/0.4449, allocations: 186 kB / 438.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.777e-06/0.4449, allocations: 0 / 438.1 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.576e-06/0.4449, allocations: 4 kB / 438.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.46e-06/0.4449, allocations: 3.984 kB / 438.2 MB, free: 14.66 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002609/0.4452, allocations: 229.5 kB / 438.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-05/0.4452, allocations: 7.922 kB / 438.4 MB, free: 14.38 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001376/0.4453, allocations: 27.98 kB / 438.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.214e-06/0.4453, allocations: 0 / 438.4 MB, free: 14.35 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.558e-05/0.4453, allocations: 8 kB / 438.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.603e-06/0.4453, allocations: 0 / 438.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.4454, allocations: 3.938 kB / 438.4 MB, free: 14.34 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004318/0.4458, allocations: 294.9 kB / 438.7 MB, free: 14.03 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001169/0.4459, allocations: 116.9 kB / 438.8 MB, free: 13.9 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.553e-05/0.4459, allocations: 8 kB / 438.8 MB, free: 13.89 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001252/0.4461, allocations: 7.984 kB / 438.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.015e-05/0.4461, allocations: 4 kB / 438.8 MB, free: 13.88 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.036e-05/0.4461, allocations: 8 kB / 438.9 MB, free: 13.87 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001452/0.4463, allocations: 143 kB / 439 MB, free: 13.73 MB / 350.1 MB Notification: Performance of sort global known variables: time 6e-08/0.4463, allocations: 0 / 439 MB, free: 13.73 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003222/0.4466, allocations: 39.94 kB / 439 MB, free: 13.69 MB / 350.1 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.0002041/0.4468, allocations: 111.2 kB / 439.1 MB, free: 13.57 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003755/0.4472, allocations: 147.7 kB / 439.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.305e-06/0.4472, allocations: 3.938 kB / 439.3 MB, free: 13.43 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 3.55e-05/0.4472, allocations: 4 kB / 439.3 MB, free: 13.42 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006303/0.4478, allocations: 153.8 kB / 439.4 MB, free: 13.27 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006904/0.4485, allocations: 347.9 kB / 439.8 MB, free: 12.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004011/0.4489, allocations: 0.7283 MB / 440.5 MB, free: 12.15 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.757e-05/0.449, allocations: 17.55 kB / 440.5 MB, free: 12.13 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.578e-05/0.449, allocations: 19.42 kB / 440.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of SimCode: time 3.6e-07/0.449, allocations: 0 / 440.5 MB, free: 12.11 MB / 350.1 MB Notification: Performance of Templates: time 0.006224/0.4552, allocations: 2.448 MB / 443 MB, free: 9.68 MB / 350.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.makefile [Timeout 660] (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 5.154617649503052]