Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.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.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y.1.|sample1.y.2.",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001675/0.001675, 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.384/1.384, allocations: 223.3 MB / 241.4 MB, free: 11.59 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.0009377/0.0009378, allocations: 100.3 kB / 292.6 MB, free: 10.77 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003838/0.0003839, allocations: 8 kB / 352.3 MB, free: 15.01 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2726/0.273, allocations: 50.41 MB / 402.7 MB, free: 32.45 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.09082/0.3638, allocations: 77 MB / 479.8 MB, free: 3.344 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002617/0.3642, allocations: 79.95 kB / 479.8 MB, free: 3.266 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005093/0.3693, allocations: 1.749 MB / 481.6 MB, free: 1.523 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.635e-06/0.3693, allocations: 0 / 481.6 MB, free: 1.523 MB / 346.7 MB Notification: Performance of Transformations before backend: time 1.323e-05/0.3693, allocations: 4 kB / 481.6 MB, free: 1.52 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.0004778/0.3698, allocations: 391.2 kB / 482 MB, free: 1.086 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.376e-05/0.3699, allocations: 12.03 kB / 482 MB, free: 1.074 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.424e-05/0.3699, allocations: 8.844 kB / 482 MB, free: 1.066 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.3701, allocations: 200.6 kB / 482.2 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.566e-06/0.3702, allocations: 384 / 482.2 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.661e-05/0.3702, allocations: 4.375 kB / 482.2 MB, free: 0.8281 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003161/0.3705, allocations: 146.3 kB / 482.3 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.859e-06/0.3705, allocations: 192 / 482.3 MB, free: 0.6641 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.184e-05/0.3705, allocations: 3.938 kB / 482.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.728e-06/0.3706, allocations: 0 / 482.3 MB, free: 0.6602 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001383/0.3707, allocations: 47.97 kB / 482.4 MB, free: 0.6133 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005197/0.3712, allocations: 381.9 kB / 482.8 MB, free: 188 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001201/0.3714, allocations: 79.7 kB / 482.8 MB, free: 80 kB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.215e-05/0.3715, allocations: 42.62 kB / 482.9 MB, free: 28 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.399e-05/0.3715, allocations: 11.94 kB / 482.9 MB, free: 16 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.123e-05/0.3715, allocations: 30.56 kB / 482.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of pre-optimization done (n=4): time 3.757e-06/0.3716, allocations: 0 / 482.9 MB, free: 15.98 MB / 362.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003711/0.3719, allocations: 133.6 kB / 483 MB, free: 15.84 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.797e-05/0.372, allocations: 102.8 kB / 483.1 MB, free: 15.71 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001399/0.3722, allocations: 155.7 kB / 483.3 MB, free: 15.55 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.706e-05/0.3722, allocations: 25.7 kB / 483.3 MB, free: 15.52 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.227e-05/0.3722, allocations: 92.33 kB / 483.4 MB, free: 15.43 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.443e-05/0.3723, allocations: 23.81 kB / 483.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.817e-06/0.3723, allocations: 0 / 483.4 MB, free: 15.41 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 0.0001189/0.3724, allocations: 314.8 kB / 483.7 MB, free: 15.09 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.887e-05/0.3725, allocations: 19.98 kB / 483.8 MB, free: 15.07 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.616e-05/0.3726, allocations: 55.34 kB / 483.8 MB, free: 15 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001509/0.3727, allocations: 71.41 kB / 483.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.516e-06/0.3727, allocations: 3.938 kB / 483.9 MB, free: 14.92 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001942/0.3729, allocations: 97.44 kB / 484 MB, free: 14.82 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.611e-05/0.373, allocations: 4 kB / 484 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.234e-06/0.373, allocations: 4 kB / 484 MB, free: 14.81 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.42e-05/0.373, allocations: 8.062 kB / 484 MB, free: 14.8 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.98e-05/0.3731, allocations: 15.98 kB / 484 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.732e-06/0.3731, allocations: 0 / 484 MB, free: 14.79 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.34e-05/0.3732, allocations: 4 kB / 484 MB, free: 14.78 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.079e-05/0.3732, allocations: 4 kB / 484 MB, free: 14.78 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 9.313e-05/0.3733, allocations: 131 kB / 484.2 MB, free: 14.64 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.384e-05/0.3734, allocations: 57.53 kB / 484.2 MB, free: 14.58 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.882e-05/0.3734, allocations: 11.88 kB / 484.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.224e-06/0.3735, allocations: 0 / 484.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.639e-06/0.3735, allocations: 0 / 484.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.306e-06/0.3735, allocations: 4 kB / 484.2 MB, free: 14.56 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002213/0.3737, allocations: 181.5 kB / 484.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.625e-06/0.3737, allocations: 4 kB / 484.4 MB, free: 14.33 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.006e-05/0.3738, allocations: 15.98 kB / 484.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.525e-06/0.3738, allocations: 0 / 484.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.019e-05/0.3738, allocations: 4 kB / 484.4 MB, free: 14.31 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.122e-06/0.3738, allocations: 12 kB / 484.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.3738, allocations: 0 / 484.4 MB, free: 14.3 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000271/0.3741, allocations: 287.4 kB / 484.7 MB, free: 14 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.069e-05/0.3742, allocations: 89 kB / 484.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.699e-05/0.3742, allocations: 4 kB / 484.8 MB, free: 13.89 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001082/0.3743, allocations: 11.98 kB / 484.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.063e-05/0.3744, allocations: 0 / 484.8 MB, free: 13.88 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.785e-06/0.3744, allocations: 4 kB / 484.8 MB, free: 13.87 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.878e-05/0.3745, allocations: 111.2 kB / 484.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.3745, allocations: 0 / 484.9 MB, free: 13.76 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002476/0.3747, allocations: 16 kB / 484.9 MB, free: 13.75 MB / 362.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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.0001039/0.3748, allocations: 95.25 kB / 485 MB, free: 13.64 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001968/0.375, allocations: 59.89 kB / 485.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.405e-06/0.3751, allocations: 256 / 485.1 MB, free: 13.59 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 6.74e-05/0.3751, allocations: 27.92 kB / 485.1 MB, free: 13.56 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004096/0.3756, allocations: 35.09 kB / 485.2 MB, free: 13.53 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004102/0.376, allocations: 227.5 kB / 485.4 MB, free: 13.26 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002904/0.3763, allocations: 0.6965 MB / 486.1 MB, free: 12.54 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.523e-05/0.3763, allocations: 7.984 kB / 486.1 MB, free: 12.53 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.007e-05/0.3764, allocations: 11.44 kB / 486.1 MB, free: 12.52 MB / 362.7 MB Notification: Performance of SimCode: time 2.2e-07/0.3764, allocations: 7.938 kB / 486.1 MB, free: 12.51 MB / 362.7 MB Notification: Performance of Templates: time 0.003044/0.3794, allocations: 0.5957 MB / 486.7 MB, free: 11.93 MB / 362.7 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches