Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.0009456/0.0009456, allocations: 80.72 kB / 22.21 MB, free: 2.293 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.0008867/0.0008867, allocations: 148.5 kB / 25.6 MB, free: 8.609 MB / 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 0.9883/0.9883, allocations: 173.4 MB / 202.3 MB, free: 8.285 MB / 186.7 MB " [Timeout remaining time 179] 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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.403e-06/1.403e-06, allocations: 0 / 269.2 MB, free: 9.773 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.153e-05/1.294e-05, allocations: 2.312 kB / 269.2 MB, free: 9.77 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.001781/0.001794, allocations: 1.619 MB / 270.8 MB, free: 8.156 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005462/0.00234, allocations: 459.9 kB / 271.3 MB, free: 7.703 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.695e-05/0.002407, allocations: 4.625 kB / 271.3 MB, free: 7.699 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 4.141e-05/0.002449, allocations: 3.938 kB / 271.3 MB, free: 7.695 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001105/0.002559, allocations: 21.83 kB / 271.3 MB, free: 7.676 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001752/0.002734, allocations: 35.84 kB / 271.3 MB, free: 7.641 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.835e-05/0.002813, allocations: 43.84 kB / 271.4 MB, free: 7.598 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.993e-05/0.002883, allocations: 15.92 kB / 271.4 MB, free: 7.582 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.473e-05/0.002947, allocations: 25.31 kB / 271.4 MB, free: 7.559 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.023e-05/0.002988, allocations: 15.92 kB / 271.4 MB, free: 7.543 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.412e-05/0.003002, allocations: 4 kB / 271.4 MB, free: 7.539 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.415e-06/0.00301, allocations: 4 kB / 271.4 MB, free: 7.535 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 3.81e-05/0.003048, allocations: 16.55 kB / 271.5 MB, free: 7.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.108e-05/0.003069, allocations: 11.98 kB / 271.5 MB, free: 7.508 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.431e-05/0.003154, allocations: 44.36 kB / 271.5 MB, free: 7.465 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.292e-06/0.003155, allocations: 1.031 kB / 271.5 MB, free: 7.465 MB / 250.7 MB Notification: Performance of FrontEnd: time 5.31e-07/0.003155, allocations: 3.938 kB / 271.5 MB, free: 7.461 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.176e-06/0.003159, allocations: 0 / 271.5 MB, free: 7.461 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003044/0.003463, allocations: 393.7 kB / 271.9 MB, free: 7.043 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.544e-05/0.003488, allocations: 12.03 kB / 271.9 MB, free: 7.031 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.003515, allocations: 8.891 kB / 271.9 MB, free: 7.023 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001215/0.003636, allocations: 151.9 kB / 272.1 MB, free: 6.852 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.404e-06/0.003643, allocations: 4.312 kB / 272.1 MB, free: 6.848 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.597e-06/0.003652, allocations: 8.375 kB / 272.1 MB, free: 6.84 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001522/0.003804, allocations: 123.1 kB / 272.2 MB, free: 6.695 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.881e-06/0.00381, allocations: 0.9375 kB / 272.2 MB, free: 6.695 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.004e-06/0.003817, allocations: 4.359 kB / 272.2 MB, free: 6.691 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.23e-06/0.003822, allocations: 4.438 kB / 272.2 MB, free: 6.688 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.476e-05/0.003837, allocations: 8 kB / 272.2 MB, free: 6.68 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001775/0.004015, allocations: 248.1 kB / 272.5 MB, free: 6.406 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.656e-05/0.004111, allocations: 74.22 kB / 272.5 MB, free: 6.309 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.45e-05/0.004136, allocations: 23.31 kB / 272.6 MB, free: 6.277 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.164e-05/0.004147, allocations: 0 / 272.6 MB, free: 6.277 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.83e-05/0.004166, allocations: 41.39 kB / 272.6 MB, free: 6.227 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.62e-07/0.004166, allocations: 0 / 272.6 MB, free: 6.227 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001082/0.004274, allocations: 57.52 kB / 272.7 MB, free: 6.164 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.779e-05/0.004312, allocations: 89.22 kB / 272.7 MB, free: 6.059 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.404e-05/0.004386, allocations: 185.9 kB / 272.9 MB, free: 5.859 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.716e-06/0.004395, allocations: 33.7 kB / 273 MB, free: 5.82 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.121e-05/0.004436, allocations: 134.8 kB / 273.1 MB, free: 5.684 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.759e-06/0.004446, allocations: 0 / 273.1 MB, free: 5.684 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.287e-05/0.004469, allocations: 23.38 kB / 273.1 MB, free: 5.652 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 9.611e-05/0.004565, allocations: 0.4883 MB / 273.6 MB, free: 5.152 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.003e-06/0.004572, allocations: 4 kB / 273.6 MB, free: 5.148 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.511e-06/0.004577, allocations: 0 / 273.6 MB, free: 5.148 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.791e-05/0.004595, allocations: 15.62 kB / 273.6 MB, free: 5.129 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.232e-06/0.004597, allocations: 4.062 kB / 273.6 MB, free: 5.125 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 3.654e-05/0.004633, allocations: 37.64 kB / 273.7 MB, free: 5.082 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.062e-05/0.004644, allocations: 4 kB / 273.7 MB, free: 5.078 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.838e-06/0.004648, allocations: 7.938 kB / 273.7 MB, free: 5.07 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 7.755e-06/0.004655, allocations: 0 / 273.7 MB, free: 5.07 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.151e-05/0.004687, allocations: 0 / 273.7 MB, free: 5.07 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.814e-06/0.004689, allocations: 0 / 273.7 MB, free: 5.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.573e-05/0.004704, allocations: 4 kB / 273.7 MB, free: 5.066 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.087e-06/0.004709, allocations: 0 / 273.7 MB, free: 5.066 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (1): * Single equations (assignments): 1 * 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 5.369e-05/0.004762, allocations: 152.6 kB / 273.8 MB, free: 4.906 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.848e-05/0.004801, allocations: 57.61 kB / 273.9 MB, free: 4.844 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.878e-05/0.004829, allocations: 16.28 kB / 273.9 MB, free: 4.82 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.296e-06/0.004833, allocations: 3.984 kB / 273.9 MB, free: 4.816 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.512e-06/0.004834, allocations: 0 / 273.9 MB, free: 4.816 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.315e-06/0.004837, allocations: 0 / 273.9 MB, free: 4.816 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.336e-05/0.00492, allocations: 101.2 kB / 274 MB, free: 4.691 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.004922, allocations: 3.984 kB / 274 MB, free: 4.688 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.213e-05/0.004944, allocations: 8 kB / 274 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.193e-06/0.004945, allocations: 0 / 274 MB, free: 4.68 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.661e-06/0.004951, allocations: 8 kB / 274 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.12e-07/0.004951, allocations: 0 / 274 MB, free: 4.672 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.613e-06/0.004953, allocations: 7.938 kB / 274 MB, free: 4.664 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.816e-05/0.005031, allocations: 203.5 kB / 274.2 MB, free: 4.441 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.516e-05/0.005056, allocations: 20.09 kB / 274.3 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.945e-06/0.005064, allocations: 0 / 274.3 MB, free: 4.422 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.176e-05/0.005096, allocations: 4 kB / 274.3 MB, free: 4.418 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.957e-05/0.005115, allocations: 11.92 kB / 274.3 MB, free: 4.406 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.754e-06/0.005117, allocations: 0 / 274.3 MB, free: 4.406 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.951e-05/0.005157, allocations: 141.2 kB / 274.4 MB, free: 4.27 MB / 250.7 MB Notification: Performance of sort global known variables: time 6e-08/0.005157, allocations: 0 / 274.4 MB, free: 4.27 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001324/0.005289, allocations: 4 kB / 274.4 MB, free: 4.266 MB / 250.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: 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 5.606e-05/0.005345, allocations: 99.28 kB / 274.5 MB, free: 4.16 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.405e-05/0.005399, allocations: 23.56 kB / 274.5 MB, free: 4.133 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 9.22e-07/0.0054, allocations: 4 kB / 274.5 MB, free: 4.129 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.174e-05/0.005412, allocations: 11.67 kB / 274.5 MB, free: 4.113 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002066/0.005619, allocations: 16.88 kB / 274.6 MB, free: 4.094 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003294/0.005948, allocations: 176.8 kB / 274.7 MB, free: 3.891 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.515e-05/0.005983, allocations: 63.34 kB / 274.8 MB, free: 3.809 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.89e-05/0.006002, allocations: 7.984 kB / 274.8 MB, free: 3.801 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.473e-05/0.006047, allocations: 70.2 kB / 274.9 MB, free: 3.73 MB / 250.7 MB Notification: Performance of SimCode: time 7.22e-07/0.006047, allocations: 0 / 274.9 MB, free: 3.73 MB / 250.7 MB Notification: Performance of Templates: time 0.00186/0.007908, allocations: 0.601 MB / 275.5 MB, free: 3.141 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.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.560421386733651]