Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.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.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009631/0.0009629, allocations: 92.75 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.001012/0.001012, allocations: 184.2 kB / 17.57 MB, free: 6.199 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.546/1.546, allocations: 223.3 MB / 241.6 MB, free: 108 kB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003382, allocations: 4.688 kB / 301.4 MB, free: 6.117 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1283/0.1287, allocations: 50.41 MB / 351.8 MB, free: 3.699 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep): time 0.002159/0.1309, allocations: 1.178 MB / 353 MB, free: 2.508 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002538/0.1312, allocations: 23.92 kB / 353 MB, free: 2.484 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.219e-05/0.1313, allocations: 7.938 kB / 353 MB, free: 2.477 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 2.252e-05/0.1314, allocations: 4 kB / 353 MB, free: 2.473 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 6.665e-05/0.1314, allocations: 3.984 kB / 353 MB, free: 2.469 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003546/0.1318, allocations: 27.92 kB / 353.1 MB, free: 2.441 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001069/0.1319, allocations: 19.98 kB / 353.1 MB, free: 2.422 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001138/0.132, allocations: 4 kB / 353.1 MB, free: 2.418 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.049e-05/0.1321, allocations: 15.92 kB / 353.1 MB, free: 2.402 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.992e-05/0.1322, allocations: 7.938 kB / 353.1 MB, free: 2.395 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.576e-05/0.1322, allocations: 7.984 kB / 353.1 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.598e-06/0.1322, allocations: 0 / 353.1 MB, free: 2.387 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.609e-05/0.1322, allocations: 3.984 kB / 353.1 MB, free: 2.383 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 5.87e-05/0.1323, allocations: 49.52 kB / 353.2 MB, free: 2.328 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001032/0.1324, allocations: 23.89 kB / 353.2 MB, free: 2.305 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.11e-06/0.1324, allocations: 4 kB / 353.2 MB, free: 2.301 MB / 286.1 MB Notification: Performance of FrontEnd: time 2.003e-06/0.1324, allocations: 0 / 353.2 MB, free: 2.301 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.939e-06/0.1324, allocations: 0 / 353.2 MB, free: 2.301 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.0005185/0.133, allocations: 335.7 kB / 353.5 MB, free: 1.922 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.879e-05/0.133, allocations: 8.031 kB / 353.5 MB, free: 1.914 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.731e-05/0.1331, allocations: 12.83 kB / 353.6 MB, free: 1.902 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001953/0.1333, allocations: 176.3 kB / 353.7 MB, free: 1.691 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.604e-05/0.1333, allocations: 8.375 kB / 353.7 MB, free: 1.684 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.237e-05/0.1333, allocations: 4.375 kB / 353.7 MB, free: 1.68 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000384/0.1337, allocations: 115.9 kB / 353.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.999e-06/0.1337, allocations: 192 / 353.9 MB, free: 1.555 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1338, allocations: 3.938 kB / 353.9 MB, free: 1.551 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.073e-05/0.1338, allocations: 8 kB / 353.9 MB, free: 1.543 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001283/0.1339, allocations: 35.84 kB / 353.9 MB, free: 1.508 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000184/0.1341, allocations: 161.7 kB / 354.1 MB, free: 1.301 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001665/0.1343, allocations: 54.59 kB / 354.1 MB, free: 1.238 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.415e-05/0.1344, allocations: 24.88 kB / 354.1 MB, free: 1.211 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.298e-05/0.1344, allocations: 4 kB / 354.1 MB, free: 1.207 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.621e-05/0.1344, allocations: 30.56 kB / 354.2 MB, free: 1.168 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.433e-06/0.1344, allocations: 0 / 354.2 MB, free: 1.168 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000317/0.1348, allocations: 93.44 kB / 354.3 MB, free: 1.07 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.016e-05/0.1348, allocations: 59.41 kB / 354.3 MB, free: 1 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001031/0.1349, allocations: 105.8 kB / 354.4 MB, free: 0.8867 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.76e-05/0.135, allocations: 25.7 kB / 354.4 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.684e-05/0.135, allocations: 80.14 kB / 354.5 MB, free: 0.7734 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.962e-05/0.1351, allocations: 4 kB / 354.5 MB, free: 0.7695 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.666e-05/0.1351, allocations: 13.72 kB / 354.5 MB, free: 0.75 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001396/0.1352, allocations: 318.8 kB / 354.9 MB, free: 440 kB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.879e-05/0.1353, allocations: 12 kB / 354.9 MB, free: 428 kB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.082e-05/0.1353, allocations: 23.44 kB / 354.9 MB, free: 392 kB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.564e-05/0.1354, allocations: 39.38 kB / 354.9 MB, free: 340 kB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.1354, allocations: 4 kB / 354.9 MB, free: 336 kB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001053/0.1355, allocations: 65.47 kB / 355 MB, free: 264 kB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.057e-05/0.1355, allocations: 4 kB / 355 MB, free: 260 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.019e-05/0.1355, allocations: 3.938 kB / 355 MB, free: 256 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.877e-05/0.1356, allocations: 4 kB / 355 MB, free: 252 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.759e-05/0.1356, allocations: 7.984 kB / 355 MB, free: 244 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.021e-05/0.1357, allocations: 7.984 kB / 355 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.387e-05/0.1357, allocations: 0 / 355 MB, free: 236 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.014e-06/0.1357, allocations: 4 kB / 355 MB, free: 232 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: 2 ($CLKPRE.step.counter,step.counter) * 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 0.0001073/0.1358, allocations: 118 kB / 355.1 MB, free: 104 kB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001567/0.136, allocations: 65.61 kB / 355.2 MB, free: 32 kB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.868e-05/0.136, allocations: 11.84 kB / 355.2 MB, free: 12 kB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.397e-06/0.136, allocations: 4.172 kB / 355.2 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.1361, allocations: 0 / 355.2 MB, free: 8 kB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.064e-06/0.1361, allocations: 7.969 kB / 355.2 MB, free: 0 / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001419/0.1362, allocations: 153.7 kB / 355.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.684e-06/0.1362, allocations: 0 / 355.4 MB, free: 15.8 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.745e-05/0.1363, allocations: 11.98 kB / 355.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.076e-06/0.1363, allocations: 4 kB / 355.4 MB, free: 15.79 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.547e-06/0.1363, allocations: 3.938 kB / 355.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.1363, allocations: 4.375 kB / 355.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.422e-06/0.1363, allocations: 0 / 355.4 MB, free: 15.78 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001982/0.1365, allocations: 97.69 kB / 355.5 MB, free: 15.66 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.448e-05/0.1366, allocations: 81.09 kB / 355.6 MB, free: 15.57 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.278e-05/0.1367, allocations: 11.94 kB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.398e-05/0.1367, allocations: 4 kB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.434e-06/0.1367, allocations: 4 kB / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.528e-06/0.1367, allocations: 0 / 355.6 MB, free: 15.55 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.343e-05/0.1368, allocations: 87.27 kB / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of sort global known variables: time 3.2e-07/0.1368, allocations: 0 / 355.7 MB, free: 15.46 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001952/0.137, allocations: 4 kB / 355.7 MB, free: 15.46 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: 1 (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.0001403/0.1371, allocations: 99.19 kB / 355.8 MB, free: 15.35 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001625/0.1373, allocations: 31.92 kB / 355.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 5.31e-06/0.1373, allocations: 4.25 kB / 355.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 1.273e-06/0.1373, allocations: 0 / 355.8 MB, free: 15.32 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003778/0.1377, allocations: 39.89 kB / 355.9 MB, free: 15.28 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000406/0.1381, allocations: 136.6 kB / 356 MB, free: 15.12 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002832/0.1384, allocations: 0.6809 MB / 356.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.965e-05/0.1385, allocations: 0 / 356.7 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.294e-05/0.1385, allocations: 15.44 kB / 356.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of SimCode: time 8.61e-07/0.1385, allocations: 0 / 356.7 MB, free: 14.39 MB / 302.1 MB Notification: Performance of Templates: time 0.002776/0.1413, allocations: 389.5 kB / 357.1 MB, free: 14.02 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches