Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001026/0.001026, allocations: 198.3 kB / 17.08 MB, free: 5.078 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.194/1.194, allocations: 227.2 MB / 245 MB, free: 7.555 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008517/0.0008517, allocations: 95.78 kB / 297.3 MB, free: 6.172 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002016/0.0002017, allocations: 8 kB / 357.9 MB, free: 9.527 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1807/0.1809, allocations: 51.48 MB / 409.4 MB, free: 26.72 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.08311/0.264, allocations: 77.89 MB / 487.3 MB, free: 12.73 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002441/0.2643, allocations: 75.95 kB / 487.4 MB, free: 12.66 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004053/0.2684, allocations: 1.577 MB / 489 MB, free: 11.09 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.2684, allocations: 0 / 489 MB, free: 11.09 MB / 362.7 MB Notification: Performance of Transformations before backend: time 9.168e-06/0.2684, allocations: 4 kB / 489 MB, free: 11.09 MB / 362.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.0003338/0.2688, allocations: 375 kB / 489.3 MB, free: 10.67 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.463e-05/0.2688, allocations: 9.719 kB / 489.3 MB, free: 10.66 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001193/0.2689, allocations: 15.91 kB / 489.3 MB, free: 10.65 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000161/0.2691, allocations: 183 kB / 489.5 MB, free: 10.43 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.048e-05/0.2691, allocations: 8 kB / 489.5 MB, free: 10.42 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.267e-05/0.2691, allocations: 15.89 kB / 489.5 MB, free: 10.41 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002435/0.2694, allocations: 112.9 kB / 489.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.154e-06/0.2694, allocations: 0 / 489.7 MB, free: 10.28 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.814e-06/0.2694, allocations: 4 kB / 489.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.881e-06/0.2694, allocations: 4 kB / 489.7 MB, free: 10.27 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.745e-05/0.2695, allocations: 19.98 kB / 489.7 MB, free: 10.25 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003195/0.2699, allocations: 277.7 kB / 490 MB, free: 9.926 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000177/0.27, allocations: 138.2 kB / 490.1 MB, free: 9.754 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.895e-05/0.2701, allocations: 4.062 kB / 490.1 MB, free: 9.75 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.771e-05/0.2701, allocations: 38.5 kB / 490.1 MB, free: 9.703 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 1.202e-06/0.2701, allocations: 0 / 490.1 MB, free: 9.703 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.000242/0.2704, allocations: 89.59 kB / 490.2 MB, free: 9.609 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.182e-05/0.2704, allocations: 81.11 kB / 490.3 MB, free: 9.512 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.64e-05/0.2705, allocations: 129.1 kB / 490.4 MB, free: 9.375 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.921e-05/0.2705, allocations: 25.7 kB / 490.5 MB, free: 9.344 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.549e-05/0.2706, allocations: 88.14 kB / 490.5 MB, free: 9.254 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.124e-05/0.2706, allocations: 8.031 kB / 490.5 MB, free: 9.246 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.564e-06/0.2706, allocations: 0 / 490.5 MB, free: 9.246 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.304e-05/0.2707, allocations: 318.8 kB / 490.9 MB, free: 8.926 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.885e-05/0.2708, allocations: 8 kB / 490.9 MB, free: 8.918 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.283e-05/0.2708, allocations: 35.42 kB / 490.9 MB, free: 8.871 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.52e-05/0.2709, allocations: 23.98 kB / 490.9 MB, free: 8.848 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.083e-06/0.2709, allocations: 0 / 490.9 MB, free: 8.848 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001275/0.271, allocations: 73.52 kB / 491 MB, free: 8.77 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.322e-05/0.271, allocations: 6.656 kB / 491 MB, free: 8.766 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.238e-06/0.271, allocations: 4.125 kB / 491 MB, free: 8.762 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.292e-05/0.2711, allocations: 8 kB / 491 MB, free: 8.754 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.192e-05/0.2711, allocations: 12.27 kB / 491 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.819e-06/0.2711, allocations: 0 / 491 MB, free: 8.742 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.165e-05/0.2712, allocations: 7.938 kB / 491 MB, free: 8.734 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.352e-06/0.2712, allocations: 0 / 491 MB, free: 8.734 MB / 362.7 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.067e-05/0.2713, allocations: 121.8 kB / 491.2 MB, free: 8.605 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.134e-05/0.2714, allocations: 61.47 kB / 491.2 MB, free: 8.539 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.063e-05/0.2714, allocations: 12.25 kB / 491.2 MB, free: 8.516 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.256e-06/0.2714, allocations: 4 kB / 491.2 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.376e-06/0.2714, allocations: 0 / 491.2 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.657e-06/0.2714, allocations: 0 / 491.2 MB, free: 8.512 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001576/0.2716, allocations: 165.7 kB / 491.4 MB, free: 8.301 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.322e-06/0.2716, allocations: 4 kB / 491.4 MB, free: 8.297 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.535e-05/0.2717, allocations: 11.98 kB / 491.4 MB, free: 8.285 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.2717, allocations: 3.953 kB / 491.4 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.693e-06/0.2717, allocations: 0 / 491.4 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.317e-06/0.2717, allocations: 0 / 491.4 MB, free: 8.281 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.775e-06/0.2717, allocations: 11.94 kB / 491.4 MB, free: 8.27 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000177/0.2719, allocations: 182 kB / 491.6 MB, free: 8.066 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.49e-05/0.272, allocations: 96.95 kB / 491.7 MB, free: 7.953 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.338e-05/0.272, allocations: 4 kB / 491.7 MB, free: 7.949 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.442e-05/0.2721, allocations: 8 kB / 491.7 MB, free: 7.941 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.335e-05/0.2721, allocations: 3.984 kB / 491.7 MB, free: 7.938 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.647e-06/0.2721, allocations: 0 / 491.7 MB, free: 7.938 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.131e-05/0.2722, allocations: 103.3 kB / 491.8 MB, free: 7.836 MB / 362.7 MB Notification: Performance of sort global known variables: time 2.2e-07/0.2722, allocations: 0 / 491.8 MB, free: 7.836 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.00021/0.2724, allocations: 8 kB / 491.8 MB, free: 7.828 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 (4): * Single equations (assignments): 4 * 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 9.661e-05/0.2725, allocations: 99.23 kB / 491.9 MB, free: 7.723 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001321/0.2726, allocations: 39.92 kB / 492 MB, free: 7.684 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.2726, allocations: 3.938 kB / 492 MB, free: 7.68 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.686e-05/0.2727, allocations: 11.98 kB / 492 MB, free: 7.668 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002076/0.2729, allocations: 26.2 kB / 492 MB, free: 7.645 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003053/0.2732, allocations: 193.6 kB / 492.2 MB, free: 7.426 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002258/0.2734, allocations: 0.6926 MB / 492.9 MB, free: 6.707 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.235e-05/0.2735, allocations: 7.984 kB / 492.9 MB, free: 6.699 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.184e-05/0.2735, allocations: 11.44 kB / 492.9 MB, free: 6.688 MB / 362.7 MB Notification: Performance of SimCode: time 4.2e-07/0.2735, allocations: 4 kB / 492.9 MB, free: 6.684 MB / 362.7 MB Notification: Performance of Templates: time 0.00207/0.2756, allocations: 468.9 kB / 493.4 MB, free: 6.238 MB / 362.7 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches