Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008713/0.0008716, allocations: 95.47 kB / 17 MB, free: 6.348 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00103/0.001031, allocations: 193.3 kB / 17.91 MB, free: 5.906 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.498/1.498, allocations: 227.7 MB / 246.4 MB, free: 11.55 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003457/0.0003465, allocations: 4 kB / 307.1 MB, free: 1.16 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1436/0.144, allocations: 51.52 MB / 358.6 MB, free: 13.64 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.002541/0.1466, allocations: 1.332 MB / 360 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.001103/0.1477, allocations: 0.5186 MB / 360.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001209/0.1479, allocations: 0 / 360.5 MB, free: 11.78 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001061/0.148, allocations: 3.938 kB / 360.5 MB, free: 11.77 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.1481, allocations: 27.84 kB / 360.5 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003848/0.1485, allocations: 51.88 kB / 360.6 MB, free: 11.7 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001455/0.1487, allocations: 51.73 kB / 360.6 MB, free: 11.64 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001334/0.1488, allocations: 19.97 kB / 360.6 MB, free: 11.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001663/0.149, allocations: 35.91 kB / 360.7 MB, free: 11.59 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.507e-05/0.1491, allocations: 27.8 kB / 360.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.768e-05/0.1491, allocations: 4 kB / 360.7 MB, free: 11.56 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 5.423e-05/0.1492, allocations: 4 kB / 360.7 MB, free: 11.55 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 5.001e-05/0.1492, allocations: 15.92 kB / 360.7 MB, free: 11.54 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.104e-05/0.1493, allocations: 41.64 kB / 360.8 MB, free: 11.49 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001332/0.1494, allocations: 43.91 kB / 360.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.615e-06/0.1494, allocations: 4 kB / 360.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.154e-06/0.1495, allocations: 0 / 360.8 MB, free: 11.45 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.889e-06/0.1495, allocations: 0 / 360.8 MB, free: 11.45 MB / 302.1 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.0006206/0.1501, allocations: 391.2 kB / 361.2 MB, free: 11.02 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.556e-05/0.1502, allocations: 8.031 kB / 361.2 MB, free: 11.01 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002697/0.1504, allocations: 31.88 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000237/0.1507, allocations: 199.9 kB / 361.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.213e-05/0.1507, allocations: 0 / 361.4 MB, free: 10.74 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.642e-05/0.1507, allocations: 8 kB / 361.4 MB, free: 10.73 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003648/0.1511, allocations: 129.8 kB / 361.6 MB, free: 10.59 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.265e-05/0.1511, allocations: 4 kB / 361.6 MB, free: 10.58 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.678e-05/0.1512, allocations: 7.922 kB / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.703e-05/0.1512, allocations: 0 / 361.6 MB, free: 10.57 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001534/0.1513, allocations: 55.97 kB / 361.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005856/0.1519, allocations: 389.7 kB / 362 MB, free: 10.08 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001597/0.1521, allocations: 83.78 kB / 362.1 MB, free: 9.973 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.362e-05/0.1522, allocations: 50.61 kB / 362.1 MB, free: 9.914 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.149e-05/0.1522, allocations: 3.938 kB / 362.1 MB, free: 9.91 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.331e-05/0.1523, allocations: 38.55 kB / 362.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.182e-06/0.1523, allocations: 0 / 362.2 MB, free: 9.863 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004581/0.1528, allocations: 129.5 kB / 362.3 MB, free: 9.73 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.154e-05/0.1529, allocations: 106.8 kB / 362.4 MB, free: 9.602 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001792/0.153, allocations: 154.8 kB / 362.6 MB, free: 9.441 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.1531, allocations: 25.98 kB / 362.6 MB, free: 9.41 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.657e-05/0.1532, allocations: 104.1 kB / 362.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.953e-05/0.1532, allocations: 3.906 kB / 362.7 MB, free: 9.301 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.833e-06/0.1532, allocations: 4 kB / 362.7 MB, free: 9.297 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1533, allocations: 314.8 kB / 363 MB, free: 8.98 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.567e-05/0.1534, allocations: 27.97 kB / 363 MB, free: 8.953 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.292e-05/0.1535, allocations: 47.42 kB / 363.1 MB, free: 8.895 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.185e-05/0.1536, allocations: 27.92 kB / 363.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1536, allocations: 0 / 363.1 MB, free: 8.867 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.000223/0.1538, allocations: 101.5 kB / 363.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.136e-05/0.1539, allocations: 4 kB / 363.2 MB, free: 8.758 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.558e-06/0.1539, allocations: 4 kB / 363.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.469e-05/0.1539, allocations: 0 / 363.2 MB, free: 8.754 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001107/0.154, allocations: 16.11 kB / 363.2 MB, free: 8.738 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.723e-06/0.154, allocations: 4 kB / 363.2 MB, free: 8.734 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.939e-05/0.1541, allocations: 4 kB / 363.2 MB, free: 8.73 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.105e-05/0.1541, allocations: 11.92 kB / 363.3 MB, free: 8.719 MB / 302.1 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 0.0001076/0.1542, allocations: 117.8 kB / 363.4 MB, free: 8.594 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.985e-05/0.1543, allocations: 57.55 kB / 363.4 MB, free: 8.531 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.704e-05/0.1544, allocations: 15.83 kB / 363.4 MB, free: 8.512 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.504e-05/0.1544, allocations: 3.984 kB / 363.4 MB, free: 8.508 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.899e-06/0.1544, allocations: 8.031 kB / 363.5 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1544, allocations: 0 / 363.5 MB, free: 8.5 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002643/0.1547, allocations: 181.5 kB / 363.6 MB, free: 8.273 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.58e-06/0.1547, allocations: 7.938 kB / 363.6 MB, free: 8.266 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.345e-05/0.1548, allocations: 8 kB / 363.6 MB, free: 8.258 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.959e-06/0.1548, allocations: 3.953 kB / 363.6 MB, free: 8.254 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.481e-05/0.1548, allocations: 7.969 kB / 363.7 MB, free: 8.246 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.178e-06/0.1548, allocations: 3.938 kB / 363.7 MB, free: 8.242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.362e-06/0.1548, allocations: 4 kB / 363.7 MB, free: 8.238 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003251/0.1552, allocations: 271.6 kB / 363.9 MB, free: 7.953 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-05/0.1553, allocations: 93 kB / 364 MB, free: 7.844 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.112e-05/0.1553, allocations: 11.95 kB / 364 MB, free: 7.832 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001143/0.1554, allocations: 7.984 kB / 364 MB, free: 7.824 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.225e-05/0.1555, allocations: 4 kB / 364 MB, free: 7.82 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.1555, allocations: 0 / 364 MB, free: 7.82 MB / 302.1 MB Notification: Performance of sorting global known variables: time 9.349e-05/0.1556, allocations: 119.2 kB / 364.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.8e-07/0.1556, allocations: 0 / 364.2 MB, free: 7.703 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002764/0.1559, allocations: 12 kB / 364.2 MB, free: 7.691 MB / 302.1 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 (3): * Single equations (assignments): 2 * Array equations: 1 * 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.0001475/0.156, allocations: 107.2 kB / 364.3 MB, free: 7.578 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002175/0.1562, allocations: 51.97 kB / 364.3 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.671e-06/0.1563, allocations: 0 / 364.3 MB, free: 7.527 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.44e-05/0.1563, allocations: 28.23 kB / 364.4 MB, free: 7.5 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000481/0.1568, allocations: 27.95 kB / 364.4 MB, free: 7.473 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004821/0.1573, allocations: 234.8 kB / 364.6 MB, free: 7.203 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000332/0.1577, allocations: 0.7005 MB / 365.3 MB, free: 6.477 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 5.953e-05/0.1577, allocations: 8.172 kB / 365.3 MB, free: 6.469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.669e-05/0.1578, allocations: 15.42 kB / 365.3 MB, free: 6.457 MB / 302.1 MB Notification: Performance of SimCode: time 2.01e-07/0.1578, allocations: 0 / 365.3 MB, free: 6.457 MB / 302.1 MB Notification: Performance of Templates: time 0.003229/0.161, allocations: 0.5952 MB / 365.9 MB, free: 5.879 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_trunk_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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches