Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.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.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001857/0.001857, allocations: 109.8 kB / 17.16 MB, free: 6.082 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.002163/0.002163, allocations: 194.9 kB / 18.08 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 2.09/2.09, allocations: 222.9 MB / 241.8 MB, free: 13.77 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00117/0.001171, allocations: 51.92 kB / 300.6 MB, free: 6.086 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1455/0.1467, allocations: 49.44 MB / 350.1 MB, free: 4.633 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample): time 0.005563/0.1524, allocations: 1.603 MB / 351.7 MB, free: 3.016 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001438/0.1538, allocations: 0.4909 MB / 352.2 MB, free: 2.52 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001537/0.154, allocations: 4 kB / 352.2 MB, free: 2.516 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 9.812e-05/0.1542, allocations: 3.938 kB / 352.2 MB, free: 2.512 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001968/0.1544, allocations: 7.922 kB / 352.2 MB, free: 2.504 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004201/0.1549, allocations: 51.14 kB / 352.2 MB, free: 2.457 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001499/0.155, allocations: 43.8 kB / 352.3 MB, free: 2.414 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001741/0.1552, allocations: 23.94 kB / 352.3 MB, free: 2.391 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001111/0.1553, allocations: 15.92 kB / 352.3 MB, free: 2.375 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.094e-05/0.1554, allocations: 19.86 kB / 352.3 MB, free: 2.355 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.1554, allocations: 4 kB / 352.3 MB, free: 2.352 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.835e-05/0.1555, allocations: 4 kB / 352.3 MB, free: 2.348 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 7.356e-05/0.1555, allocations: 15.92 kB / 352.3 MB, free: 2.332 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.059e-05/0.1556, allocations: 19.81 kB / 352.4 MB, free: 2.312 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001092/0.1557, allocations: 39.92 kB / 352.4 MB, free: 2.273 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.492e-06/0.1557, allocations: 4 kB / 352.4 MB, free: 2.27 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.106e-06/0.1557, allocations: 0 / 352.4 MB, free: 2.27 MB / 286.1 MB Notification: Performance of Transformations before backend: time 6.061e-06/0.1558, allocations: 7.938 kB / 352.4 MB, free: 2.262 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0006398/0.1564, allocations: 371.4 kB / 352.8 MB, free: 1.852 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.646e-05/0.1565, allocations: 8.031 kB / 352.8 MB, free: 1.844 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.029e-05/0.1565, allocations: 8.844 kB / 352.8 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002842/0.1568, allocations: 192.2 kB / 353 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.506e-05/0.1569, allocations: 384 / 353 MB, free: 1.609 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.22e-05/0.1569, allocations: 12.31 kB / 353 MB, free: 1.598 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003694/0.1573, allocations: 113.3 kB / 353.1 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.138e-05/0.1573, allocations: 0 / 353.1 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.69e-05/0.1573, allocations: 3.984 kB / 353.1 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.061e-05/0.1573, allocations: 0 / 353.1 MB, free: 1.465 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001001/0.1574, allocations: 23.92 kB / 353.1 MB, free: 1.441 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004497/0.1579, allocations: 269.7 kB / 353.4 MB, free: 1.125 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001056/0.158, allocations: 41.16 kB / 353.4 MB, free: 1.066 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.505e-05/0.1581, allocations: 21.77 kB / 353.5 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.593e-05/0.1581, allocations: 0 / 353.5 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.19e-05/0.1582, allocations: 38.56 kB / 353.5 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of pre-optimization done (n=2): time 1.082e-06/0.1582, allocations: 0 / 353.5 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of matching and sorting (n=2): time 0.000307/0.1585, allocations: 61.61 kB / 353.6 MB, free: 0.9258 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.189e-05/0.1586, allocations: 85.11 kB / 353.6 MB, free: 0.8242 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001603/0.1587, allocations: 136.7 kB / 353.8 MB, free: 0.6836 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.952e-05/0.1588, allocations: 25.95 kB / 353.8 MB, free: 0.6523 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.616e-05/0.1588, allocations: 96.03 kB / 353.9 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.864e-05/0.1589, allocations: 7.938 kB / 353.9 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.061e-05/0.1589, allocations: 13.72 kB / 353.9 MB, free: 0.5273 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.000141/0.1591, allocations: 314.8 kB / 354.2 MB, free: 216 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.356e-05/0.1591, allocations: 19.92 kB / 354.2 MB, free: 196 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.828e-05/0.1592, allocations: 21.7 kB / 354.3 MB, free: 168 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.26e-05/0.1593, allocations: 29.72 kB / 354.3 MB, free: 132 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.164e-06/0.1593, allocations: 0 / 354.3 MB, free: 132 kB / 286.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001338/0.1594, allocations: 61.52 kB / 354.3 MB, free: 64 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.923e-05/0.1595, allocations: 8 kB / 354.4 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.39e-06/0.1595, allocations: 0 / 354.4 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.586e-05/0.1595, allocations: 0 / 354.4 MB, free: 56 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.807e-05/0.1596, allocations: 8.062 kB / 354.4 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.933e-06/0.1596, allocations: 0 / 354.4 MB, free: 48 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.274e-05/0.1597, allocations: 7.984 kB / 354.4 MB, free: 40 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.338e-06/0.1597, allocations: 0 / 354.4 MB, free: 40 kB / 286.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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.0001309/0.1598, allocations: 117.8 kB / 354.5 MB, free: 15.91 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.451e-05/0.1599, allocations: 45.53 kB / 354.5 MB, free: 15.86 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.685e-05/0.1599, allocations: 15.81 kB / 354.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.16, allocations: 0 / 354.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.852e-06/0.16, allocations: 4.031 kB / 354.5 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.762e-06/0.16, allocations: 4 kB / 354.6 MB, free: 15.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002167/0.1602, allocations: 169.6 kB / 354.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.764e-06/0.1602, allocations: 0 / 354.7 MB, free: 15.62 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.287e-05/0.1603, allocations: 7.984 kB / 354.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.176e-06/0.1603, allocations: 0 / 354.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.083e-05/0.1603, allocations: 7.938 kB / 354.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.054e-06/0.1603, allocations: 0 / 354.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.312e-06/0.1603, allocations: 0 / 354.7 MB, free: 15.61 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002043/0.1605, allocations: 164.2 kB / 354.9 MB, free: 15.43 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.029e-05/0.1606, allocations: 93 kB / 355 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.991e-05/0.1606, allocations: 0 / 355 MB, free: 15.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.665e-05/0.1607, allocations: 7.984 kB / 355 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.11e-05/0.1608, allocations: 0 / 355 MB, free: 15.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.31e-06/0.1608, allocations: 0 / 355 MB, free: 15.31 MB / 302.1 MB Notification: Performance of sorting global known variables: time 8.822e-05/0.1609, allocations: 107.2 kB / 355.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1609, allocations: 4.031 kB / 355.1 MB, free: 15.2 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002456/0.1611, allocations: 8 kB / 355.1 MB, free: 15.19 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (2): * Single equations (assignments): 2 * 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 Backend phase and start with SimCode phase: time 0.0001453/0.1613, allocations: 103.2 kB / 355.2 MB, free: 15.08 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001518/0.1615, allocations: 15.98 kB / 355.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.584e-06/0.1615, allocations: 0 / 355.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.729e-05/0.1615, allocations: 15.92 kB / 355.2 MB, free: 15.05 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004254/0.162, allocations: 28.16 kB / 355.3 MB, free: 15.02 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004509/0.1624, allocations: 198.9 kB / 355.5 MB, free: 14.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003173/0.1627, allocations: 0.6887 MB / 356.2 MB, free: 14.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.741e-05/0.1628, allocations: 11.53 kB / 356.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of SimCode: time 5.01e-07/0.1628, allocations: 0 / 356.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of Templates: time 0.002609/0.1654, allocations: 0.7205 MB / 356.9 MB, free: 13.34 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/ClockSignals/SuperSample/SuperSample.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.ClockSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches