Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample3,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|sample2.y|hold1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001567/0.001567, allocations: 177.1 kB / 8.35 MB, free: 0.7266 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.418/1.418, allocations: 221.5 MB / 230.3 MB, free: 7.566 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009462/0.0009463, allocations: 77.77 kB / 281.2 MB, free: 5.32 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.429e-05/2.438e-05, allocations: 8 kB / 337 MB, free: 10.02 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1184/0.1185, allocations: 50.43 MB / 387.5 MB, free: 7.555 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3274/0.4459, allocations: 76.34 MB / 463.8 MB, free: 2.508 MB / 330.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002174/0.4461, allocations: 71.95 kB / 463.9 MB, free: 2.438 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003557/0.4497, allocations: 1.421 MB / 465.3 MB, free: 1.023 MB / 330.7 MB Notification: Performance of FrontEnd: time 1.372e-06/0.4497, allocations: 0 / 465.3 MB, free: 1.023 MB / 330.7 MB Notification: Performance of Transformations before backend: time 1.235e-05/0.4497, allocations: 7.984 kB / 465.3 MB, free: 1.016 MB / 330.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0003398/0.4501, allocations: 359 kB / 465.7 MB, free: 0.6211 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.4501, allocations: 12.03 kB / 465.7 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.632e-05/0.4502, allocations: 11.86 kB / 465.7 MB, free: 0.5977 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001906/0.4504, allocations: 195.9 kB / 465.9 MB, free: 376 kB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.248e-05/0.4504, allocations: 0 / 465.9 MB, free: 376 kB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.498e-05/0.4504, allocations: 7.938 kB / 465.9 MB, free: 368 kB / 330.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 9.647e-05/0.4505, allocations: 28 kB / 465.9 MB, free: 340 kB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002538/0.4508, allocations: 143.1 kB / 466.1 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.4508, allocations: 0 / 466.1 MB, free: 176 kB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.4508, allocations: 3.953 kB / 466.1 MB, free: 172 kB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.699e-06/0.4508, allocations: 4 kB / 466.1 MB, free: 168 kB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000386/0.4512, allocations: 342.5 kB / 466.4 MB, free: 15.79 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001893/0.4514, allocations: 103.9 kB / 466.5 MB, free: 15.66 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.497e-05/0.4515, allocations: 46.7 kB / 466.5 MB, free: 15.6 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.394e-05/0.4515, allocations: 8.141 kB / 466.5 MB, free: 15.59 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.46e-05/0.4516, allocations: 38.5 kB / 466.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of pre-optimization done (n=10): time 1.202e-06/0.4516, allocations: 0 / 466.6 MB, free: 15.55 MB / 346.7 MB Notification: Performance of matching and sorting (n=10): time 0.0002015/0.4518, allocations: 85.53 kB / 466.7 MB, free: 15.46 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.611e-05/0.4518, allocations: 110.8 kB / 466.8 MB, free: 15.32 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001096/0.452, allocations: 126.5 kB / 466.9 MB, free: 15.19 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.369e-05/0.452, allocations: 25.7 kB / 466.9 MB, free: 15.16 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.688e-05/0.452, allocations: 88.7 kB / 467 MB, free: 15.07 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.581e-05/0.4521, allocations: 11.83 kB / 467 MB, free: 15.06 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.586e-06/0.4521, allocations: 4 kB / 467 MB, free: 15.05 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001367/0.4522, allocations: 318.9 kB / 467.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.115e-05/0.4522, allocations: 8 kB / 467.3 MB, free: 14.73 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.903e-05/0.4523, allocations: 71.59 kB / 467.4 MB, free: 14.63 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.35e-05/0.4523, allocations: 19.94 kB / 467.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.044e-06/0.4523, allocations: 0 / 467.4 MB, free: 14.61 MB / 346.7 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001257/0.4525, allocations: 81.55 kB / 467.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.444e-05/0.4525, allocations: 8.281 kB / 467.5 MB, free: 14.52 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.469e-06/0.4525, allocations: 4 kB / 467.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.4525, allocations: 4 kB / 467.5 MB, free: 14.51 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.747e-05/0.4526, allocations: 23.89 kB / 467.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.005e-06/0.4526, allocations: 7.984 kB / 467.6 MB, free: 14.48 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.062e-05/0.4527, allocations: 11.89 kB / 467.6 MB, free: 14.46 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.075e-06/0.4527, allocations: 4 kB / 467.6 MB, free: 14.46 MB / 346.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 9 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.454e-05/0.4528, allocations: 105 kB / 467.7 MB, free: 14.35 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001179/0.4529, allocations: 73.53 kB / 467.8 MB, free: 14.27 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.597e-05/0.4529, allocations: 16.62 kB / 467.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.354e-06/0.4529, allocations: 0 / 467.8 MB, free: 14.26 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.121e-06/0.453, allocations: 3.953 kB / 467.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.079e-06/0.453, allocations: 4 kB / 467.8 MB, free: 14.25 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001941/0.4532, allocations: 154.1 kB / 467.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.686e-06/0.4532, allocations: 4 kB / 467.9 MB, free: 14.06 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.841e-05/0.4533, allocations: 23.98 kB / 468 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.565e-06/0.4533, allocations: 0 / 468 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.163e-06/0.4533, allocations: 0 / 468 MB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.226e-06/0.4533, allocations: 4 kB / 468 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.4533, allocations: 4 kB / 468 MB, free: 14.03 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000302/0.4536, allocations: 319.6 kB / 468.3 MB, free: 13.68 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.684e-05/0.4537, allocations: 104.9 kB / 468.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.466e-05/0.4537, allocations: 0 / 468.4 MB, free: 13.56 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.413e-05/0.4538, allocations: 4 kB / 468.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.707e-05/0.4538, allocations: 7.984 kB / 468.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.919e-06/0.4538, allocations: 0 / 468.4 MB, free: 13.55 MB / 346.7 MB Notification: Performance of sorting global known variables: time 6.234e-05/0.4539, allocations: 104.7 kB / 468.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.4539, allocations: 288 / 468.5 MB, free: 13.45 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000337/0.4543, allocations: 8 kB / 468.5 MB, free: 13.44 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 10 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001107/0.4544, allocations: 107.2 kB / 468.6 MB, free: 13.32 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.4545, allocations: 43.88 kB / 468.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.4545, allocations: 0 / 468.6 MB, free: 13.28 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 1.337e-05/0.4545, allocations: 7.938 kB / 468.7 MB, free: 13.27 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002821/0.4548, allocations: 39.91 kB / 468.7 MB, free: 13.23 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002701/0.4551, allocations: 135.7 kB / 468.8 MB, free: 13.07 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002738/0.4554, allocations: 0.7079 MB / 469.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 2.908e-05/0.4554, allocations: 4.656 kB / 469.5 MB, free: 12.34 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.252e-05/0.4554, allocations: 11.44 kB / 469.6 MB, free: 12.32 MB / 346.7 MB Notification: Performance of SimCode: time 2.61e-07/0.4555, allocations: 4 kB / 469.6 MB, free: 12.32 MB / 346.7 MB Notification: Performance of Templates: time 0.002347/0.4578, allocations: 0.5731 MB / 470.1 MB, free: 11.75 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample3/Sample3.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample3.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches