Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.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.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000913/0.000913, allocations: 180.9 kB / 16.38 MB, free: 5.766 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.271/1.271, allocations: 223.2 MB / 240.3 MB, free: 11.88 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.000829/0.0008289, allocations: 103.6 kB / 291.5 MB, free: 10.92 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.00026/0.00026, allocations: 7.938 kB / 351.1 MB, free: 15.32 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.2374, allocations: 50.4 MB / 401.5 MB, free: 32.61 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1283/0.3658, allocations: 76.9 MB / 478.4 MB, free: 3.605 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002789/0.3661, allocations: 84.92 kB / 478.5 MB, free: 3.523 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004125/0.3703, allocations: 1.413 MB / 479.9 MB, free: 2.121 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.795e-06/0.3703, allocations: 0 / 479.9 MB, free: 2.121 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.726e-05/0.3703, allocations: 0 / 479.9 MB, free: 2.121 MB / 346.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005072/0.3709, allocations: 363.1 kB / 480.3 MB, free: 1.719 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.726e-05/0.3709, allocations: 16.03 kB / 480.3 MB, free: 1.703 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.517e-05/0.371, allocations: 7.859 kB / 480.3 MB, free: 1.695 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002219/0.3712, allocations: 189.8 kB / 480.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.255e-05/0.3712, allocations: 0 / 480.5 MB, free: 1.473 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.599e-05/0.3712, allocations: 3.938 kB / 480.5 MB, free: 1.469 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002706/0.3715, allocations: 97.09 kB / 480.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.598e-06/0.3715, allocations: 0 / 480.6 MB, free: 1.355 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.232e-05/0.3716, allocations: 3.984 kB / 480.6 MB, free: 1.352 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.763e-06/0.3716, allocations: 3.953 kB / 480.6 MB, free: 1.348 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.554e-05/0.3717, allocations: 27.92 kB / 480.6 MB, free: 1.32 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003876/0.3721, allocations: 265.8 kB / 480.9 MB, free: 1.008 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.156e-05/0.3721, allocations: 41.16 kB / 480.9 MB, free: 0.9492 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.467e-05/0.3722, allocations: 7.938 kB / 480.9 MB, free: 0.9414 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.347e-05/0.3722, allocations: 38.61 kB / 480.9 MB, free: 0.8945 MB / 346.7 MB Notification: Performance of pre-optimization done (n=2): time 1.182e-06/0.3722, allocations: 4 kB / 480.9 MB, free: 0.8906 MB / 346.7 MB Notification: Performance of matching and sorting (n=2): time 0.000251/0.3725, allocations: 73.48 kB / 481 MB, free: 0.8125 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.734e-05/0.3725, allocations: 81.09 kB / 481.1 MB, free: 0.7148 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001218/0.3727, allocations: 121.2 kB / 481.2 MB, free: 0.5859 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.645e-05/0.3727, allocations: 29.69 kB / 481.2 MB, free: 0.5508 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.463e-05/0.3728, allocations: 92.39 kB / 481.3 MB, free: 468 kB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.461e-05/0.3728, allocations: 3.906 kB / 481.3 MB, free: 464 kB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.887e-06/0.3728, allocations: 0 / 481.3 MB, free: 464 kB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.0001252/0.3729, allocations: 314.8 kB / 481.6 MB, free: 140 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.311e-05/0.373, allocations: 15.92 kB / 481.7 MB, free: 124 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.913e-05/0.373, allocations: 21.66 kB / 481.7 MB, free: 96 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.222e-05/0.3731, allocations: 20.05 kB / 481.7 MB, free: 76 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.713e-06/0.3731, allocations: 0 / 481.7 MB, free: 76 kB / 346.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001205/0.3732, allocations: 53.69 kB / 481.8 MB, free: 16 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.882e-05/0.3732, allocations: 4 kB / 481.8 MB, free: 12 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.3733, allocations: 7.938 kB / 481.8 MB, free: 4 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.33e-05/0.3733, allocations: 8.109 kB / 481.8 MB, free: 15.99 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.683e-05/0.3734, allocations: 11.89 kB / 481.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.231e-06/0.3734, allocations: 0 / 481.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.695e-05/0.3734, allocations: 4 kB / 481.8 MB, free: 15.98 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.923e-06/0.3734, allocations: 0 / 481.8 MB, free: 15.98 MB / 362.7 MB Notification: Model statistics after passing the back-end for initialization: * 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 initialization (2): * Single equations (assignments): 2 * 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 9.183e-05/0.3735, allocations: 117.8 kB / 481.9 MB, free: 15.86 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.81e-05/0.3736, allocations: 37.61 kB / 481.9 MB, free: 15.81 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.427e-05/0.3736, allocations: 11.88 kB / 481.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.883e-06/0.3737, allocations: 4.031 kB / 482 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.825e-06/0.3737, allocations: 3.953 kB / 482 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.598e-06/0.3737, allocations: 3.984 kB / 482 MB, free: 15.79 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001689/0.3739, allocations: 161.7 kB / 482.1 MB, free: 15.58 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.435e-06/0.3739, allocations: 3.984 kB / 482.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.931e-05/0.3739, allocations: 7.938 kB / 482.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.3739, allocations: 0 / 482.1 MB, free: 15.57 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.488e-06/0.3739, allocations: 4 kB / 482.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.313e-06/0.3739, allocations: 0 / 482.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.92e-07/0.374, allocations: 0 / 482.1 MB, free: 15.56 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001845/0.3741, allocations: 178 kB / 482.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.504e-05/0.3742, allocations: 97 kB / 482.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.487e-05/0.3742, allocations: 0 / 482.4 MB, free: 15.25 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.603e-05/0.3743, allocations: 8.031 kB / 482.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.271e-05/0.3744, allocations: 3.953 kB / 482.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.388e-06/0.3744, allocations: 0 / 482.4 MB, free: 15.24 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.604e-05/0.3744, allocations: 113.5 kB / 482.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.41e-07/0.3744, allocations: 0 / 482.5 MB, free: 15.13 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002047/0.3747, allocations: 4 kB / 482.5 MB, free: 15.12 MB / 362.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 (2): * Single equations (assignments): 2 * 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.0001066/0.3748, allocations: 103.1 kB / 482.6 MB, free: 15.02 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001265/0.3749, allocations: 31.98 kB / 482.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.924e-06/0.3749, allocations: 3.938 kB / 482.7 MB, free: 14.98 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.917e-05/0.375, allocations: 7.984 kB / 482.7 MB, free: 14.97 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000235/0.3752, allocations: 14.95 kB / 482.7 MB, free: 14.96 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003668/0.3756, allocations: 185.9 kB / 482.9 MB, free: 14.75 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000292/0.3759, allocations: 0.6887 MB / 483.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.05e-05/0.3759, allocations: 0 / 483.6 MB, free: 14.03 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.793e-05/0.3759, allocations: 11.44 kB / 483.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of SimCode: time 2.31e-07/0.376, allocations: 0 / 483.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of Templates: time 0.002341/0.3783, allocations: 421.4 kB / 484 MB, free: 13.61 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleClocked/SampleClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches