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.001371/0.001371, allocations: 79.91 kB / 21.18 MB, free: 3.391 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.0009248/0.0009248, allocations: 145.1 kB / 24.54 MB, free: 32 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 0.9447/0.9447, allocations: 173.4 MB / 201.1 MB, free: 9.328 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.823e-06/1.823e-06, allocations: 0 / 268 MB, free: 6.422 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.263e-05/2.446e-05, allocations: 6.25 kB / 268 MB, free: 6.414 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1): time 0.002015/0.00204, allocations: 1.616 MB / 269.6 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006973/0.002737, allocations: 474.6 kB / 270.1 MB, free: 4.316 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.191e-05/0.002829, allocations: 4 kB / 270.1 MB, free: 4.312 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 5.37e-05/0.002883, allocations: 7.875 kB / 270.1 MB, free: 4.305 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 0.000156/0.003039, allocations: 7.922 kB / 270.1 MB, free: 4.297 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002325/0.003271, allocations: 39.78 kB / 270.1 MB, free: 4.258 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.966e-05/0.003371, allocations: 47.78 kB / 270.2 MB, free: 4.211 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001024/0.003473, allocations: 15.98 kB / 270.2 MB, free: 4.195 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 8.353e-05/0.003557, allocations: 23.97 kB / 270.2 MB, free: 4.172 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.282e-05/0.00361, allocations: 15.92 kB / 270.2 MB, free: 4.156 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.073e-05/0.00363, allocations: 4 kB / 270.2 MB, free: 4.152 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.505e-05/0.003646, allocations: 4 kB / 270.3 MB, free: 4.148 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 5.523e-05/0.003701, allocations: 11.94 kB / 270.3 MB, free: 4.137 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.9e-05/0.00374, allocations: 19.91 kB / 270.3 MB, free: 4.117 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001222/0.003862, allocations: 39.83 kB / 270.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.003864, allocations: 0 / 270.3 MB, free: 4.078 MB / 250.7 MB Notification: Performance of FrontEnd: time 2.104e-06/0.003866, allocations: 7.938 kB / 270.3 MB, free: 4.07 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.729e-06/0.003871, allocations: 0 / 270.3 MB, free: 4.07 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.0004021/0.004273, allocations: 392.4 kB / 270.7 MB, free: 3.652 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.829e-05/0.004311, allocations: 8.922 kB / 270.7 MB, free: 3.645 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.01e-05/0.004352, allocations: 20.89 kB / 270.7 MB, free: 3.625 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001595/0.004511, allocations: 143.2 kB / 270.9 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.167e-06/0.00452, allocations: 384 / 270.9 MB, free: 3.461 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.004533, allocations: 4.375 kB / 270.9 MB, free: 3.457 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002455/0.004778, allocations: 129.5 kB / 271 MB, free: 3.305 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.618e-06/0.004788, allocations: 4.188 kB / 271 MB, free: 3.301 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.06e-05/0.004798, allocations: 4.375 kB / 271 MB, free: 3.297 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.628e-06/0.004808, allocations: 3.938 kB / 271 MB, free: 3.293 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.227e-05/0.00483, allocations: 4 kB / 271 MB, free: 3.289 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002527/0.005083, allocations: 263.5 kB / 271.3 MB, free: 2.992 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001336/0.005216, allocations: 70.11 kB / 271.4 MB, free: 2.898 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.708e-05/0.005254, allocations: 31.42 kB / 271.4 MB, free: 2.859 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.808e-05/0.005272, allocations: 0 / 271.4 MB, free: 2.859 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.487e-05/0.005296, allocations: 49.27 kB / 271.4 MB, free: 2.801 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 9.31e-07/0.005297, allocations: 0 / 271.4 MB, free: 2.801 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001475/0.005445, allocations: 61.58 kB / 271.5 MB, free: 2.734 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.272e-05/0.005488, allocations: 81.11 kB / 271.6 MB, free: 2.637 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.289e-05/0.005581, allocations: 189.9 kB / 271.8 MB, free: 2.434 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.029e-05/0.005591, allocations: 25.7 kB / 271.8 MB, free: 2.402 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.151e-05/0.005642, allocations: 146.8 kB / 271.9 MB, free: 2.254 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.442e-05/0.005657, allocations: 0 / 271.9 MB, free: 2.254 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.367e-05/0.00569, allocations: 19.38 kB / 271.9 MB, free: 2.227 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001223/0.005813, allocations: 496.1 kB / 272.4 MB, free: 1.73 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.38e-05/0.005827, allocations: 3.984 kB / 272.4 MB, free: 1.727 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.005e-06/0.005835, allocations: 4.125 kB / 272.4 MB, free: 1.723 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.243e-05/0.005857, allocations: 11.75 kB / 272.5 MB, free: 1.707 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.005859, allocations: 0 / 272.5 MB, free: 1.707 MB / 250.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.033e-05/0.005909, allocations: 41.59 kB / 272.5 MB, free: 1.66 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.47e-05/0.005924, allocations: 7.938 kB / 272.5 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.761e-06/0.00593, allocations: 0 / 272.5 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.95e-05/0.005949, allocations: 192 / 272.5 MB, free: 1.652 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.875e-05/0.006008, allocations: 7.984 kB / 272.5 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.882e-06/0.006014, allocations: 0 / 272.5 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.597e-05/0.00603, allocations: 0 / 272.5 MB, free: 1.645 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.993e-06/0.006037, allocations: 8.031 kB / 272.5 MB, free: 1.637 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 7.404e-05/0.006111, allocations: 156.6 kB / 272.7 MB, free: 1.473 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.792e-05/0.006159, allocations: 53.56 kB / 272.7 MB, free: 1.414 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.825e-05/0.006197, allocations: 12.34 kB / 272.7 MB, free: 1.395 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.074e-06/0.006199, allocations: 3.938 kB / 272.7 MB, free: 1.391 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.647e-06/0.006203, allocations: 0 / 272.7 MB, free: 1.391 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.078e-06/0.006207, allocations: 0 / 272.7 MB, free: 1.391 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001034/0.00631, allocations: 132.6 kB / 272.9 MB, free: 1.227 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.016e-06/0.006313, allocations: 4 kB / 272.9 MB, free: 1.223 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.202e-05/0.006345, allocations: 8 kB / 272.9 MB, free: 1.215 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.006349, allocations: 4 kB / 272.9 MB, free: 1.211 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.006359, allocations: 3.938 kB / 272.9 MB, free: 1.207 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.81e-07/0.00636, allocations: 0 / 272.9 MB, free: 1.207 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.11e-07/0.00636, allocations: 0 / 272.9 MB, free: 1.207 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001147/0.006475, allocations: 215.6 kB / 273.1 MB, free: 0.9727 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.885e-05/0.006504, allocations: 15.88 kB / 273.1 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.511e-05/0.006519, allocations: 11.88 kB / 273.1 MB, free: 0.9453 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.379e-05/0.006552, allocations: 3.984 kB / 273.1 MB, free: 0.9414 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.832e-05/0.006591, allocations: 4 kB / 273.1 MB, free: 0.9375 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.418e-06/0.006595, allocations: 4 kB / 273.1 MB, free: 0.9336 MB / 250.7 MB Notification: Performance of sorting global known variables: time 5.475e-05/0.00665, allocations: 142 kB / 273.3 MB, free: 0.7969 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.00665, allocations: 7.938 kB / 273.3 MB, free: 0.7891 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001419/0.006792, allocations: 4 kB / 273.3 MB, free: 0.7852 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 7.713e-05/0.006869, allocations: 99.23 kB / 273.4 MB, free: 0.6797 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 8.447e-05/0.006954, allocations: 15.69 kB / 273.4 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.092e-06/0.006955, allocations: 0 / 273.4 MB, free: 0.6602 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 1.386e-05/0.006968, allocations: 15.62 kB / 273.4 MB, free: 0.6406 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002409/0.007209, allocations: 20.86 kB / 273.4 MB, free: 0.6172 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004504/0.00766, allocations: 172.8 kB / 273.6 MB, free: 428 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.799e-05/0.007698, allocations: 59.34 kB / 273.7 MB, free: 348 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.854e-05/0.007716, allocations: 4 kB / 273.7 MB, free: 344 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.545e-05/0.007742, allocations: 8.5 kB / 273.7 MB, free: 336 kB / 250.7 MB Notification: Performance of SimCode: time 7.01e-07/0.007742, allocations: 0 / 273.7 MB, free: 336 kB / 250.7 MB Notification: Performance of Templates: time 0.002641/0.01038, allocations: 0.5746 MB / 274.2 MB, free: 15.76 MB / 266.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.6705047469586134]