Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_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_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008434/0.0008432, allocations: 98.5 kB / 17 MB, free: 6.129 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001069/0.001069, allocations: 193.6 kB / 17.9 MB, free: 5.695 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.513/1.513, allocations: 227.7 MB / 246.4 MB, free: 11.54 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003811/0.0003814, allocations: 8 kB / 307.1 MB, free: 1.168 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1411/0.1416, allocations: 51.52 MB / 358.6 MB, free: 13.65 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001607/0.1432, allocations: 1.145 MB / 359.8 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.000218/0.1434, allocations: 39.84 kB / 359.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.902e-05/0.1435, allocations: 0 / 359.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 1.615e-05/0.1436, allocations: 0 / 359.8 MB, free: 12.46 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.548e-05/0.1436, allocations: 3.938 kB / 359.8 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002493/0.1439, allocations: 23.97 kB / 359.8 MB, free: 12.43 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.666e-05/0.1439, allocations: 23.92 kB / 359.9 MB, free: 12.41 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.32e-05/0.144, allocations: 15.94 kB / 359.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.186e-05/0.1441, allocations: 11.91 kB / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.394e-05/0.1441, allocations: 4 kB / 359.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.913e-05/0.1442, allocations: 4 kB / 359.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.04e-05/0.1442, allocations: 0 / 359.9 MB, free: 12.37 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.861e-05/0.1442, allocations: 11.92 kB / 359.9 MB, free: 12.36 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.419e-05/0.1442, allocations: 29.7 kB / 359.9 MB, free: 12.32 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.699e-05/0.1443, allocations: 19.97 kB / 360 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.278e-06/0.1443, allocations: 4 kB / 360 MB, free: 12.3 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.1443, allocations: 0 / 360 MB, free: 12.3 MB / 302.1 MB Notification: Performance of Transformations before backend: time 6.692e-06/0.1443, allocations: 0 / 360 MB, free: 12.3 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0003925/0.1447, allocations: 335.5 kB / 360.3 MB, free: 11.93 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/0.1448, allocations: 15.97 kB / 360.3 MB, free: 11.91 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.59e-05/0.1448, allocations: 7.906 kB / 360.3 MB, free: 11.9 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000172/0.145, allocations: 175 kB / 360.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.182e-05/0.145, allocations: 4 kB / 360.5 MB, free: 11.69 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.1451, allocations: 8 kB / 360.5 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000346/0.1454, allocations: 127.2 kB / 360.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.967e-06/0.1454, allocations: 0 / 360.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.1455, allocations: 4 kB / 360.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.129e-06/0.1455, allocations: 0 / 360.6 MB, free: 11.54 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001062/0.1456, allocations: 23.97 kB / 360.7 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001485/0.1457, allocations: 157.7 kB / 360.8 MB, free: 11.31 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001396/0.1459, allocations: 62.48 kB / 360.9 MB, free: 11.24 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.238e-05/0.146, allocations: 28.92 kB / 360.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.155e-05/0.146, allocations: 3.938 kB / 360.9 MB, free: 11.21 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.366e-05/0.146, allocations: 30.56 kB / 360.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.072e-06/0.146, allocations: 0 / 360.9 MB, free: 11.17 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002627/0.1463, allocations: 85.7 kB / 361 MB, free: 11.08 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.251e-05/0.1464, allocations: 59.34 kB / 361.1 MB, free: 11.01 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.552e-05/0.1464, allocations: 109.8 kB / 361.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.291e-05/0.1465, allocations: 29.7 kB / 361.2 MB, free: 10.86 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.998e-05/0.1465, allocations: 80.14 kB / 361.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.717e-05/0.1465, allocations: 3.984 kB / 361.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.996e-06/0.1465, allocations: 0 / 361.3 MB, free: 10.77 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001112/0.1466, allocations: 318.8 kB / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.185e-05/0.1467, allocations: 0 / 361.6 MB, free: 10.45 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.51e-05/0.1467, allocations: 43.41 kB / 361.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.269e-05/0.1467, allocations: 8 kB / 361.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.723e-06/0.1467, allocations: 0 / 361.7 MB, free: 10.39 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.554e-05/0.1468, allocations: 61.56 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.548e-05/0.1469, allocations: 4 kB / 361.7 MB, free: 10.32 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.27e-06/0.1469, allocations: 4.125 kB / 361.7 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.506e-05/0.1469, allocations: 7.953 kB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.748e-05/0.147, allocations: 8 kB / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.68e-06/0.147, allocations: 0 / 361.7 MB, free: 10.3 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.308e-05/0.147, allocations: 7.906 kB / 361.7 MB, free: 10.29 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.552e-06/0.147, allocations: 4 kB / 361.8 MB, free: 10.29 MB / 302.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 (step.counter,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 6.922e-05/0.1471, allocations: 109.8 kB / 361.9 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001303/0.1472, allocations: 73.59 kB / 361.9 MB, free: 10.09 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.579e-05/0.1473, allocations: 7.844 kB / 361.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.861e-06/0.1473, allocations: 7.953 kB / 361.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.1473, allocations: 0 / 361.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.184e-06/0.1473, allocations: 0 / 361.9 MB, free: 10.07 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.105e-05/0.1474, allocations: 153.7 kB / 362.1 MB, free: 9.867 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.445e-06/0.1474, allocations: 7.922 kB / 362.1 MB, free: 9.859 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.711e-05/0.1474, allocations: 12 kB / 362.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.845e-06/0.1474, allocations: 0 / 362.1 MB, free: 9.848 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.752e-06/0.1475, allocations: 4 kB / 362.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.833e-06/0.1475, allocations: 384 / 362.1 MB, free: 9.844 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.955e-06/0.1475, allocations: 3.953 kB / 362.1 MB, free: 9.84 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001642/0.1476, allocations: 100.9 kB / 362.2 MB, free: 9.723 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.362e-05/0.1477, allocations: 81.11 kB / 362.3 MB, free: 9.625 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.728e-05/0.1477, allocations: 4 kB / 362.3 MB, free: 9.621 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.952e-05/0.1477, allocations: 4 kB / 362.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-06/0.1478, allocations: 0 / 362.3 MB, free: 9.617 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.121e-06/0.1478, allocations: 3.984 kB / 362.3 MB, free: 9.613 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.395e-05/0.1478, allocations: 87.23 kB / 362.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1478, allocations: 0 / 362.4 MB, free: 9.527 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001813/0.148, allocations: 8 kB / 362.4 MB, free: 9.52 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 (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 9.685e-05/0.1481, allocations: 95.25 kB / 362.5 MB, free: 9.418 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.000128/0.1482, allocations: 39.91 kB / 362.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.1483, allocations: 0 / 362.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.51e-07/0.1483, allocations: 0 / 362.5 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002964/0.1486, allocations: 31.92 kB / 362.6 MB, free: 9.348 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002975/0.1489, allocations: 125 kB / 362.7 MB, free: 9.195 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002262/0.1491, allocations: 0.677 MB / 363.4 MB, free: 8.492 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.44e-05/0.1491, allocations: 4 kB / 363.4 MB, free: 8.488 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.318e-05/0.1492, allocations: 7.438 kB / 363.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of SimCode: time 1.864e-06/0.1492, allocations: 0 / 363.4 MB, free: 8.48 MB / 302.1 MB Notification: Performance of Templates: time 0.002508/0.1517, allocations: 403.9 kB / 363.8 MB, free: 8.086 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches