Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.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.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|shiftSample1.y|backSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001382/0.001382, allocations: 110.2 kB / 16.92 MB, free: 5.785 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.001907/0.001908, allocations: 191.3 kB / 17.85 MB, free: 5.164 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.497/1.497, allocations: 222.9 MB / 241.5 MB, free: 15.21 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001171/0.001172, allocations: 46.33 kB / 300.6 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1443/0.1455, allocations: 49.46 MB / 350.1 MB, free: 4.422 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample): time 0.004482/0.1501, allocations: 1.891 MB / 352 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.002316/0.1524, allocations: 1.153 MB / 353.1 MB, free: 1.348 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002598/0.1527, allocations: 4 kB / 353.1 MB, free: 1.344 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004196/0.1532, allocations: 71.67 kB / 353.2 MB, free: 1.273 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0004109/0.1536, allocations: 103.5 kB / 353.3 MB, free: 1.172 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0009916/0.1547, allocations: 258.9 kB / 353.5 MB, free: 0.9219 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003409/0.155, allocations: 179.5 kB / 353.7 MB, free: 0.7461 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001602/0.1552, allocations: 41.52 kB / 353.8 MB, free: 0.707 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001421/0.1553, allocations: 71.72 kB / 353.8 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001458/0.1555, allocations: 83.55 kB / 353.9 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 3.307e-05/0.1555, allocations: 8 kB / 353.9 MB, free: 0.5469 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002221/0.1558, allocations: 67.95 kB / 354 MB, free: 492 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000102/0.1559, allocations: 47.84 kB / 354 MB, free: 444 kB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001042/0.156, allocations: 83.41 kB / 354.1 MB, free: 360 kB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004097/0.1564, allocations: 243.4 kB / 354.3 MB, free: 116 kB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.263e-06/0.1564, allocations: 4 kB / 354.3 MB, free: 112 kB / 286.1 MB Notification: Performance of FrontEnd: time 2.825e-06/0.1564, allocations: 3.984 kB / 354.4 MB, free: 108 kB / 286.1 MB Notification: Performance of Transformations before backend: time 6.543e-06/0.1564, allocations: 0 / 354.4 MB, free: 108 kB / 286.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0008797/0.1573, allocations: 0.535 MB / 354.9 MB, free: 15.52 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.523e-05/0.1574, allocations: 15.89 kB / 354.9 MB, free: 15.5 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.394e-05/0.1575, allocations: 24.66 kB / 354.9 MB, free: 15.48 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.1579, allocations: 287.5 kB / 355.2 MB, free: 15.16 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.718e-05/0.1579, allocations: 12.36 kB / 355.2 MB, free: 15.15 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.859e-05/0.1579, allocations: 12.12 kB / 355.2 MB, free: 15.14 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004039/0.1583, allocations: 180.3 kB / 355.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.538e-06/0.1584, allocations: 0 / 355.4 MB, free: 14.93 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.49e-05/0.1584, allocations: 15.98 kB / 355.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.262e-06/0.1584, allocations: 0 / 355.4 MB, free: 14.91 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001332/0.1585, allocations: 35.92 kB / 355.5 MB, free: 14.88 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007257/0.1593, allocations: 395.2 kB / 355.8 MB, free: 14.43 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003846/0.1597, allocations: 142.5 kB / 356 MB, free: 14.26 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001194/0.1598, allocations: 63.41 kB / 356 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.258e-05/0.1599, allocations: 3.938 kB / 356 MB, free: 14.18 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003011/0.1602, allocations: 83.31 kB / 356.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of pre-optimization done (n=11): time 2.324e-06/0.1602, allocations: 0 / 356.1 MB, free: 14.09 MB / 302.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004752/0.1607, allocations: 173.3 kB / 356.3 MB, free: 13.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001239/0.1608, allocations: 183.9 kB / 356.5 MB, free: 13.69 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000368/0.1612, allocations: 330.7 kB / 356.8 MB, free: 13.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.675e-05/0.1612, allocations: 33.7 kB / 356.8 MB, free: 13.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001027/0.1613, allocations: 128.4 kB / 357 MB, free: 13.18 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.011e-05/0.1614, allocations: 23.73 kB / 357 MB, free: 13.16 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.733e-05/0.1615, allocations: 41.92 kB / 357 MB, free: 13.11 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001809/0.1616, allocations: 342.8 kB / 357.4 MB, free: 12.77 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.998e-05/0.1617, allocations: 27.98 kB / 357.4 MB, free: 12.74 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001379/0.1619, allocations: 96.56 kB / 357.5 MB, free: 12.61 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002013/0.1621, allocations: 106.1 kB / 357.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.646e-06/0.1621, allocations: 0 / 357.6 MB, free: 12.49 MB / 302.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002851/0.1624, allocations: 141.2 kB / 357.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.388e-05/0.1624, allocations: 8 kB / 357.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.354e-06/0.1625, allocations: 0 / 357.7 MB, free: 12.34 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.933e-05/0.1625, allocations: 4 kB / 357.7 MB, free: 12.33 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001342/0.1626, allocations: 20 kB / 357.8 MB, free: 12.31 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.218e-05/0.1626, allocations: 11.92 kB / 357.8 MB, free: 12.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.909e-05/0.1628, allocations: 7.938 kB / 357.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.1628, allocations: 4.188 kB / 357.8 MB, free: 12.29 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 11 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,backSample1.y,backSample1.u,shiftSample1.y,shiftSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (13): * Single equations (assignments): 13 * 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.0001738/0.163, allocations: 154.4 kB / 357.9 MB, free: 12.13 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001216/0.1631, allocations: 85.38 kB / 358 MB, free: 12.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.83e-05/0.1632, allocations: 29.7 kB / 358 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.406e-06/0.1632, allocations: 0 / 358 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.318e-06/0.1632, allocations: 4 kB / 358 MB, free: 12.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.025e-06/0.1632, allocations: 7.922 kB / 358.1 MB, free: 12 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002445/0.1634, allocations: 237.5 kB / 358.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.071e-06/0.1635, allocations: 12.03 kB / 358.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.337e-05/0.1636, allocations: 23.86 kB / 358.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.577e-06/0.1636, allocations: 0 / 358.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.791e-05/0.1636, allocations: 8 kB / 358.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.355e-06/0.1636, allocations: 0 / 358.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.154e-06/0.1636, allocations: 0 / 358.3 MB, free: 11.68 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003576/0.164, allocations: 191.2 kB / 358.5 MB, free: 11.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001117/0.1641, allocations: 108.9 kB / 358.6 MB, free: 11.34 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.21e-05/0.1641, allocations: 12 kB / 358.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.115e-05/0.1642, allocations: 3.984 kB / 358.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.726e-05/0.1643, allocations: 8 kB / 358.6 MB, free: 11.31 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.387e-05/0.1643, allocations: 15.92 kB / 358.7 MB, free: 11.3 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002487/0.1646, allocations: 241.9 kB / 358.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1646, allocations: 0 / 358.9 MB, free: 11.06 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0003185/0.1649, allocations: 39.98 kB / 358.9 MB, free: 11.02 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 9 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,backSample1.y,shiftSample1.y,backSample1.u,sample1.y,shiftSample1.u) * Number of discrete states: 2 (table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001162/0.1661, allocations: 428.2 kB / 359.4 MB, free: 10.76 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0003106/0.1664, allocations: 95.83 kB / 359.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.699e-06/0.1664, allocations: 0 / 359.4 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.924e-05/0.1665, allocations: 28.36 kB / 359.5 MB, free: 10.64 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005385/0.1671, allocations: 90.53 kB / 359.6 MB, free: 10.56 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008286/0.1679, allocations: 390.1 kB / 359.9 MB, free: 10.14 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003267/0.1683, allocations: 0.7437 MB / 360.7 MB, free: 9.367 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 0.0001221/0.1684, allocations: 33.5 kB / 360.7 MB, free: 9.332 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.386e-05/0.1685, allocations: 23.44 kB / 360.7 MB, free: 9.309 MB / 302.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1685, allocations: 4 kB / 360.7 MB, free: 9.305 MB / 302.1 MB Notification: Performance of Templates: time 0.008242/0.1767, allocations: 3.045 MB / 363.8 MB, free: 6.297 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/BackSample/BackSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.BackSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches