Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|sample1.y|superSample1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007902/0.0007901, allocations: 91.12 kB / 16.65 MB, free: 6.598 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.0008987/0.0008988, allocations: 182.5 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.552/1.552, allocations: 223.3 MB / 241.6 MB, free: 14.38 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003249/0.000325, allocations: 7.938 kB / 301.4 MB, free: 5.887 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1462/0.1465, allocations: 50.41 MB / 351.8 MB, free: 3.473 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample): time 0.002681/0.1493, allocations: 1.582 MB / 353.4 MB, free: 1.875 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.001993/0.1513, allocations: 1.107 MB / 354.5 MB, free: 0.7617 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001336/0.1514, allocations: 7.938 kB / 354.5 MB, free: 0.7539 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.1518, allocations: 55.8 kB / 354.6 MB, free: 0.6992 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002466/0.1521, allocations: 79.72 kB / 354.7 MB, free: 0.6211 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007512/0.1528, allocations: 234.3 kB / 354.9 MB, free: 408 kB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002332/0.1531, allocations: 155.5 kB / 355 MB, free: 252 kB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001464/0.1532, allocations: 29.53 kB / 355.1 MB, free: 224 kB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001155/0.1534, allocations: 63.64 kB / 355.1 MB, free: 160 kB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001286/0.1535, allocations: 79.67 kB / 355.2 MB, free: 80 kB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.13e-05/0.1535, allocations: 0 / 355.2 MB, free: 80 kB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001499/0.1537, allocations: 59.91 kB / 355.3 MB, free: 20 kB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001039/0.1538, allocations: 43.83 kB / 355.3 MB, free: 15.98 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001049/0.1539, allocations: 93.19 kB / 355.4 MB, free: 15.88 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002929/0.1542, allocations: 219.5 kB / 355.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.1542, allocations: 0 / 355.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.413e-06/0.1542, allocations: 0 / 355.6 MB, free: 15.66 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.069e-06/0.1543, allocations: 0 / 355.6 MB, free: 15.66 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: 14 * Number of variables: 14 Notification: Performance of Generate backend data structure: time 0.001039/0.1553, allocations: 0.504 MB / 356.1 MB, free: 15.11 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.89e-05/0.1554, allocations: 8.031 kB / 356.1 MB, free: 15.1 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.762e-05/0.1555, allocations: 24.66 kB / 356.2 MB, free: 15.07 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003909/0.1558, allocations: 279.6 kB / 356.4 MB, free: 14.77 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.281e-05/0.1559, allocations: 4.375 kB / 356.4 MB, free: 14.76 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.774e-05/0.1559, allocations: 12.12 kB / 356.4 MB, free: 14.75 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000424/0.1563, allocations: 159.6 kB / 356.6 MB, free: 14.57 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.245e-05/0.1564, allocations: 7.875 kB / 356.6 MB, free: 14.56 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.017e-05/0.1564, allocations: 4 kB / 356.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.755e-06/0.1564, allocations: 0 / 356.6 MB, free: 14.55 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001238/0.1566, allocations: 31.97 kB / 356.6 MB, free: 14.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006639/0.1572, allocations: 390.4 kB / 357 MB, free: 14.09 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002929/0.1575, allocations: 111.9 kB / 357.1 MB, free: 13.95 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.041e-05/0.1576, allocations: 50.56 kB / 357.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.905e-05/0.1577, allocations: 4 kB / 357.2 MB, free: 13.89 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002696/0.158, allocations: 75.31 kB / 357.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of pre-optimization done (n=9): time 1.683e-06/0.158, allocations: 0 / 357.3 MB, free: 13.8 MB / 302.1 MB Notification: Performance of matching and sorting (n=9): time 0.000447/0.1584, allocations: 165.2 kB / 357.4 MB, free: 13.63 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001213/0.1586, allocations: 154.2 kB / 357.6 MB, free: 13.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003996/0.159, allocations: 330.6 kB / 357.9 MB, free: 13.11 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 2.525e-05/0.159, allocations: 25.7 kB / 357.9 MB, free: 13.08 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001053/0.1591, allocations: 132 kB / 358.1 MB, free: 12.95 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.474e-05/0.1592, allocations: 15.81 kB / 358.1 MB, free: 12.93 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.384e-05/0.1592, allocations: 17.97 kB / 358.1 MB, free: 12.91 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001377/0.1593, allocations: 338.8 kB / 358.4 MB, free: 12.57 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.831e-05/0.1594, allocations: 27.92 kB / 358.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001303/0.1596, allocations: 86.84 kB / 358.5 MB, free: 12.43 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000162/0.1597, allocations: 84.22 kB / 358.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.464e-06/0.1597, allocations: 0 / 358.6 MB, free: 12.33 MB / 302.1 MB Notification: Performance of matching and sorting (n=11) (initialization): time 0.0002304/0.16, allocations: 117.4 kB / 358.7 MB, free: 12.21 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.424e-05/0.16, allocations: 8 kB / 358.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.534e-06/0.16, allocations: 128 / 358.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.217e-05/0.16, allocations: 8.047 kB / 358.7 MB, free: 12.2 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001215/0.1602, allocations: 27.91 kB / 358.8 MB, free: 12.17 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.102e-05/0.1602, allocations: 4 kB / 358.8 MB, free: 12.16 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.339e-05/0.1603, allocations: 11.84 kB / 358.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.127e-05/0.1603, allocations: 4 kB / 358.8 MB, free: 12.15 MB / 302.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 9 ($PRE.table.combiTimeTable.nextTimeEvent,$whenCondition1,table.combiTimeTable.nextTimeEventScaled,$PRE.table.combiTimeTable.nextTimeEventScaled,table.combiTimeTable.nextTimeEvent,table.y,superSample1.y,superSample1.u,sample1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (11): * Single equations (assignments): 11 * 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.0001494/0.1605, allocations: 166 kB / 358.9 MB, free: 11.98 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.818e-05/0.1605, allocations: 61.5 kB / 359 MB, free: 11.91 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.477e-05/0.1606, allocations: 25.78 kB / 359 MB, free: 11.89 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1606, allocations: 4 kB / 359 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.066e-05/0.1606, allocations: 3.984 kB / 359 MB, free: 11.88 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.713e-06/0.1607, allocations: 7.875 kB / 359 MB, free: 11.87 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002227/0.1609, allocations: 237.6 kB / 359.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.493e-06/0.1609, allocations: 0 / 359.3 MB, free: 11.59 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.261e-05/0.161, allocations: 12 kB / 359.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.134e-06/0.161, allocations: 0 / 359.3 MB, free: 11.58 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.464e-05/0.161, allocations: 3.984 kB / 359.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.744e-06/0.161, allocations: 4 kB / 359.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.172e-06/0.161, allocations: 0 / 359.3 MB, free: 11.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002681/0.1613, allocations: 170.5 kB / 359.5 MB, free: 11.38 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001289/0.1614, allocations: 116.8 kB / 359.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.839e-05/0.1615, allocations: 0 / 359.6 MB, free: 11.25 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.907e-05/0.1615, allocations: 8.094 kB / 359.6 MB, free: 11.24 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.019e-05/0.1616, allocations: 11.92 kB / 359.6 MB, free: 11.23 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.141e-05/0.1616, allocations: 11.94 kB / 359.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of sorting global known variables: time 0.0002291/0.1619, allocations: 241.9 kB / 359.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1619, allocations: 0 / 359.8 MB, free: 10.98 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002718/0.1622, allocations: 39.98 kB / 359.9 MB, free: 10.94 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: 7 ($whenCondition1,table.y,table.combiTimeTable.nextTimeEvent,table.combiTimeTable.nextTimeEventScaled,superSample1.y,sample1.y,superSample1.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 (9): * Single equations (assignments): 7 * 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.001057/0.1632, allocations: 430 kB / 360.3 MB, free: 10.67 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0002294/0.1635, allocations: 76.03 kB / 360.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.1635, allocations: 0 / 360.4 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.974e-05/0.1636, allocations: 27.98 kB / 360.4 MB, free: 10.57 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004244/0.164, allocations: 59.42 kB / 360.5 MB, free: 10.52 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006443/0.1646, allocations: 416.5 kB / 360.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003233/0.165, allocations: 0.74 MB / 361.6 MB, free: 9.309 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 9.039e-05/0.1651, allocations: 29.52 kB / 361.6 MB, free: 9.273 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.037e-05/0.1651, allocations: 23.42 kB / 361.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of SimCode: time 4.21e-07/0.1651, allocations: 0 / 361.7 MB, free: 9.25 MB / 302.1 MB Notification: Performance of Templates: time 0.007103/0.1723, allocations: 2.663 MB / 364.3 MB, free: 6.617 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/SuperSample/SuperSample.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.SuperSample.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches