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.000932/0.0009318, allocations: 180.4 kB / 16.38 MB, free: 5.762 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.277/1.277, allocations: 223.2 MB / 240.3 MB, free: 11.84 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.0008057/0.0008057, allocations: 112.8 kB / 291.5 MB, free: 10.89 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002468/0.0002468, allocations: 4 kB / 351.1 MB, free: 15.29 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2431/0.2434, allocations: 50.39 MB / 401.5 MB, free: 32.59 MB / 298.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1035/0.347, allocations: 76.97 MB / 478.5 MB, free: 3.512 MB / 346.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.000255/0.3473, allocations: 75.95 kB / 478.5 MB, free: 3.438 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.005063/0.3524, allocations: 1.76 MB / 480.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of FrontEnd: time 1.723e-06/0.3524, allocations: 0 / 480.3 MB, free: 1.688 MB / 346.7 MB Notification: Performance of Transformations before backend: time 8.646e-06/0.3524, allocations: 4 kB / 480.3 MB, free: 1.684 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.0004361/0.3529, allocations: 387 kB / 480.7 MB, free: 1.258 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.196e-05/0.3529, allocations: 8.031 kB / 480.7 MB, free: 1.25 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.526e-05/0.353, allocations: 15.86 kB / 480.7 MB, free: 1.234 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002147/0.3532, allocations: 205.6 kB / 480.9 MB, free: 0.9961 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.019e-05/0.3532, allocations: 4 kB / 480.9 MB, free: 0.9922 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.465e-05/0.3532, allocations: 4 kB / 480.9 MB, free: 0.9883 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002865/0.3535, allocations: 125.9 kB / 481 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.404e-06/0.3535, allocations: 0 / 481 MB, free: 0.8438 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.3536, allocations: 8 kB / 481 MB, free: 0.8359 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.242e-06/0.3536, allocations: 3.953 kB / 481 MB, free: 0.832 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001308/0.3537, allocations: 47.91 kB / 481.1 MB, free: 0.7852 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004641/0.3542, allocations: 377.9 kB / 481.5 MB, free: 368 kB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001189/0.3543, allocations: 79.78 kB / 481.5 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.137e-05/0.3543, allocations: 0 / 481.5 MB, free: 260 kB / 346.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.236e-05/0.3544, allocations: 46.5 kB / 481.6 MB, free: 204 kB / 346.7 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.3544, allocations: 0 / 481.6 MB, free: 204 kB / 346.7 MB Notification: Performance of matching and sorting (n=4): time 0.0003533/0.3547, allocations: 129.6 kB / 481.7 MB, free: 68 kB / 346.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.219e-05/0.3548, allocations: 106.8 kB / 481.8 MB, free: 15.94 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000106/0.355, allocations: 129.4 kB / 481.9 MB, free: 15.8 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.561e-05/0.355, allocations: 25.7 kB / 482 MB, free: 15.77 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.535e-05/0.355, allocations: 96.31 kB / 482.1 MB, free: 15.67 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.247e-05/0.3551, allocations: 19.84 kB / 482.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.727e-06/0.3551, allocations: 0 / 482.1 MB, free: 15.65 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 9.916e-05/0.3552, allocations: 314.8 kB / 482.4 MB, free: 15.34 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.743e-05/0.3552, allocations: 23.98 kB / 482.4 MB, free: 15.31 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.805e-05/0.3553, allocations: 51.36 kB / 482.5 MB, free: 15.25 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.021e-05/0.3554, allocations: 23.98 kB / 482.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.843e-06/0.3554, allocations: 0 / 482.5 MB, free: 15.23 MB / 362.7 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001836/0.3556, allocations: 97.5 kB / 482.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.3556, allocations: 7.125 kB / 482.6 MB, free: 15.12 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.833e-06/0.3556, allocations: 7.938 kB / 482.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.389e-05/0.3557, allocations: 3.953 kB / 482.6 MB, free: 15.11 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.929e-05/0.3558, allocations: 19.92 kB / 482.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.089e-06/0.3558, allocations: 0 / 482.6 MB, free: 15.09 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.371e-05/0.3558, allocations: 8.125 kB / 482.6 MB, free: 15.08 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.818e-06/0.3559, allocations: 7.984 kB / 482.6 MB, free: 15.07 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.964e-05/0.356, allocations: 121.8 kB / 482.8 MB, free: 14.95 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.548e-05/0.356, allocations: 49.59 kB / 482.8 MB, free: 14.89 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.729e-05/0.3561, allocations: 15.86 kB / 482.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.864e-06/0.3561, allocations: 96 / 482.8 MB, free: 14.88 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.985e-06/0.3561, allocations: 11.94 kB / 482.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.595e-06/0.3561, allocations: 4.031 kB / 482.8 MB, free: 14.86 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002141/0.3563, allocations: 181.5 kB / 483 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3563, allocations: 0 / 483 MB, free: 14.63 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.622e-05/0.3564, allocations: 23.92 kB / 483 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.953e-06/0.3564, allocations: 0 / 483 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.008e-05/0.3565, allocations: 4 kB / 483 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.262e-06/0.3565, allocations: 0 / 483 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3565, allocations: 0 / 483 MB, free: 14.61 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002677/0.3567, allocations: 299 kB / 483.3 MB, free: 14.28 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.342e-05/0.3568, allocations: 96.94 kB / 483.4 MB, free: 14.17 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.068e-05/0.3568, allocations: 15.94 kB / 483.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001144/0.357, allocations: 4 kB / 483.4 MB, free: 14.15 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.743e-05/0.357, allocations: 7.938 kB / 483.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.132e-06/0.357, allocations: 3.984 kB / 483.5 MB, free: 14.14 MB / 362.7 MB Notification: Performance of sorting global known variables: time 7.391e-05/0.3571, allocations: 118.9 kB / 483.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3571, allocations: 0 / 483.6 MB, free: 14.02 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002547/0.3574, allocations: 8 kB / 483.6 MB, free: 14.02 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.0001047/0.3575, allocations: 103.2 kB / 483.7 MB, free: 13.91 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001887/0.3577, allocations: 55.91 kB / 483.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.733e-06/0.3577, allocations: 0 / 483.7 MB, free: 13.85 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 7.149e-05/0.3578, allocations: 28.28 kB / 483.8 MB, free: 13.82 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.3581, allocations: 22.94 kB / 483.8 MB, free: 13.8 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003862/0.3585, allocations: 236.1 kB / 484 MB, free: 13.54 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002646/0.3587, allocations: 0.7004 MB / 484.7 MB, free: 12.81 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 5.149e-05/0.3588, allocations: 8.172 kB / 484.7 MB, free: 12.8 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.073e-05/0.3588, allocations: 11.44 kB / 484.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of SimCode: time 2.21e-07/0.3588, allocations: 0 / 484.7 MB, free: 12.79 MB / 362.7 MB Notification: Performance of Templates: time 0.002452/0.3613, allocations: 0.6008 MB / 485.3 MB, free: 12.2 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/jenkins/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