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.001786/0.001785, allocations: 112.2 kB / 16.51 MB, free: 6.707 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.001261/0.001262, allocations: 190.5 kB / 17.43 MB, free: 6.066 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.44/1.44, allocations: 222.9 MB / 241.1 MB, free: 13.73 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001247/0.001247, allocations: 51.45 kB / 300 MB, free: 6.078 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1329/0.1341, allocations: 49.44 MB / 349.4 MB, free: 4.621 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep): time 0.003755/0.138, allocations: 1.483 MB / 350.9 MB, free: 3.121 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004468/0.1385, allocations: 99.69 kB / 351 MB, free: 3.023 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001154/0.1386, allocations: 4 kB / 351 MB, free: 3.02 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 6.123e-05/0.1387, allocations: 7.922 kB / 351 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 5.609e-05/0.1388, allocations: 0 / 351 MB, free: 3.012 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002895/0.1391, allocations: 19.98 kB / 351 MB, free: 2.992 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 9.486e-05/0.1392, allocations: 27.86 kB / 351 MB, free: 2.965 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001158/0.1393, allocations: 8 kB / 351 MB, free: 2.957 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.775e-05/0.1394, allocations: 11.98 kB / 351.1 MB, free: 2.945 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 5.03e-05/0.1394, allocations: 3.938 kB / 351.1 MB, free: 2.941 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.32e-05/0.1395, allocations: 4 kB / 351.1 MB, free: 2.938 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.09e-05/0.1395, allocations: 7.938 kB / 351.1 MB, free: 2.93 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 2.59e-05/0.1395, allocations: 4 kB / 351.1 MB, free: 2.926 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.804e-05/0.1396, allocations: 19.84 kB / 351.1 MB, free: 2.906 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001079/0.1397, allocations: 27.91 kB / 351.1 MB, free: 2.879 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.039e-06/0.1397, allocations: 0 / 351.1 MB, free: 2.879 MB / 286.1 MB Notification: Performance of FrontEnd: time 8.82e-07/0.1397, allocations: 0 / 351.1 MB, free: 2.879 MB / 286.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1397, allocations: 0 / 351.1 MB, free: 2.879 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.0004783/0.1402, allocations: 339.7 kB / 351.5 MB, free: 2.496 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.06e-05/0.1402, allocations: 12.03 kB / 351.5 MB, free: 2.484 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.908e-05/0.1403, allocations: 4.844 kB / 351.5 MB, free: 2.48 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001841/0.1405, allocations: 176.4 kB / 351.6 MB, free: 2.27 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.1405, allocations: 4.375 kB / 351.6 MB, free: 2.266 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.456e-05/0.1405, allocations: 4.312 kB / 351.7 MB, free: 2.262 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003587/0.1409, allocations: 123.7 kB / 351.8 MB, free: 2.129 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.002e-05/0.1409, allocations: 192 / 351.8 MB, free: 2.129 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.15e-05/0.1409, allocations: 7.938 kB / 351.8 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.761e-06/0.1409, allocations: 0 / 351.8 MB, free: 2.121 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.39e-05/0.141, allocations: 19.92 kB / 351.8 MB, free: 2.102 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001717/0.1412, allocations: 157.6 kB / 352 MB, free: 1.898 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001635/0.1414, allocations: 54.58 kB / 352 MB, free: 1.836 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.758e-05/0.1414, allocations: 20.89 kB / 352 MB, free: 1.812 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.1415, allocations: 12 kB / 352 MB, free: 1.801 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.269e-05/0.1415, allocations: 30.56 kB / 352.1 MB, free: 1.762 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 1.342e-06/0.1415, allocations: 0 / 352.1 MB, free: 1.762 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002396/0.1418, allocations: 73.55 kB / 352.1 MB, free: 1.684 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.137e-05/0.1418, allocations: 51.41 kB / 352.2 MB, free: 1.621 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.023e-05/0.1419, allocations: 109.8 kB / 352.3 MB, free: 1.504 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.268e-05/0.1419, allocations: 29.7 kB / 352.3 MB, free: 1.469 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.174e-05/0.142, allocations: 88.14 kB / 352.4 MB, free: 1.379 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.153e-06/0.142, allocations: 0 / 352.4 MB, free: 1.379 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.551e-05/0.1421, allocations: 21.7 kB / 352.4 MB, free: 1.352 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0001195/0.1422, allocations: 310.8 kB / 352.7 MB, free: 1.039 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.506e-05/0.1422, allocations: 4 kB / 352.7 MB, free: 1.035 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.993e-05/0.1422, allocations: 31.42 kB / 352.8 MB, free: 0.9922 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.347e-05/0.1423, allocations: 35.38 kB / 352.8 MB, free: 0.9453 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.336e-06/0.1423, allocations: 4 kB / 352.8 MB, free: 0.9414 MB / 286.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 9.003e-05/0.1424, allocations: 61.47 kB / 352.9 MB, free: 0.875 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.558e-05/0.1424, allocations: 4.125 kB / 352.9 MB, free: 0.8711 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.184e-06/0.1424, allocations: 7.938 kB / 352.9 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.477e-05/0.1425, allocations: 0 / 352.9 MB, free: 0.8633 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.667e-05/0.1425, allocations: 8 kB / 352.9 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.472e-06/0.1425, allocations: 0 / 352.9 MB, free: 0.8555 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.311e-05/0.1426, allocations: 4 kB / 352.9 MB, free: 0.8516 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.719e-06/0.1426, allocations: 0 / 352.9 MB, free: 0.8516 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.471e-05/0.1427, allocations: 117.8 kB / 353 MB, free: 0.7266 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001115/0.1428, allocations: 57.61 kB / 353.1 MB, free: 0.6641 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.283e-05/0.1428, allocations: 19.84 kB / 353.1 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.727e-06/0.1428, allocations: 0 / 353.1 MB, free: 0.6367 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.22e-06/0.1429, allocations: 3.938 kB / 353.1 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.1429, allocations: 336 / 353.1 MB, free: 0.6328 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001085/0.143, allocations: 157.7 kB / 353.2 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.143, allocations: 0 / 353.2 MB, free: 440 kB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.448e-05/0.143, allocations: 8 kB / 353.3 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.695e-06/0.1431, allocations: 0 / 353.3 MB, free: 432 kB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.228e-06/0.1431, allocations: 3.938 kB / 353.3 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.563e-06/0.1431, allocations: 0 / 353.3 MB, free: 428 kB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.625e-05/0.1431, allocations: 3.984 kB / 353.3 MB, free: 424 kB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001399/0.1432, allocations: 89.02 kB / 353.3 MB, free: 316 kB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.328e-05/0.1433, allocations: 81.11 kB / 353.4 MB, free: 216 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.533e-05/0.1433, allocations: 3.938 kB / 353.4 MB, free: 212 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.506e-05/0.1434, allocations: 11.86 kB / 353.4 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.126e-06/0.1434, allocations: 256 / 353.4 MB, free: 200 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.482e-06/0.1434, allocations: 4 kB / 353.4 MB, free: 196 kB / 286.1 MB Notification: Performance of sorting global known variables: time 5.015e-05/0.1434, allocations: 91.28 kB / 353.5 MB, free: 104 kB / 286.1 MB Notification: Performance of sort global known variables: time 4.6e-07/0.1434, allocations: 0 / 353.5 MB, free: 104 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001916/0.1436, allocations: 4 kB / 353.5 MB, free: 100 kB / 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 (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.0001303/0.1438, allocations: 103.2 kB / 353.6 MB, free: 15.99 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000119/0.1439, allocations: 23.92 kB / 353.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.314e-06/0.1439, allocations: 0 / 353.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 9.32e-07/0.1439, allocations: 0 / 353.7 MB, free: 15.96 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002536/0.1442, allocations: 34.11 kB / 353.7 MB, free: 15.93 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003059/0.1445, allocations: 119.2 kB / 353.8 MB, free: 15.79 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002546/0.1448, allocations: 0.6848 MB / 354.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.231e-05/0.1448, allocations: 0 / 354.5 MB, free: 15.07 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.58e-05/0.1448, allocations: 11.44 kB / 354.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1448, allocations: 0 / 354.5 MB, free: 15.06 MB / 302.1 MB Notification: Performance of Templates: time 0.002646/0.1475, allocations: 308.6 kB / 354.8 MB, free: 14.76 MB / 302.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches