Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001028/0.001028, allocations: 94.86 kB / 16.3 MB, free: 5.992 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.001013/0.001013, allocations: 182.1 kB / 17.19 MB, free: 5.906 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.535/1.535, allocations: 223.2 MB / 241.1 MB, free: 5.367 MB / 190.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002867/0.0002869, allocations: 6.875 kB / 300.7 MB, free: 5.98 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1307/0.131, allocations: 50.42 MB / 351.1 MB, free: 11.68 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.001891/0.1329, allocations: 1.134 MB / 352.3 MB, free: 10.54 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002586/0.1332, allocations: 107.6 kB / 352.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.492e-05/0.1333, allocations: 0 / 352.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 1.743e-05/0.1333, allocations: 0 / 352.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 2.906e-05/0.1333, allocations: 0 / 352.4 MB, free: 10.43 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002313/0.1336, allocations: 27.91 kB / 352.4 MB, free: 10.4 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 6.776e-05/0.1336, allocations: 15.98 kB / 352.4 MB, free: 10.39 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001016/0.1337, allocations: 12.27 kB / 352.4 MB, free: 10.38 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.104e-05/0.1338, allocations: 4 kB / 352.4 MB, free: 10.37 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.52e-05/0.1338, allocations: 11.92 kB / 352.4 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.303e-05/0.1339, allocations: 0 / 352.4 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.809e-06/0.1339, allocations: 3.938 kB / 352.5 MB, free: 10.36 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 1.753e-05/0.1339, allocations: 11.94 kB / 352.5 MB, free: 10.34 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 3.51e-05/0.134, allocations: 25.7 kB / 352.5 MB, free: 10.31 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 6.125e-05/0.134, allocations: 23.89 kB / 352.5 MB, free: 10.29 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.777e-06/0.134, allocations: 0 / 352.5 MB, free: 10.29 MB / 286.1 MB Notification: Performance of FrontEnd: time 3.667e-06/0.134, allocations: 8 kB / 352.5 MB, free: 10.28 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1341, allocations: 0 / 352.5 MB, free: 10.28 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.0004234/0.1345, allocations: 335.3 kB / 352.8 MB, free: 9.906 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.92e-05/0.1345, allocations: 8.031 kB / 352.9 MB, free: 9.898 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.498e-05/0.1346, allocations: 7.859 kB / 352.9 MB, free: 9.891 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001803/0.1348, allocations: 182.9 kB / 353 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.278e-05/0.1348, allocations: 0 / 353 MB, free: 9.672 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.208e-05/0.1348, allocations: 7.938 kB / 353 MB, free: 9.664 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003532/0.1352, allocations: 111.3 kB / 353.2 MB, free: 9.543 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.919e-06/0.1352, allocations: 0 / 353.2 MB, free: 9.543 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.028e-05/0.1352, allocations: 0 / 353.2 MB, free: 9.543 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.297e-06/0.1352, allocations: 0 / 353.2 MB, free: 9.543 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000106/0.1353, allocations: 27.94 kB / 353.2 MB, free: 9.516 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001632/0.1355, allocations: 157.7 kB / 353.3 MB, free: 9.312 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001785/0.1357, allocations: 58.5 kB / 353.4 MB, free: 9.246 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.329e-05/0.1357, allocations: 12.16 kB / 353.4 MB, free: 9.234 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.474e-05/0.1357, allocations: 34.55 kB / 353.4 MB, free: 9.191 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.72e-07/0.1358, allocations: 0 / 353.4 MB, free: 9.191 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002284/0.136, allocations: 73.58 kB / 353.5 MB, free: 9.113 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.185e-05/0.136, allocations: 55.41 kB / 353.6 MB, free: 9.047 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.358e-05/0.1361, allocations: 109.8 kB / 353.7 MB, free: 8.93 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.455e-05/0.1362, allocations: 25.7 kB / 353.7 MB, free: 8.898 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.186e-05/0.1362, allocations: 84.14 kB / 353.8 MB, free: 8.812 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.618e-06/0.1362, allocations: 0 / 353.8 MB, free: 8.812 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.034e-06/0.1362, allocations: 3.938 kB / 353.8 MB, free: 8.809 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001325/0.1364, allocations: 322.8 kB / 354.1 MB, free: 8.484 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.07e-05/0.1364, allocations: 3.984 kB / 354.1 MB, free: 8.48 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.011e-05/0.1364, allocations: 27.44 kB / 354.1 MB, free: 8.441 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.119e-05/0.1365, allocations: 8 kB / 354.1 MB, free: 8.434 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.384e-06/0.1365, allocations: 0 / 354.1 MB, free: 8.434 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.352e-05/0.1365, allocations: 53.62 kB / 354.2 MB, free: 8.375 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.1366, allocations: 14.12 kB / 354.2 MB, free: 8.363 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.218e-06/0.1366, allocations: 0 / 354.2 MB, free: 8.363 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.302e-05/0.1366, allocations: 4.125 kB / 354.2 MB, free: 8.359 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.415e-05/0.1367, allocations: 11.94 kB / 354.2 MB, free: 8.348 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.63e-06/0.1367, allocations: 0 / 354.2 MB, free: 8.348 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.943e-05/0.1367, allocations: 0 / 354.2 MB, free: 8.348 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.598e-06/0.1367, allocations: 4 kB / 354.2 MB, free: 8.344 MB / 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: 3 (assignClock1.y,assignClock1.u,step.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (4): * Single equations (assignments): 4 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.413e-05/0.1368, allocations: 121.8 kB / 354.3 MB, free: 8.215 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001011/0.1369, allocations: 57.59 kB / 354.4 MB, free: 8.152 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.986e-05/0.1369, allocations: 11.91 kB / 354.4 MB, free: 8.133 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.563e-06/0.1369, allocations: 0 / 354.4 MB, free: 8.133 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.341e-06/0.1369, allocations: 4 kB / 354.4 MB, free: 8.129 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.384e-06/0.137, allocations: 3.938 kB / 354.4 MB, free: 8.125 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.532e-05/0.137, allocations: 161.6 kB / 354.6 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.52e-07/0.137, allocations: 256 / 354.6 MB, free: 7.918 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.875e-05/0.1371, allocations: 12 kB / 354.6 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1371, allocations: 0 / 354.6 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.851e-06/0.1371, allocations: 0 / 354.6 MB, free: 7.906 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.082e-06/0.1371, allocations: 3.938 kB / 354.6 MB, free: 7.902 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.12e-07/0.1371, allocations: 4 kB / 354.6 MB, free: 7.898 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001307/0.1373, allocations: 89.06 kB / 354.7 MB, free: 7.793 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.229e-05/0.1373, allocations: 81.02 kB / 354.8 MB, free: 7.695 MB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.675e-05/0.1373, allocations: 7.984 kB / 354.8 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.332e-05/0.1374, allocations: 0 / 354.8 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.975e-06/0.1374, allocations: 0 / 354.8 MB, free: 7.688 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.292e-06/0.1374, allocations: 12 kB / 354.8 MB, free: 7.676 MB / 286.1 MB Notification: Performance of sorting global known variables: time 3.652e-05/0.1374, allocations: 79.28 kB / 354.9 MB, free: 7.598 MB / 286.1 MB Notification: Performance of sort global known variables: time 1e-07/0.1374, allocations: 0 / 354.9 MB, free: 7.598 MB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001814/0.1376, allocations: 4 kB / 354.9 MB, free: 7.594 MB / 286.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: 3 (step.y,assignClock1.u,assignClock1.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0001027/0.1377, allocations: 107.2 kB / 355 MB, free: 7.48 MB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001065/0.1378, allocations: 23.98 kB / 355 MB, free: 7.457 MB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.1378, allocations: 4.25 kB / 355 MB, free: 7.453 MB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.1379, allocations: 0 / 355 MB, free: 7.453 MB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001794/0.138, allocations: 28.3 kB / 355 MB, free: 7.426 MB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002523/0.1383, allocations: 120.6 kB / 355.1 MB, free: 7.281 MB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002553/0.1386, allocations: 0.6848 MB / 355.8 MB, free: 6.57 MB / 286.1 MB Notification: Performance of simCode: alias equations: time 1.593e-05/0.1386, allocations: 8 kB / 355.8 MB, free: 6.562 MB / 286.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.613e-05/0.1386, allocations: 7.438 kB / 355.8 MB, free: 6.555 MB / 286.1 MB Notification: Performance of SimCode: time 2.31e-07/0.1386, allocations: 0 / 355.8 MB, free: 6.555 MB / 286.1 MB Notification: Performance of Templates: time 0.002175/0.1408, allocations: 290.4 kB / 356.1 MB, free: 6.273 MB / 286.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches