Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.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.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001664/0.001664, allocations: 175.1 kB / 13.63 MB, free: 1.684 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.249/1.249, allocations: 221.3 MB / 235.5 MB, free: 2.945 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.0008806/0.0008808, allocations: 83.2 kB / 286.5 MB, free: 236 kB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 2.11e-05/2.112e-05, allocations: 0 / 343.8 MB, free: 4.305 MB / 234.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09092/0.09096, allocations: 50.42 MB / 394.3 MB, free: 1.848 MB / 282.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.2757/0.3667, allocations: 76.6 MB / 470.8 MB, free: 10.96 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001994/0.367, allocations: 79.95 kB / 470.9 MB, free: 10.88 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002684/0.3696, allocations: 1.017 MB / 471.9 MB, free: 9.871 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.312e-06/0.3697, allocations: 0 / 471.9 MB, free: 9.871 MB / 346.7 MB Notification: Performance of Transformations before backend: time 9.278e-06/0.3697, allocations: 0 / 471.9 MB, free: 9.871 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.000282/0.37, allocations: 335.1 kB / 472.3 MB, free: 9.5 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.37, allocations: 8.031 kB / 472.3 MB, free: 9.492 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.308e-05/0.3701, allocations: 11.86 kB / 472.3 MB, free: 9.48 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001492/0.3702, allocations: 183 kB / 472.5 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.3702, allocations: 0 / 472.5 MB, free: 9.262 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.319e-05/0.3703, allocations: 4 kB / 472.5 MB, free: 9.258 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002179/0.3705, allocations: 101.8 kB / 472.6 MB, free: 9.148 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.951e-06/0.3705, allocations: 4 kB / 472.6 MB, free: 9.145 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.536e-06/0.3705, allocations: 4 kB / 472.6 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.3705, allocations: 0 / 472.6 MB, free: 9.141 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.635e-05/0.3706, allocations: 19.89 kB / 472.6 MB, free: 9.121 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001185/0.3707, allocations: 161.7 kB / 472.8 MB, free: 8.914 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.799e-05/0.3708, allocations: 42.56 kB / 472.8 MB, free: 8.863 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.825e-05/0.3708, allocations: 20.89 kB / 472.8 MB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.622e-05/0.3709, allocations: 0 / 472.8 MB, free: 8.84 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.96e-05/0.3709, allocations: 34.56 kB / 472.9 MB, free: 8.797 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.92e-07/0.3709, allocations: 0 / 472.9 MB, free: 8.797 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001282/0.371, allocations: 57.77 kB / 472.9 MB, free: 8.734 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.969e-05/0.3711, allocations: 51.41 kB / 473 MB, free: 8.672 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.108e-05/0.3712, allocations: 108.9 kB / 473.1 MB, free: 8.559 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.12e-05/0.3712, allocations: 25.7 kB / 473.1 MB, free: 8.527 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.723e-05/0.3712, allocations: 84.14 kB / 473.2 MB, free: 8.441 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.699e-06/0.3712, allocations: 0 / 473.2 MB, free: 8.441 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.347e-06/0.3712, allocations: 8 kB / 473.2 MB, free: 8.434 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 9.301e-05/0.3713, allocations: 314.8 kB / 473.5 MB, free: 8.117 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.728e-06/0.3714, allocations: 0 / 473.5 MB, free: 8.117 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.461e-05/0.3714, allocations: 31.42 kB / 473.5 MB, free: 8.074 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.823e-05/0.3714, allocations: 15.94 kB / 473.5 MB, free: 8.059 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.136e-06/0.3714, allocations: 0 / 473.5 MB, free: 8.059 MB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.218e-05/0.3715, allocations: 61.47 kB / 473.6 MB, free: 7.992 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.181e-05/0.3715, allocations: 4 kB / 473.6 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.477e-06/0.3715, allocations: 0 / 473.6 MB, free: 7.988 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.3715, allocations: 4 kB / 473.6 MB, free: 7.984 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.241e-05/0.3716, allocations: 4 kB / 473.6 MB, free: 7.98 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.264e-06/0.3716, allocations: 4 kB / 473.6 MB, free: 7.977 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/0.3716, allocations: 4 kB / 473.6 MB, free: 7.973 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.769e-06/0.3716, allocations: 8.453 kB / 473.6 MB, free: 7.965 MB / 346.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 () * 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 5.711e-05/0.3717, allocations: 116.9 kB / 473.7 MB, free: 7.844 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.463e-05/0.3718, allocations: 49.83 kB / 473.8 MB, free: 7.789 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.909e-05/0.3718, allocations: 12.06 kB / 473.8 MB, free: 7.773 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.336e-06/0.3718, allocations: 7.922 kB / 473.8 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.3718, allocations: 0 / 473.8 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.094e-06/0.3718, allocations: 0 / 473.8 MB, free: 7.766 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.106e-05/0.3719, allocations: 161.5 kB / 474 MB, free: 7.559 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.42e-07/0.3719, allocations: 4 kB / 474 MB, free: 7.555 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.119e-05/0.372, allocations: 15.98 kB / 474 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.783e-06/0.372, allocations: 0 / 474 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.641e-06/0.372, allocations: 0 / 474 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.944e-06/0.372, allocations: 0.7812 kB / 474 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.62e-07/0.372, allocations: 0 / 474 MB, free: 7.539 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.473e-05/0.3721, allocations: 81.02 kB / 474.1 MB, free: 7.441 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.196e-05/0.3722, allocations: 93 kB / 474.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.123e-05/0.3722, allocations: 0 / 474.2 MB, free: 7.332 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.721e-05/0.3722, allocations: 8 kB / 474.2 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.124e-06/0.3722, allocations: 0 / 474.2 MB, free: 7.324 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.897e-06/0.3723, allocations: 0 / 474.2 MB, free: 7.324 MB / 346.7 MB Notification: Performance of sorting global known variables: time 4.436e-05/0.3723, allocations: 91.27 kB / 474.2 MB, free: 7.234 MB / 346.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.3723, allocations: 0 / 474.2 MB, free: 7.234 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.0001649/0.3725, allocations: 4 kB / 474.3 MB, free: 7.23 MB / 346.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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.955e-05/0.3726, allocations: 95.25 kB / 474.3 MB, free: 7.125 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 7.826e-05/0.3727, allocations: 28.06 kB / 474.4 MB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 1.954e-06/0.3727, allocations: 0 / 474.4 MB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 5.61e-07/0.3727, allocations: 0 / 474.4 MB, free: 7.098 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001482/0.3728, allocations: 24.8 kB / 474.4 MB, free: 7.074 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001932/0.373, allocations: 72.89 kB / 474.5 MB, free: 6.98 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001937/0.3732, allocations: 0.6809 MB / 475.1 MB, free: 6.273 MB / 346.7 MB Notification: Performance of simCode: alias equations: time 1.256e-05/0.3733, allocations: 11.92 kB / 475.2 MB, free: 6.262 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.964e-05/0.3733, allocations: 7.562 kB / 475.2 MB, free: 6.254 MB / 346.7 MB Notification: Performance of SimCode: time 2.6e-07/0.3733, allocations: 4 kB / 475.2 MB, free: 6.25 MB / 346.7 MB Notification: Performance of Templates: time 0.001885/0.3752, allocations: 329.7 kB / 475.5 MB, free: 5.934 MB / 346.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedSine/TimeBasedSine.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedSine.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches