Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.001574/0.001574, allocations: 111 kB / 21.18 MB, free: 0.6758 MB / 14.72 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.002162/0.002162, allocations: 212.2 kB / 24.48 MB, free: 3.977 MB / 14.72 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.721/1.721, allocations: 230.6 MB / 258.2 MB, free: 7.789 MB / 206.1 MB " [Timeout remaining time 178] 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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001682/0.001682, allocations: 43.92 kB / 379 MB, free: 2.469 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.443/0.4447, allocations: 53.36 MB / 432.3 MB, free: 6.719 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2): time 0.005184/0.4499, allocations: 1.573 MB / 433.9 MB, free: 5.145 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006573/0.4505, allocations: 135.5 kB / 434 MB, free: 5.012 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001238/0.4506, allocations: 4 kB / 434 MB, free: 5.008 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 7.122e-05/0.4507, allocations: 3.938 kB / 434 MB, free: 5.004 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001883/0.4509, allocations: 7.875 kB / 434.1 MB, free: 4.996 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004276/0.4513, allocations: 43.83 kB / 434.1 MB, free: 4.953 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.00019/0.4515, allocations: 31.92 kB / 434.1 MB, free: 4.922 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000161/0.4517, allocations: 11.98 kB / 434.1 MB, free: 4.91 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.778e-05/0.4517, allocations: 15.94 kB / 434.2 MB, free: 4.895 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.96e-05/0.4518, allocations: 23.84 kB / 434.2 MB, free: 4.871 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 3.107e-05/0.4519, allocations: 4 kB / 434.2 MB, free: 4.867 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.993e-05/0.4519, allocations: 7.938 kB / 434.2 MB, free: 4.859 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 8.053e-05/0.452, allocations: 11.94 kB / 434.2 MB, free: 4.848 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 5.764e-05/0.452, allocations: 15.86 kB / 434.2 MB, free: 4.832 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001945/0.4522, allocations: 47.47 kB / 434.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.121e-06/0.4522, allocations: 0 / 434.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of FrontEnd: time 2.604e-06/0.4522, allocations: 0 / 434.3 MB, free: 4.789 MB / 334.1 MB Notification: Performance of Transformations before backend: time 7.634e-06/0.4522, allocations: 0 / 434.3 MB, free: 4.789 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0008384/0.4531, allocations: 301 kB / 434.6 MB, free: 4.465 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.097e-05/0.4531, allocations: 16.03 kB / 434.6 MB, free: 4.449 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.7e-05/0.4532, allocations: 8.891 kB / 434.6 MB, free: 4.441 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003884/0.4535, allocations: 126.4 kB / 434.7 MB, free: 4.293 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.992e-05/0.4536, allocations: 8.375 kB / 434.7 MB, free: 4.285 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.421e-05/0.4536, allocations: 8.312 kB / 434.7 MB, free: 4.277 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004552/0.454, allocations: 109.6 kB / 434.8 MB, free: 4.152 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.4541, allocations: 4.188 kB / 434.8 MB, free: 4.148 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.51e-05/0.4541, allocations: 3.938 kB / 434.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.104e-05/0.4541, allocations: 0 / 434.8 MB, free: 4.145 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001461/0.4542, allocations: 27.91 kB / 434.9 MB, free: 4.117 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005745/0.4548, allocations: 197.5 kB / 435.1 MB, free: 3.891 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003241/0.4551, allocations: 61.14 kB / 435.1 MB, free: 3.812 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001315/0.4553, allocations: 29.77 kB / 435.1 MB, free: 3.777 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.531e-05/0.4553, allocations: 3.938 kB / 435.1 MB, free: 3.773 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 7.049e-05/0.4554, allocations: 34.56 kB / 435.2 MB, free: 3.73 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 2.194e-06/0.4554, allocations: 4 kB / 435.2 MB, free: 3.727 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004543/0.4558, allocations: 77.55 kB / 435.3 MB, free: 3.645 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.424e-05/0.4559, allocations: 81.11 kB / 435.3 MB, free: 3.547 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002256/0.4561, allocations: 141.1 kB / 435.5 MB, free: 3.398 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.4562, allocations: 25.7 kB / 435.5 MB, free: 3.367 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.501e-05/0.4563, allocations: 88.14 kB / 435.6 MB, free: 3.277 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.407e-05/0.4563, allocations: 3.953 kB / 435.6 MB, free: 3.273 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.845e-05/0.4564, allocations: 21.7 kB / 435.6 MB, free: 3.246 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0002646/0.4566, allocations: 323 kB / 435.9 MB, free: 2.922 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.33e-05/0.4567, allocations: 7.984 kB / 435.9 MB, free: 2.914 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001055/0.4568, allocations: 31.62 kB / 436 MB, free: 2.871 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001698/0.457, allocations: 43.36 kB / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.115e-06/0.457, allocations: 0 / 436 MB, free: 2.816 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0002507/0.4572, allocations: 77.58 kB / 436.1 MB, free: 2.734 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.425e-05/0.4573, allocations: 4 kB / 436.1 MB, free: 2.73 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.238e-05/0.4573, allocations: 4 kB / 436.1 MB, free: 2.727 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.354e-05/0.4573, allocations: 3.984 kB / 436.1 MB, free: 2.723 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.565e-05/0.4574, allocations: 8 kB / 436.1 MB, free: 2.715 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.663e-05/0.4574, allocations: 7.922 kB / 436.1 MB, free: 2.707 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.404e-05/0.4575, allocations: 7.953 kB / 436.1 MB, free: 2.699 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.332e-05/0.4575, allocations: 4 kB / 436.1 MB, free: 2.695 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (4): * Single equations (assignments): 4 * 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.000157/0.4576, allocations: 122 kB / 436.2 MB, free: 2.566 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001274/0.4578, allocations: 45.62 kB / 436.3 MB, free: 2.516 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.501e-05/0.4578, allocations: 12.34 kB / 436.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.097e-06/0.4578, allocations: 0 / 436.3 MB, free: 2.496 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.747e-06/0.4578, allocations: 7.938 kB / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.639e-06/0.4578, allocations: 0 / 436.3 MB, free: 2.488 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002652/0.4581, allocations: 121.2 kB / 436.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.4581, allocations: 0 / 436.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.543e-05/0.4582, allocations: 11.94 kB / 436.4 MB, free: 2.328 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.354e-06/0.4582, allocations: 3.938 kB / 436.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.088e-05/0.4582, allocations: 0 / 436.4 MB, free: 2.324 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.761e-06/0.4582, allocations: 8 kB / 436.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.4582, allocations: 0 / 436.4 MB, free: 2.316 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003275/0.4586, allocations: 164.3 kB / 436.6 MB, free: 2.137 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.512e-05/0.4586, allocations: 15.92 kB / 436.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.152e-05/0.4586, allocations: 0 / 436.6 MB, free: 2.121 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001168/0.4588, allocations: 4 kB / 436.6 MB, free: 2.117 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.757e-05/0.4588, allocations: 3.984 kB / 436.6 MB, free: 2.113 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.237e-06/0.4588, allocations: 4 kB / 436.6 MB, free: 2.109 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001294/0.4589, allocations: 99.27 kB / 436.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.459, allocations: 0 / 436.7 MB, free: 2.012 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0004275/0.4594, allocations: 8 kB / 436.7 MB, free: 2.004 MB / 334.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (4): * Single equations (assignments): 4 * 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 0.0001597/0.4595, allocations: 103.1 kB / 436.8 MB, free: 1.895 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002387/0.4598, allocations: 27.97 kB / 436.9 MB, free: 1.867 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.836e-06/0.4598, allocations: 4 kB / 436.9 MB, free: 1.863 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 6.199e-05/0.4598, allocations: 11.94 kB / 436.9 MB, free: 1.852 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005596/0.4604, allocations: 22.77 kB / 436.9 MB, free: 1.832 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005361/0.4609, allocations: 158.7 kB / 437.1 MB, free: 1.648 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001348/0.4611, allocations: 71.33 kB / 437.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 4.171e-05/0.4611, allocations: 0 / 437.1 MB, free: 1.559 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.922e-05/0.4612, allocations: 15.38 kB / 437.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of SimCode: time 1.011e-06/0.4612, allocations: 0 / 437.1 MB, free: 1.543 MB / 334.1 MB Notification: Performance of Templates: time 0.005586/0.4667, allocations: 0.5757 MB / 437.7 MB, free: 0.9766 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -s cvode -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.442753848008579]