Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.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.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008503/0.0008503, allocations: 91.48 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001175/0.001175, allocations: 202.1 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.603/1.603, allocations: 227.7 MB / 246.8 MB, free: 9.754 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000324/0.0003239, allocations: 4 kB / 307.7 MB, free: 0.5977 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1369/0.1372, allocations: 51.53 MB / 359.3 MB, free: 13.07 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001997/0.1393, allocations: 1.137 MB / 360.4 MB, free: 11.93 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002331/0.1395, allocations: 23.91 kB / 360.4 MB, free: 11.91 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.457e-05/0.1396, allocations: 4 kB / 360.4 MB, free: 11.9 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.091e-05/0.1397, allocations: 7.938 kB / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.544e-05/0.1397, allocations: 3.984 kB / 360.4 MB, free: 11.89 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000295/0.14, allocations: 23.98 kB / 360.5 MB, free: 11.87 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 8.626e-05/0.1401, allocations: 23.92 kB / 360.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001226/0.1402, allocations: 8 kB / 360.5 MB, free: 11.84 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.778e-05/0.1403, allocations: 11.92 kB / 360.5 MB, free: 11.82 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.87e-05/0.1403, allocations: 15.92 kB / 360.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.043e-05/0.1404, allocations: 0 / 360.5 MB, free: 11.81 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.382e-05/0.1404, allocations: 4 kB / 360.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.1404, allocations: 3.984 kB / 360.5 MB, free: 11.8 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 5.667e-05/0.1405, allocations: 41.64 kB / 360.6 MB, free: 11.75 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 9.328e-05/0.1406, allocations: 19.89 kB / 360.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.805e-06/0.1406, allocations: 0 / 360.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.733e-06/0.1406, allocations: 3.938 kB / 360.6 MB, free: 11.73 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.419e-06/0.1406, allocations: 0 / 360.6 MB, free: 11.73 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.0005233/0.1411, allocations: 335.7 kB / 360.9 MB, free: 11.35 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.66e-05/0.1412, allocations: 8.031 kB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.253e-05/0.1413, allocations: 4.938 kB / 360.9 MB, free: 11.34 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002341/0.1415, allocations: 180.3 kB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.195e-05/0.1415, allocations: 8.312 kB / 361.1 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.79e-05/0.1416, allocations: 4.375 kB / 361.1 MB, free: 11.11 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004079/0.142, allocations: 115.8 kB / 361.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.074e-05/0.142, allocations: 192 / 361.2 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.584e-05/0.142, allocations: 3.938 kB / 361.2 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.148e-06/0.142, allocations: 4 kB / 361.3 MB, free: 10.98 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001215/0.1422, allocations: 23.97 kB / 361.3 MB, free: 10.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002023/0.1424, allocations: 157.7 kB / 361.4 MB, free: 10.75 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001764/0.1426, allocations: 54.48 kB / 361.5 MB, free: 10.69 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.958e-05/0.1426, allocations: 24.92 kB / 361.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.459e-05/0.1427, allocations: 7.938 kB / 361.5 MB, free: 10.66 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.311e-05/0.1427, allocations: 38.55 kB / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.563e-06/0.1427, allocations: 0 / 361.6 MB, free: 10.61 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002997/0.143, allocations: 81.52 kB / 361.6 MB, free: 10.52 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.206e-05/0.1431, allocations: 59.39 kB / 361.7 MB, free: 10.45 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.367e-05/0.1432, allocations: 97.86 kB / 361.8 MB, free: 10.35 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.709e-05/0.1432, allocations: 29.64 kB / 361.8 MB, free: 10.31 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.245e-05/0.1433, allocations: 84.14 kB / 361.9 MB, free: 10.23 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.221e-05/0.1433, allocations: 7.984 kB / 361.9 MB, free: 10.22 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.216e-05/0.1434, allocations: 9.719 kB / 361.9 MB, free: 10.2 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001552/0.1435, allocations: 318.8 kB / 362.2 MB, free: 9.883 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.575e-05/0.1435, allocations: 4 kB / 362.2 MB, free: 9.879 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.384e-05/0.1436, allocations: 39.36 kB / 362.3 MB, free: 9.828 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.319e-05/0.1437, allocations: 35.38 kB / 362.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.334e-06/0.1437, allocations: 0 / 362.3 MB, free: 9.781 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001313/0.1438, allocations: 57.62 kB / 362.4 MB, free: 9.719 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.577e-05/0.1438, allocations: 8 kB / 362.4 MB, free: 9.711 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.15e-05/0.1439, allocations: 3.938 kB / 362.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.676e-05/0.1439, allocations: 0 / 362.4 MB, free: 9.707 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.347e-05/0.144, allocations: 4 kB / 362.4 MB, free: 9.703 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.429e-05/0.144, allocations: 7.938 kB / 362.4 MB, free: 9.695 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.143e-05/0.144, allocations: 8.281 kB / 362.4 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.144, allocations: 4 kB / 362.4 MB, free: 9.684 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 ($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 0.0001241/0.1442, allocations: 121.9 kB / 362.5 MB, free: 9.555 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003655/0.1445, allocations: 57.69 kB / 362.6 MB, free: 9.492 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.767e-05/0.1446, allocations: 11.42 kB / 362.6 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.398e-06/0.1446, allocations: 4 kB / 362.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.274e-06/0.1446, allocations: 0 / 362.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.599e-06/0.1446, allocations: 0 / 362.6 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002174/0.1449, allocations: 153.7 kB / 362.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.514e-06/0.1449, allocations: 0 / 362.7 MB, free: 9.27 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.186e-05/0.1449, allocations: 7.984 kB / 362.7 MB, free: 9.262 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.779e-06/0.1449, allocations: 7.938 kB / 362.7 MB, free: 9.254 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.65e-05/0.145, allocations: 11.94 kB / 362.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.145, allocations: 0 / 362.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.694e-06/0.145, allocations: 0 / 362.8 MB, free: 9.242 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001944/0.1452, allocations: 85.11 kB / 362.8 MB, free: 9.141 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001638/0.1453, allocations: 84.95 kB / 362.9 MB, free: 9.039 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.328e-05/0.1454, allocations: 7.875 kB / 362.9 MB, free: 9.031 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.348e-05/0.1454, allocations: 7.984 kB / 362.9 MB, free: 9.023 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.16e-06/0.1454, allocations: 4 kB / 362.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.43e-06/0.1454, allocations: 0 / 362.9 MB, free: 9.02 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.037e-05/0.1455, allocations: 83.28 kB / 363 MB, free: 8.938 MB / 302.1 MB Notification: Performance of sort global known variables: time 2.635e-06/0.1455, allocations: 0 / 363 MB, free: 8.938 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0002431/0.1458, allocations: 7.938 kB / 363 MB, free: 8.93 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.0001543/0.1459, allocations: 95.25 kB / 363.1 MB, free: 8.828 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001641/0.1461, allocations: 31.92 kB / 363.2 MB, free: 8.797 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 4.598e-06/0.1461, allocations: 4.25 kB / 363.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 7.52e-07/0.1461, allocations: 0 / 363.2 MB, free: 8.793 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002993/0.1464, allocations: 35.36 kB / 363.2 MB, free: 8.762 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004255/0.1469, allocations: 116.7 kB / 363.3 MB, free: 8.617 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003842/0.1473, allocations: 0.6814 MB / 364 MB, free: 7.91 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.379e-05/0.1473, allocations: 7.984 kB / 364 MB, free: 7.902 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.904e-05/0.1473, allocations: 7.438 kB / 364 MB, free: 7.895 MB / 302.1 MB Notification: Performance of SimCode: time 9.52e-07/0.1473, allocations: 4 kB / 364 MB, free: 7.891 MB / 302.1 MB Notification: Performance of Templates: time 0.002838/0.1502, allocations: 348.6 kB / 364.4 MB, free: 7.551 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches