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/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) 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) 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009231/0.0009233, allocations: 96.91 kB / 16.3 MB, free: 5.656 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001048/0.001048, allocations: 182.7 kB / 17.2 MB, free: 5.59 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.478/1.478, allocations: 223.2 MB / 241.1 MB, free: 372 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004555/0.0004556, allocations: 11.92 kB / 300.7 MB, free: 6.465 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.153/0.1535, allocations: 50.42 MB / 351.1 MB, free: 4.039 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.SampleVectorizedAndClocked): time 0.00187/0.1554, allocations: 1.292 MB / 352.4 MB, free: 2.734 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006958/0.1561, allocations: 463.2 kB / 352.9 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.15e-05/0.1562, allocations: 4 kB / 352.9 MB, free: 2.273 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.288e-05/0.1563, allocations: 11.92 kB / 352.9 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 9.886e-05/0.1564, allocations: 15.91 kB / 352.9 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002533/0.1567, allocations: 43.28 kB / 353 MB, free: 2.207 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.000102/0.1568, allocations: 35.89 kB / 353 MB, free: 2.172 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001071/0.1569, allocations: 19.97 kB / 353 MB, free: 2.152 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.929e-05/0.157, allocations: 19.92 kB / 353 MB, free: 2.133 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.678e-05/0.1571, allocations: 23.86 kB / 353.1 MB, free: 2.109 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.864e-05/0.1571, allocations: 4 kB / 353.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.401e-05/0.1571, allocations: 0 / 353.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 4.614e-05/0.1572, allocations: 19.92 kB / 353.1 MB, free: 2.086 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.198e-05/0.1572, allocations: 37.64 kB / 353.1 MB, free: 2.043 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 8.441e-05/0.1573, allocations: 43.91 kB / 353.2 MB, free: 2 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.537e-06/0.1573, allocations: 0 / 353.2 MB, free: 2 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.603e-06/0.1573, allocations: 0 / 353.2 MB, free: 2 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.498e-06/0.1573, allocations: 0 / 353.2 MB, free: 2 MB / 286.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.0005548/0.1579, allocations: 387.3 kB / 353.5 MB, free: 1.574 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.89e-05/0.1579, allocations: 8.031 kB / 353.5 MB, free: 1.566 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.158, allocations: 15.77 kB / 353.6 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002231/0.1582, allocations: 190.8 kB / 353.7 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.795e-05/0.1582, allocations: 11.98 kB / 353.8 MB, free: 1.312 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.528e-05/0.1582, allocations: 4 kB / 353.8 MB, free: 1.309 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003126/0.1586, allocations: 129.9 kB / 353.9 MB, free: 1.16 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.46e-05/0.1586, allocations: 7.922 kB / 353.9 MB, free: 1.152 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.148e-05/0.1586, allocations: 7.922 kB / 353.9 MB, free: 1.145 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.346e-05/0.1586, allocations: 4 kB / 353.9 MB, free: 1.141 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001376/0.1588, allocations: 47.92 kB / 354 MB, free: 1.094 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000467/0.1592, allocations: 381.9 kB / 354.3 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000131/0.1594, allocations: 83.77 kB / 354.4 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.395e-05/0.1594, allocations: 0 / 354.4 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.881e-05/0.1594, allocations: 42.62 kB / 354.5 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.1594, allocations: 0 / 354.5 MB, free: 0.5039 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0004114/0.1599, allocations: 210.9 kB / 354.7 MB, free: 280 kB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.361e-05/0.1599, allocations: 110.8 kB / 354.8 MB, free: 144 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001289/0.1601, allocations: 148.5 kB / 354.9 MB, free: 15.98 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.401e-05/0.1601, allocations: 25.7 kB / 354.9 MB, free: 15.95 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.187e-05/0.1601, allocations: 95.98 kB / 355 MB, free: 15.86 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.007e-05/0.1602, allocations: 15.84 kB / 355 MB, free: 15.84 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.238e-06/0.1602, allocations: 0 / 355 MB, free: 15.84 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001005/0.1603, allocations: 318.8 kB / 355.4 MB, free: 15.52 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.928e-05/0.1604, allocations: 24.02 kB / 355.4 MB, free: 15.5 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.128e-05/0.1604, allocations: 43.42 kB / 355.4 MB, free: 15.45 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.429e-05/0.1605, allocations: 27.98 kB / 355.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1605, allocations: 0 / 355.5 MB, free: 15.42 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001816/0.1607, allocations: 101.6 kB / 355.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.429e-05/0.1607, allocations: 4 kB / 355.6 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.141e-06/0.1608, allocations: 4 kB / 355.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.281e-05/0.1608, allocations: 3.953 kB / 355.6 MB, free: 15.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.38e-05/0.1609, allocations: 15.98 kB / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.433e-06/0.1609, allocations: 0 / 355.6 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.055e-05/0.161, allocations: 11.89 kB / 355.6 MB, free: 15.27 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.686e-06/0.161, allocations: 7.938 kB / 355.6 MB, free: 15.27 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 8.831e-05/0.1611, allocations: 122.7 kB / 355.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.933e-05/0.1611, allocations: 53.53 kB / 355.8 MB, free: 15.08 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.763e-05/0.1612, allocations: 7.875 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.42e-05/0.1612, allocations: 7.984 kB / 355.8 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.1612, allocations: 3.953 kB / 355.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.962e-06/0.1612, allocations: 4 kB / 355.8 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002216/0.1615, allocations: 177.6 kB / 356 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.565e-06/0.1615, allocations: 0 / 356 MB, free: 14.83 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.907e-05/0.1615, allocations: 12.03 kB / 356 MB, free: 14.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.448e-06/0.1615, allocations: 4 kB / 356 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.07e-05/0.1616, allocations: 3.984 kB / 356 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.283e-06/0.1616, allocations: 0 / 356 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.21e-07/0.1616, allocations: 0 / 356 MB, free: 14.81 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003085/0.1619, allocations: 306.9 kB / 356.3 MB, free: 14.48 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.68e-05/0.162, allocations: 92.94 kB / 356.4 MB, free: 14.37 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.105e-05/0.162, allocations: 7.953 kB / 356.4 MB, free: 14.36 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000117/0.1621, allocations: 7.984 kB / 356.4 MB, free: 14.35 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.896e-05/0.1622, allocations: 12 kB / 356.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.977e-06/0.1622, allocations: 4 kB / 356.4 MB, free: 14.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 7.437e-05/0.1623, allocations: 111.2 kB / 356.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1623, allocations: 0 / 356.5 MB, free: 14.23 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000256/0.1625, allocations: 8 kB / 356.5 MB, free: 14.22 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.000106/0.1626, allocations: 99.23 kB / 356.6 MB, free: 14.11 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002007/0.1629, allocations: 63.91 kB / 356.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.794e-06/0.1629, allocations: 0 / 356.7 MB, free: 14.05 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.424e-05/0.1629, allocations: 27.92 kB / 356.7 MB, free: 14.02 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003533/0.1633, allocations: 20.02 kB / 356.7 MB, free: 14 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003938/0.1637, allocations: 239.6 kB / 357 MB, free: 13.73 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.164, allocations: 0.7043 MB / 357.7 MB, free: 13 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 4.991e-05/0.1641, allocations: 12.11 kB / 357.7 MB, free: 12.98 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.949e-05/0.1641, allocations: 11.44 kB / 357.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1641, allocations: 0 / 357.7 MB, free: 12.97 MB / 302.1 MB Notification: Performance of Templates: time 0.002777/0.1669, allocations: 0.5864 MB / 358.3 MB, free: 12.4 MB / 302.1 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