Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001513/0.001513, allocations: 116.5 kB / 17.7 MB, free: 5.438 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.001839/0.001839, allocations: 191 kB / 18.63 MB, free: 4.508 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.421/1.421, allocations: 222.9 MB / 242.3 MB, free: 15.18 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001069/0.001069, allocations: 47.84 kB / 302.1 MB, free: 5.191 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1284/0.1295, allocations: 49.45 MB / 351.5 MB, free: 3.723 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.00301/0.1325, allocations: 1.413 MB / 352.9 MB, free: 2.293 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001972/0.1328, allocations: 31.91 kB / 353 MB, free: 2.262 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.992e-05/0.1328, allocations: 7.938 kB / 353 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.794e-05/0.1329, allocations: 0 / 353 MB, free: 2.254 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.028e-05/0.1329, allocations: 3.938 kB / 353 MB, free: 2.25 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002734/0.1332, allocations: 16.61 kB / 353 MB, free: 2.234 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.475e-05/0.1333, allocations: 39.84 kB / 353 MB, free: 2.195 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.1334, allocations: 4 kB / 353 MB, free: 2.191 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.964e-05/0.1335, allocations: 11.98 kB / 353 MB, free: 2.18 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.182e-05/0.1335, allocations: 11.94 kB / 353 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 1.636e-05/0.1336, allocations: 0 / 353 MB, free: 2.168 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.186e-05/0.1336, allocations: 8 kB / 353.1 MB, free: 2.16 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.297e-05/0.1336, allocations: 11.92 kB / 353.1 MB, free: 2.148 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.427e-05/0.1336, allocations: 11.94 kB / 353.1 MB, free: 2.137 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 9.237e-05/0.1337, allocations: 31.89 kB / 353.1 MB, free: 2.105 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.163e-06/0.1338, allocations: 4 kB / 353.1 MB, free: 2.102 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.984e-06/0.1338, allocations: 0 / 353.1 MB, free: 2.102 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.51e-06/0.1338, allocations: 0 / 353.1 MB, free: 2.102 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004793/0.1343, allocations: 347.3 kB / 353.5 MB, free: 1.711 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.211e-05/0.1343, allocations: 15.83 kB / 353.5 MB, free: 1.695 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.737e-05/0.1344, allocations: 8.844 kB / 353.5 MB, free: 1.688 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002126/0.1346, allocations: 180.4 kB / 353.7 MB, free: 1.473 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.138e-05/0.1346, allocations: 4.375 kB / 353.7 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.568e-06/0.1346, allocations: 384 / 353.7 MB, free: 1.469 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003423/0.135, allocations: 123.8 kB / 353.8 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.323e-06/0.135, allocations: 192 / 353.8 MB, free: 1.336 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.245e-05/0.135, allocations: 7.922 kB / 353.8 MB, free: 1.328 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.769e-06/0.135, allocations: 4 kB / 353.8 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001154/0.1351, allocations: 31.91 kB / 353.8 MB, free: 1.293 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.1353, allocations: 161.6 kB / 354 MB, free: 1.086 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001513/0.1355, allocations: 54.55 kB / 354 MB, free: 1.023 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.366e-05/0.1355, allocations: 24.92 kB / 354.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.161e-05/0.1356, allocations: 0 / 354.1 MB, free: 0.9961 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.521e-05/0.1356, allocations: 34.56 kB / 354.1 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.1356, allocations: 0 / 354.1 MB, free: 0.9531 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002696/0.1359, allocations: 85.53 kB / 354.2 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.823e-05/0.1359, allocations: 59.41 kB / 354.2 MB, free: 0.793 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.31e-05/0.136, allocations: 105.8 kB / 354.3 MB, free: 0.6797 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.488e-05/0.1361, allocations: 25.7 kB / 354.4 MB, free: 0.6484 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.036e-05/0.1361, allocations: 84.14 kB / 354.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.169e-05/0.1361, allocations: 0 / 354.4 MB, free: 0.5625 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.278e-05/0.1362, allocations: 21.72 kB / 354.5 MB, free: 0.5352 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001354/0.1363, allocations: 318.8 kB / 354.8 MB, free: 220 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.62e-05/0.1363, allocations: 4 kB / 354.8 MB, free: 216 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.183e-05/0.1364, allocations: 27.44 kB / 354.8 MB, free: 176 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.235e-05/0.1364, allocations: 47.3 kB / 354.9 MB, free: 116 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.846e-06/0.1364, allocations: 0 / 354.9 MB, free: 116 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.82e-05/0.1365, allocations: 69.47 kB / 354.9 MB, free: 40 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.343e-05/0.1366, allocations: 4 kB / 354.9 MB, free: 36 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.803e-06/0.1366, allocations: 3.938 kB / 354.9 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.814e-05/0.1366, allocations: 4.375 kB / 354.9 MB, free: 28 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.399e-05/0.1367, allocations: 4 kB / 354.9 MB, free: 24 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.245e-06/0.1367, allocations: 4.125 kB / 354.9 MB, free: 20 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.08e-05/0.1367, allocations: 8 kB / 354.9 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.092e-06/0.1367, allocations: 4 kB / 355 MB, free: 8 kB / 286.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: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.646e-05/0.1368, allocations: 113.8 kB / 355.1 MB, free: 15.89 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001373/0.137, allocations: 61.61 kB / 355.1 MB, free: 15.82 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.794e-05/0.137, allocations: 15.83 kB / 355.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.137, allocations: 0 / 355.1 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.681e-06/0.137, allocations: 4 kB / 355.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.675e-06/0.137, allocations: 0 / 355.1 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.375e-05/0.1371, allocations: 161.6 kB / 355.3 MB, free: 15.59 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.1371, allocations: 3.938 kB / 355.3 MB, free: 15.58 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.565e-05/0.1372, allocations: 11.98 kB / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.623e-06/0.1372, allocations: 0 / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.067e-06/0.1372, allocations: 3.938 kB / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.183e-06/0.1372, allocations: 0 / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.1372, allocations: 0 / 355.3 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001636/0.1374, allocations: 93.31 kB / 355.4 MB, free: 15.46 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.7e-05/0.1375, allocations: 85.11 kB / 355.5 MB, free: 15.36 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.501e-05/0.1375, allocations: 11.88 kB / 355.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.061e-05/0.1375, allocations: 4 kB / 355.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.926e-06/0.1375, allocations: 0 / 355.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.362e-06/0.1375, allocations: 3.984 kB / 355.5 MB, free: 15.34 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.9e-05/0.1376, allocations: 79.28 kB / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1376, allocations: 0 / 355.6 MB, free: 15.26 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001897/0.1378, allocations: 8 kB / 355.6 MB, free: 15.25 MB / 302.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 4 (assignClock1.u,assignClock1.y,step.y,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for simulation (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 Backend phase and start with SimCode phase: time 0.0001071/0.1379, allocations: 107.1 kB / 355.7 MB, free: 15.14 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001662/0.1381, allocations: 35.91 kB / 355.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.863e-06/0.1381, allocations: 0 / 355.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.1381, allocations: 0 / 355.7 MB, free: 15.1 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002665/0.1384, allocations: 31.92 kB / 355.8 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002864/0.1387, allocations: 117.4 kB / 355.9 MB, free: 14.93 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002736/0.1389, allocations: 0.6825 MB / 356.6 MB, free: 14.22 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.536e-05/0.139, allocations: 8.234 kB / 356.6 MB, free: 14.21 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.297e-05/0.139, allocations: 11.44 kB / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of SimCode: time 2.3e-07/0.139, allocations: 0 / 356.6 MB, free: 14.2 MB / 302.1 MB Notification: Performance of Templates: time 0.002411/0.1414, allocations: 429.1 kB / 357 MB, free: 13.79 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches