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.0008248/0.0008248, allocations: 87.62 kB / 21.44 MB, free: 3.129 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.003184/0.003184, allocations: 160 kB / 24.7 MB, free: 9.43 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 0.8201/0.8201, allocations: 177.2 MB / 205 MB, free: 5.723 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 1.383e-06/1.383e-06, allocations: 0 / 325.8 MB, free: 15.43 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.145e-05/2.283e-05, allocations: 6.281 kB / 325.8 MB, free: 15.42 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects): time 0.002202/0.002224, allocations: 1.842 MB / 327.7 MB, free: 13.57 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.001004/0.003229, allocations: 0.7164 MB / 328.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001045/0.003333, allocations: 0 / 328.4 MB, free: 12.84 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001298/0.003463, allocations: 27.67 kB / 328.4 MB, free: 12.82 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001482/0.003611, allocations: 23.8 kB / 328.5 MB, free: 12.79 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004664/0.004078, allocations: 175.4 kB / 328.6 MB, free: 12.62 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001868/0.004264, allocations: 155.5 kB / 328.8 MB, free: 12.47 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001159/0.00438, allocations: 38.38 kB / 328.8 MB, free: 12.43 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001472/0.004528, allocations: 87.73 kB / 328.9 MB, free: 12.34 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.01e-05/0.004618, allocations: 47.8 kB / 328.9 MB, free: 12.3 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 2.452e-05/0.004642, allocations: 12 kB / 329 MB, free: 12.29 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.393e-05/0.004726, allocations: 51.97 kB / 329 MB, free: 12.23 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 6.99e-05/0.004796, allocations: 47.83 kB / 329.1 MB, free: 12.19 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 4.417e-05/0.00484, allocations: 35.86 kB / 329.1 MB, free: 12.15 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002396/0.00508, allocations: 219.3 kB / 329.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.264e-06/0.005082, allocations: 0 / 329.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of FrontEnd: time 7.71e-07/0.005083, allocations: 0 / 329.3 MB, free: 11.94 MB / 298.7 MB Notification: Performance of Transformations before backend: time 3.767e-06/0.005087, allocations: 0 / 329.3 MB, free: 11.94 MB / 298.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.0005181/0.005605, allocations: 412.5 kB / 329.7 MB, free: 11.51 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.578e-05/0.00564, allocations: 8.031 kB / 329.7 MB, free: 11.5 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001012/0.005742, allocations: 32.72 kB / 329.7 MB, free: 11.47 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002265/0.005968, allocations: 193.4 kB / 329.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.412e-05/0.005982, allocations: 8.562 kB / 329.9 MB, free: 11.25 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.491e-05/0.005997, allocations: 8.375 kB / 330 MB, free: 11.24 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004584/0.006455, allocations: 362.8 kB / 330.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.494e-06/0.006463, allocations: 0 / 330.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.006476, allocations: 4 kB / 330.3 MB, free: 10.86 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.111e-06/0.006483, allocations: 4 kB / 330.3 MB, free: 10.85 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001315/0.006614, allocations: 83.88 kB / 330.4 MB, free: 10.77 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002788/0.006893, allocations: 261.2 kB / 330.7 MB, free: 10.48 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002889/0.007182, allocations: 181.1 kB / 330.8 MB, free: 10.29 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001071/0.007289, allocations: 97.95 kB / 330.9 MB, free: 10.18 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0002163/0.007505, allocations: 63.92 kB / 331 MB, free: 10.12 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.128e-05/0.007526, allocations: 42.56 kB / 331 MB, free: 10.07 MB / 298.7 MB Notification: Performance of pre-optimization done (n=19): time 1.162e-06/0.007528, allocations: 0 / 331 MB, free: 10.07 MB / 298.7 MB Notification: Performance of matching and sorting (n=19): time 0.0003565/0.007884, allocations: 239.8 kB / 331.3 MB, free: 9.832 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.376e-05/0.007948, allocations: 125.6 kB / 331.4 MB, free: 9.688 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001355/0.008083, allocations: 194.6 kB / 331.6 MB, free: 9.484 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 1.35e-05/0.008097, allocations: 25.7 kB / 331.6 MB, free: 9.453 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.788e-05/0.008145, allocations: 104.6 kB / 331.7 MB, free: 9.348 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.645e-05/0.008161, allocations: 12.08 kB / 331.7 MB, free: 9.336 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.107e-05/0.008192, allocations: 25.67 kB / 331.7 MB, free: 9.305 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 7.886e-05/0.008271, allocations: 330.8 kB / 332.1 MB, free: 8.973 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.617e-05/0.008307, allocations: 23.97 kB / 332.1 MB, free: 8.949 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.715e-05/0.008364, allocations: 85.97 kB / 332.2 MB, free: 8.844 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.056e-05/0.008435, allocations: 71.34 kB / 332.2 MB, free: 8.762 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.984e-06/0.008437, allocations: 4.031 kB / 332.2 MB, free: 8.758 MB / 298.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001143/0.008551, allocations: 113.5 kB / 332.4 MB, free: 8.641 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.165e-05/0.008563, allocations: 4 kB / 332.4 MB, free: 8.637 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.33e-06/0.008568, allocations: 4 kB / 332.4 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.029e-05/0.008579, allocations: 0 / 332.4 MB, free: 8.633 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.261e-05/0.008631, allocations: 15.98 kB / 332.4 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.889e-06/0.008636, allocations: 0 / 332.4 MB, free: 8.617 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.478e-05/0.008671, allocations: 8.078 kB / 332.4 MB, free: 8.609 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.252e-06/0.008677, allocations: 8 kB / 332.4 MB, free: 8.602 MB / 298.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 9.051e-05/0.008768, allocations: 145.7 kB / 332.5 MB, free: 8.449 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001666/0.008934, allocations: 157.5 kB / 332.7 MB, free: 8.289 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002119/0.009146, allocations: 183.3 kB / 332.9 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.166e-06/0.009149, allocations: 0 / 332.9 MB, free: 8.109 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.009155, allocations: 7.984 kB / 332.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.536e-06/0.009158, allocations: 0 / 332.9 MB, free: 8.102 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001163/0.009275, allocations: 153.2 kB / 333 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.737e-06/0.009278, allocations: 0 / 333 MB, free: 7.922 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.119e-05/0.009349, allocations: 35.91 kB / 333.1 MB, free: 7.887 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.009352, allocations: 4 kB / 333.1 MB, free: 7.883 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.418e-06/0.009361, allocations: 4 kB / 333.1 MB, free: 7.879 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.974e-06/0.009363, allocations: 3.938 kB / 333.1 MB, free: 7.875 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.234e-06/0.009365, allocations: 4 kB / 333.1 MB, free: 7.871 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002195/0.009585, allocations: 284.1 kB / 333.4 MB, free: 7.574 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.121e-05/0.009636, allocations: 39.81 kB / 333.4 MB, free: 7.535 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.06e-05/0.009657, allocations: 8 kB / 333.4 MB, free: 7.527 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.008e-05/0.009717, allocations: 15.98 kB / 333.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.319e-05/0.00974, allocations: 0 / 333.4 MB, free: 7.512 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.233e-05/0.009752, allocations: 7.984 kB / 333.4 MB, free: 7.504 MB / 298.7 MB Notification: Performance of sorting global known variables: time 7.658e-05/0.009829, allocations: 144.5 kB / 333.6 MB, free: 7.363 MB / 298.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009829, allocations: 0 / 333.6 MB, free: 7.363 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.000175/0.01, allocations: 31.95 kB / 333.6 MB, free: 7.332 MB / 298.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.0001185/0.01012, allocations: 115.2 kB / 333.7 MB, free: 7.211 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001631/0.01029, allocations: 95.83 kB / 333.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.293e-06/0.01029, allocations: 0 / 333.8 MB, free: 7.117 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 1.839e-05/0.01031, allocations: 11.98 kB / 333.8 MB, free: 7.105 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000369/0.01067, allocations: 149.5 kB / 334 MB, free: 6.953 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004172/0.01109, allocations: 365.5 kB / 334.3 MB, free: 6.559 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.665e-05/0.01117, allocations: 115.7 kB / 334.4 MB, free: 6.422 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.016e-05/0.0112, allocations: 16.48 kB / 334.4 MB, free: 6.406 MB / 298.7 MB Notification: Performance of SimCode: time 6.01e-07/0.0112, allocations: 0 / 334.4 MB, free: 6.406 MB / 298.7 MB Notification: Performance of Templates: time 0.002581/0.01378, allocations: 2.179 MB / 336.6 MB, free: 4.238 MB / 298.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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleWithADeffects.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.088815741240978]