Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.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.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.Sample2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001232/0.001232, allocations: 176.4 kB / 17.4 MB, free: 4.422 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.34/1.34, allocations: 223.3 MB / 241.4 MB, free: 9.988 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.0007776/0.0007777, allocations: 101.4 kB / 292.6 MB, free: 10.56 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003224/0.0003225, allocations: 11.94 kB / 352.3 MB, free: 14.82 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2351/0.2355, allocations: 50.41 MB / 402.8 MB, free: 32.42 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09575/0.3313, allocations: 76.53 MB / 479.3 MB, free: 3.777 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002442/0.3316, allocations: 79.94 kB / 479.4 MB, free: 3.699 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.002955/0.3345, allocations: 1.155 MB / 480.5 MB, free: 2.547 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.134e-06/0.3345, allocations: 4.906 kB / 480.5 MB, free: 2.543 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.452e-05/0.3346, allocations: 4 kB / 480.5 MB, free: 2.539 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: 9 * Number of variables: 9 Notification: Performance of Generate backend data structure: time 0.0003712/0.3349, allocations: 348.6 kB / 480.9 MB, free: 2.148 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.053e-05/0.335, allocations: 8.031 kB / 480.9 MB, free: 2.141 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.659e-05/0.335, allocations: 16.59 kB / 480.9 MB, free: 2.129 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001838/0.3352, allocations: 196.1 kB / 481.1 MB, free: 1.898 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.3353, allocations: 4.375 kB / 481.1 MB, free: 1.895 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.372e-05/0.3353, allocations: 8.359 kB / 481.1 MB, free: 1.887 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002688/0.3356, allocations: 118.7 kB / 481.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.035e-06/0.3356, allocations: 192 / 481.2 MB, free: 1.754 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.3356, allocations: 8.938 kB / 481.2 MB, free: 1.746 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.12e-05/0.3356, allocations: 4 kB / 481.2 MB, free: 1.742 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.787e-05/0.3357, allocations: 27.92 kB / 481.3 MB, free: 1.715 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.3361, allocations: 261.8 kB / 481.5 MB, free: 1.406 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001998/0.3363, allocations: 150.2 kB / 481.7 MB, free: 1.223 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.168e-05/0.3364, allocations: 29.78 kB / 481.7 MB, free: 1.188 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.818e-05/0.3364, allocations: 3.984 kB / 481.7 MB, free: 1.184 MB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.308e-05/0.3364, allocations: 34.56 kB / 481.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 1.162e-06/0.3364, allocations: 0 / 481.7 MB, free: 1.141 MB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002352/0.3367, allocations: 85.52 kB / 481.8 MB, free: 1.051 MB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.239e-05/0.3367, allocations: 77.11 kB / 481.9 MB, free: 0.957 MB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001178/0.3368, allocations: 131.5 kB / 482 MB, free: 0.8164 MB / 346.7 MB Notification: Performance of collectPreVariables (initialization): time 1.326e-05/0.3369, allocations: 25.7 kB / 482 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.668e-05/0.3369, allocations: 92.12 kB / 482.1 MB, free: 0.6914 MB / 346.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.083e-05/0.3369, allocations: 4.125 kB / 482.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.495e-06/0.3369, allocations: 0 / 482.1 MB, free: 0.6875 MB / 346.7 MB Notification: Performance of setup shared object (initialization): time 0.000119/0.3371, allocations: 318.8 kB / 482.4 MB, free: 376 kB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.907e-05/0.3371, allocations: 7.984 kB / 482.4 MB, free: 368 kB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.737e-05/0.3372, allocations: 39.38 kB / 482.5 MB, free: 316 kB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.872e-05/0.3373, allocations: 55.3 kB / 482.5 MB, free: 248 kB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.3373, allocations: 0 / 482.5 MB, free: 248 kB / 346.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001225/0.3374, allocations: 77.45 kB / 482.6 MB, free: 164 kB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.391e-05/0.3374, allocations: 4 kB / 482.6 MB, free: 160 kB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.288e-06/0.3374, allocations: 4 kB / 482.6 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.151e-05/0.3374, allocations: 0 / 482.6 MB, free: 156 kB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.361e-05/0.3375, allocations: 8 kB / 482.6 MB, free: 148 kB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.235e-06/0.3375, allocations: 3.984 kB / 482.6 MB, free: 144 kB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.677e-05/0.3376, allocations: 4 kB / 482.6 MB, free: 140 kB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.696e-06/0.3376, allocations: 4 kB / 482.6 MB, free: 136 kB / 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 () * 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.649e-05/0.3377, allocations: 125.8 kB / 482.8 MB, free: 0 / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.363e-05/0.3378, allocations: 49.7 kB / 482.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.454e-05/0.3378, allocations: 16.19 kB / 482.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.633e-06/0.3378, allocations: 0 / 482.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.368e-06/0.3378, allocations: 0 / 482.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.249e-06/0.3378, allocations: 3.984 kB / 482.8 MB, free: 15.92 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001922/0.338, allocations: 173.5 kB / 483 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.573e-06/0.3381, allocations: 336 / 483 MB, free: 15.7 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.716e-05/0.3381, allocations: 11.98 kB / 483 MB, free: 15.69 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.653e-06/0.3381, allocations: 4 kB / 483 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.452e-06/0.3381, allocations: 0 / 483 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.282e-06/0.3381, allocations: 0 / 483 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.3381, allocations: 4 kB / 483 MB, free: 15.68 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001728/0.3383, allocations: 176.2 kB / 483.2 MB, free: 15.49 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.064e-05/0.3384, allocations: 97 kB / 483.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.233e-05/0.3384, allocations: 0 / 483.3 MB, free: 15.38 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.233e-05/0.3385, allocations: 4 kB / 483.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.076e-05/0.3385, allocations: 4 kB / 483.3 MB, free: 15.37 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.939e-06/0.3385, allocations: 3.984 kB / 483.3 MB, free: 15.36 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.935e-05/0.3386, allocations: 103.8 kB / 483.4 MB, free: 15.27 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.3386, allocations: 4 kB / 483.4 MB, free: 15.26 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002011/0.3388, allocations: 4 kB / 483.4 MB, free: 15.26 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 0.0001023/0.3389, allocations: 103.2 kB / 483.5 MB, free: 15.15 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001241/0.3391, allocations: 35.91 kB / 483.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.274e-06/0.3391, allocations: 0 / 483.5 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.534e-05/0.3391, allocations: 8 kB / 483.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003154/0.3394, allocations: 31.83 kB / 483.6 MB, free: 15.07 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003115/0.3398, allocations: 161.9 kB / 483.7 MB, free: 14.88 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002882/0.34, allocations: 0.6887 MB / 484.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 2.639e-05/0.3401, allocations: 8 kB / 484.4 MB, free: 14.16 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.3401, allocations: 11.44 kB / 484.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of SimCode: time 2.3e-07/0.3401, allocations: 0 / 484.5 MB, free: 14.15 MB / 362.7 MB Notification: Performance of Templates: time 0.002221/0.3423, allocations: 443.9 kB / 484.9 MB, free: 13.73 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample2/Sample2.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches