Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.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.Sample1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock.y|sample1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001299/0.001299, allocations: 180.2 kB / 17.4 MB, free: 4.418 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.368/1.368, allocations: 223.3 MB / 241.4 MB, free: 11.7 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.00078/0.0007802, allocations: 102.3 kB / 292.6 MB, free: 10.79 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003197/0.0003198, allocations: 12 kB / 352.4 MB, free: 15.02 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2325/0.2329, allocations: 50.39 MB / 402.7 MB, free: 32.48 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.0933/0.3262, allocations: 77.09 MB / 479.8 MB, free: 3.281 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000237/0.3265, allocations: 83.95 kB / 479.9 MB, free: 3.199 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003765/0.3303, allocations: 1.478 MB / 481.4 MB, free: 1.723 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.304e-06/0.3303, allocations: 3.938 kB / 481.4 MB, free: 1.719 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.03e-05/0.3303, allocations: 8 kB / 481.4 MB, free: 1.711 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.0003563/0.3307, allocations: 367.3 kB / 481.8 MB, free: 1.301 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.849e-05/0.3307, allocations: 12.03 kB / 481.8 MB, free: 1.289 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.433e-05/0.3308, allocations: 8.844 kB / 481.8 MB, free: 1.281 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001672/0.331, allocations: 189.2 kB / 482 MB, free: 1.059 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.131e-05/0.331, allocations: 4.375 kB / 482 MB, free: 1.055 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.073e-05/0.331, allocations: 4.375 kB / 482 MB, free: 1.051 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002467/0.3312, allocations: 117.6 kB / 482.1 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.176e-06/0.3313, allocations: 192 / 482.1 MB, free: 0.918 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.3313, allocations: 3.938 kB / 482.1 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.408e-06/0.3313, allocations: 0 / 482.1 MB, free: 0.9141 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.203e-05/0.3314, allocations: 31.92 kB / 482.1 MB, free: 0.8828 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003336/0.3317, allocations: 269.7 kB / 482.4 MB, free: 0.5664 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002134/0.3319, allocations: 154.2 kB / 482.5 MB, free: 388 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.681e-05/0.332, allocations: 29.77 kB / 482.6 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.985e-05/0.332, allocations: 0 / 482.6 MB, free: 352 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.263e-05/0.3321, allocations: 34.56 kB / 482.6 MB, free: 308 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 9.02e-07/0.3321, allocations: 0 / 482.6 MB, free: 308 kB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002407/0.3323, allocations: 85.61 kB / 482.7 MB, free: 216 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.427e-05/0.3324, allocations: 81.11 kB / 482.8 MB, free: 116 kB / 346.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001282/0.3325, allocations: 144.4 kB / 482.9 MB, free: 15.96 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.246e-05/0.3326, allocations: 25.7 kB / 482.9 MB, free: 15.93 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.002e-05/0.3326, allocations: 88.08 kB / 483 MB, free: 15.84 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.222e-05/0.3326, allocations: 128 / 483 MB, free: 15.84 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.409e-06/0.3326, allocations: 4 kB / 483 MB, free: 15.84 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001073/0.3327, allocations: 326.8 kB / 483.3 MB, free: 15.51 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.01e-05/0.3328, allocations: 8 kB / 483.4 MB, free: 15.5 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.222e-05/0.3328, allocations: 39.36 kB / 483.4 MB, free: 15.45 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.717e-05/0.3329, allocations: 51.36 kB / 483.4 MB, free: 15.39 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.333, allocations: 7.938 kB / 483.4 MB, free: 15.38 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001263/0.3331, allocations: 77.52 kB / 483.5 MB, free: 15.3 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.388e-05/0.3331, allocations: 8 kB / 483.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.137e-06/0.3331, allocations: 0 / 483.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.113e-05/0.3331, allocations: 0 / 483.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.063e-05/0.3332, allocations: 8 kB / 483.5 MB, free: 15.29 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.336e-06/0.3332, allocations: 11.92 kB / 483.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.809e-05/0.3333, allocations: 4 kB / 483.6 MB, free: 15.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.004e-06/0.3333, allocations: 0 / 483.6 MB, free: 15.27 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 7.953e-05/0.3334, allocations: 125.8 kB / 483.7 MB, free: 15.14 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.861e-05/0.3334, allocations: 49.59 kB / 483.7 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.108e-05/0.3335, allocations: 12.25 kB / 483.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.512e-06/0.3335, allocations: 0 / 483.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.147e-06/0.3335, allocations: 0 / 483.7 MB, free: 15.07 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.057e-06/0.3335, allocations: 7.984 kB / 483.7 MB, free: 15.06 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001553/0.3337, allocations: 169.6 kB / 483.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.407e-06/0.3337, allocations: 4 kB / 483.9 MB, free: 14.84 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.02e-05/0.3337, allocations: 8 kB / 483.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.3337, allocations: 4 kB / 483.9 MB, free: 14.83 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.954e-06/0.3337, allocations: 4 kB / 483.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.32e-06/0.3338, allocations: 3.984 kB / 483.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.182e-06/0.3338, allocations: 0 / 483.9 MB, free: 14.82 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001677/0.3339, allocations: 180.2 kB / 484.1 MB, free: 14.62 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.211e-05/0.334, allocations: 93 kB / 484.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.367e-05/0.334, allocations: 0 / 484.2 MB, free: 14.52 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.103e-05/0.3341, allocations: 4 kB / 484.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.694e-05/0.3341, allocations: 4.375 kB / 484.2 MB, free: 14.51 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.861e-06/0.3341, allocations: 4 kB / 484.2 MB, free: 14.5 MB / 362.7 MB Notification: Performance of sorting global known variables: time 6.475e-05/0.3342, allocations: 107.2 kB / 484.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.6e-07/0.3342, allocations: 0 / 484.3 MB, free: 14.4 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002001/0.3344, allocations: 4 kB / 484.3 MB, free: 14.39 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.000102/0.3345, allocations: 99.25 kB / 484.4 MB, free: 14.29 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001297/0.3347, allocations: 43.84 kB / 484.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.824e-06/0.3347, allocations: 0 / 484.5 MB, free: 14.24 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 3.612e-05/0.3347, allocations: 12 kB / 484.5 MB, free: 14.23 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002992/0.335, allocations: 30.38 kB / 484.5 MB, free: 14.2 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003222/0.3354, allocations: 185.8 kB / 484.7 MB, free: 13.99 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002609/0.3356, allocations: 0.6887 MB / 485.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 3.071e-05/0.3357, allocations: 8 kB / 485.4 MB, free: 13.27 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.721e-05/0.3357, allocations: 7.438 kB / 485.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3357, allocations: 4 kB / 485.4 MB, free: 13.25 MB / 362.7 MB Notification: Performance of Templates: time 0.002326/0.338, allocations: 469.9 kB / 485.9 MB, free: 12.8 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/Sample1/Sample1.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.Sample1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches