Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.SampleVectorizedAndClocked") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0008725/0.0008727, allocations: 90.17 kB / 16.65 MB, free: 6.59 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.0009591/0.0009594, allocations: 181.6 kB / 17.56 MB, free: 6.203 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.529/1.529, allocations: 223.3 MB / 241.6 MB, free: 128 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003749/0.0003753, allocations: 11.94 kB / 301.4 MB, free: 6.137 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1581/0.1585, allocations: 50.41 MB / 351.8 MB, free: 3.715 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked): time 0.00226/0.1608, allocations: 1.225 MB / 353.1 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005148/0.1614, allocations: 148.3 kB / 353.2 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001147/0.1615, allocations: 3.938 kB / 353.2 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001277/0.1616, allocations: 0 / 353.2 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001343/0.1618, allocations: 11.92 kB / 353.2 MB, free: 2.316 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003207/0.1621, allocations: 39.91 kB / 353.3 MB, free: 2.277 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001226/0.1622, allocations: 31.92 kB / 353.3 MB, free: 2.246 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001812/0.1624, allocations: 15.98 kB / 353.3 MB, free: 2.23 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.786e-05/0.1625, allocations: 19.92 kB / 353.3 MB, free: 2.211 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.894e-05/0.1626, allocations: 19.8 kB / 353.3 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.47e-05/0.1626, allocations: 0 / 353.3 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.466e-05/0.1626, allocations: 0 / 353.3 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 9.287e-05/0.1627, allocations: 15.94 kB / 353.4 MB, free: 2.176 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 6.556e-05/0.1628, allocations: 45.52 kB / 353.4 MB, free: 2.125 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000143/0.1629, allocations: 47.78 kB / 353.4 MB, free: 2.078 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.955e-06/0.163, allocations: 4 kB / 353.5 MB, free: 2.074 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.887e-06/0.163, allocations: 0 / 353.5 MB, free: 2.074 MB / 286.1 MB Notification: Performance of Transformations before backend: time 7.274e-06/0.163, allocations: 0 / 353.5 MB, free: 2.074 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.0007211/0.1637, allocations: 375.3 kB / 353.8 MB, free: 1.656 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.024e-05/0.1638, allocations: 8.031 kB / 353.8 MB, free: 1.648 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.851e-05/0.1638, allocations: 8.844 kB / 353.8 MB, free: 1.641 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000232/0.1641, allocations: 182.6 kB / 354 MB, free: 1.426 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.77e-05/0.1641, allocations: 4.375 kB / 354 MB, free: 1.422 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.709e-05/0.1641, allocations: 8.375 kB / 354 MB, free: 1.414 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003121/0.1644, allocations: 122.4 kB / 354.1 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.007e-05/0.1645, allocations: 192 / 354.1 MB, free: 1.273 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.626e-05/0.1645, allocations: 3.938 kB / 354.2 MB, free: 1.27 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.423e-05/0.1645, allocations: 7.984 kB / 354.2 MB, free: 1.262 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.764e-05/0.1646, allocations: 35.92 kB / 354.2 MB, free: 1.227 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005287/0.1652, allocations: 361.8 kB / 354.5 MB, free: 0.8164 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001361/0.1653, allocations: 87.7 kB / 354.6 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.124e-05/0.1654, allocations: 38.62 kB / 354.7 MB, free: 0.6562 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.385e-05/0.1654, allocations: 3.938 kB / 354.7 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.97e-05/0.1655, allocations: 38.56 kB / 354.7 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 2.114e-06/0.1655, allocations: 0 / 354.7 MB, free: 0.6055 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003263/0.1658, allocations: 93.52 kB / 354.8 MB, free: 0.5078 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.255e-05/0.1659, allocations: 119.1 kB / 354.9 MB, free: 376 kB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001349/0.166, allocations: 133.8 kB / 355.1 MB, free: 232 kB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.941e-05/0.1661, allocations: 25.7 kB / 355.1 MB, free: 200 kB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.33e-05/0.1662, allocations: 88.14 kB / 355.2 MB, free: 108 kB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.108e-05/0.1662, allocations: 11.89 kB / 355.2 MB, free: 96 kB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.061e-05/0.1662, allocations: 13.72 kB / 355.2 MB, free: 76 kB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001827/0.1664, allocations: 314.8 kB / 355.5 MB, free: 15.76 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.969e-05/0.1665, allocations: 15.98 kB / 355.5 MB, free: 15.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.837e-05/0.1665, allocations: 39.42 kB / 355.5 MB, free: 15.69 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001194/0.1667, allocations: 63.3 kB / 355.6 MB, free: 15.62 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.895e-06/0.1667, allocations: 3.938 kB / 355.6 MB, free: 15.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001462/0.1668, allocations: 73.55 kB / 355.7 MB, free: 15.54 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.154e-05/0.1669, allocations: 8 kB / 355.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.211e-06/0.1669, allocations: 0 / 355.7 MB, free: 15.53 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.604e-05/0.1669, allocations: 4.125 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.249e-05/0.1669, allocations: 8 kB / 355.7 MB, free: 15.52 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.406e-06/0.1669, allocations: 3.938 kB / 355.7 MB, free: 15.51 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.575e-05/0.167, allocations: 15.89 kB / 355.7 MB, free: 15.5 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.316e-06/0.167, allocations: 0 / 355.7 MB, free: 15.5 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: 4 (sample1.u[1],sample1.u[2],sample1.y[2],sample1.y[1]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002017/0.1672, allocations: 125.7 kB / 355.8 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.357e-05/0.1673, allocations: 49.67 kB / 355.9 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.942e-05/0.1674, allocations: 11.91 kB / 355.9 MB, free: 15.29 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.812e-05/0.1674, allocations: 11.98 kB / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.386e-06/0.1674, allocations: 0 / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.1674, allocations: 0 / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002538/0.1677, allocations: 177.5 kB / 356.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.796e-06/0.1677, allocations: 0 / 356.1 MB, free: 15.06 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.045e-05/0.1677, allocations: 7.938 kB / 356.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.794e-06/0.1677, allocations: 0 / 356.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.845e-06/0.1677, allocations: 0 / 356.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.302e-06/0.1677, allocations: 0 / 356.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.647e-06/0.1677, allocations: 4 kB / 356.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000248/0.168, allocations: 263.6 kB / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.832e-05/0.1681, allocations: 97 kB / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.702e-05/0.1681, allocations: 0 / 356.5 MB, free: 14.66 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.261e-05/0.1682, allocations: 4 kB / 356.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.37e-05/0.1683, allocations: 4 kB / 356.5 MB, free: 14.65 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.388e-06/0.1683, allocations: 4 kB / 356.5 MB, free: 14.64 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.915e-05/0.1684, allocations: 113.8 kB / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1684, allocations: 0 / 356.6 MB, free: 14.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002685/0.1687, allocations: 7.906 kB / 356.6 MB, free: 14.53 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: 4 (sample1.u[1],sample1.u[2],sample1.y[1],sample1.y[2]) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001907/0.1689, allocations: 99.25 kB / 356.7 MB, free: 14.42 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001875/0.169, allocations: 51.91 kB / 356.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.426e-06/0.1691, allocations: 0 / 356.7 MB, free: 14.37 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.895e-05/0.1691, allocations: 8 kB / 356.7 MB, free: 14.36 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004814/0.1696, allocations: 35.14 kB / 356.8 MB, free: 14.33 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004818/0.1701, allocations: 206.7 kB / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003234/0.1704, allocations: 0.6926 MB / 357.7 MB, free: 13.38 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 3.745e-05/0.1705, allocations: 4 kB / 357.7 MB, free: 13.37 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.571e-05/0.1705, allocations: 11.42 kB / 357.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of SimCode: time 5.21e-07/0.1705, allocations: 0 / 357.7 MB, free: 13.36 MB / 302.1 MB Notification: Performance of Templates: time 0.003647/0.1742, allocations: 0.546 MB / 358.2 MB, free: 12.83 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/SampleVectorizedAndClocked/SampleVectorizedAndClocked.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.SampleVectorizedAndClocked.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches