Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.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.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001344/0.001345, allocations: 94.75 kB / 16.98 MB, free: 5.938 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001577/0.001577, allocations: 205.4 kB / 17.89 MB, free: 5.586 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.532/1.532, allocations: 227.2 MB / 245.9 MB, free: 10.34 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003026/0.0003026, allocations: 4 kB / 306.6 MB, free: 1.402 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1386/0.1389, allocations: 51.49 MB / 358.1 MB, free: 13.91 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.001691/0.1407, allocations: 1.141 MB / 359.2 MB, free: 12.76 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002675/0.1409, allocations: 91.72 kB / 359.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.117e-05/0.141, allocations: 0 / 359.3 MB, free: 12.67 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.351e-05/0.141, allocations: 7.922 kB / 359.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.558e-05/0.1411, allocations: 3.984 kB / 359.3 MB, free: 12.66 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.1414, allocations: 19.94 kB / 359.3 MB, free: 12.64 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.639e-05/0.1414, allocations: 15.97 kB / 359.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000102/0.1415, allocations: 4 kB / 359.3 MB, free: 12.62 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 3.645e-05/0.1416, allocations: 11.94 kB / 359.4 MB, free: 12.61 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.887e-05/0.1416, allocations: 23.84 kB / 359.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.548e-05/0.1417, allocations: 0 / 359.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.277e-05/0.1417, allocations: 0 / 359.4 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.75e-05/0.1417, allocations: 4 kB / 359.4 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.765e-05/0.1417, allocations: 29.7 kB / 359.4 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 7.602e-05/0.1418, allocations: 11.97 kB / 359.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.846e-06/0.1418, allocations: 0 / 359.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of FrontEnd: time 4.759e-06/0.1418, allocations: 0 / 359.4 MB, free: 12.54 MB / 302.1 MB Notification: Performance of Transformations before backend: time 4.95e-06/0.1418, allocations: 3.938 kB / 359.4 MB, free: 12.53 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.000455/0.1423, allocations: 339.5 kB / 359.8 MB, free: 12.15 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.193e-05/0.1424, allocations: 8.031 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.539e-05/0.1424, allocations: 7.984 kB / 359.8 MB, free: 12.14 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001767/0.1426, allocations: 171 kB / 359.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.407e-05/0.1426, allocations: 4 kB / 359.9 MB, free: 11.93 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.204e-05/0.1426, allocations: 4 kB / 360 MB, free: 11.92 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002889/0.1429, allocations: 107.2 kB / 360.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.444e-06/0.1429, allocations: 0 / 360.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.036e-05/0.143, allocations: 0 / 360.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.55e-06/0.143, allocations: 0 / 360.1 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.096e-05/0.143, allocations: 19.98 kB / 360.1 MB, free: 11.79 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001736/0.1432, allocations: 157.7 kB / 360.2 MB, free: 11.58 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001465/0.1434, allocations: 54.5 kB / 360.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.103e-05/0.1434, allocations: 0 / 360.3 MB, free: 11.52 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.162e-05/0.1434, allocations: 30.56 kB / 360.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 8.12e-07/0.1435, allocations: 0 / 360.3 MB, free: 11.48 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002365/0.1437, allocations: 73.92 kB / 360.4 MB, free: 11.4 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.672e-05/0.1438, allocations: 63.39 kB / 360.4 MB, free: 11.33 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.239e-05/0.1439, allocations: 105.8 kB / 360.6 MB, free: 11.21 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.44e-05/0.1439, allocations: 25.7 kB / 360.6 MB, free: 11.18 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.989e-05/0.1439, allocations: 84.14 kB / 360.7 MB, free: 11.1 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.053e-05/0.144, allocations: 3.984 kB / 360.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.144, allocations: 0 / 360.7 MB, free: 11.09 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001278/0.1441, allocations: 314.8 kB / 361 MB, free: 10.78 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.198e-05/0.1441, allocations: 4 kB / 361 MB, free: 10.77 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.271e-05/0.1442, allocations: 35.42 kB / 361 MB, free: 10.73 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.079e-05/0.1442, allocations: 4 kB / 361 MB, free: 10.72 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.1442, allocations: 0 / 361 MB, free: 10.72 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.584e-05/0.1443, allocations: 57.48 kB / 361.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.584e-05/0.1443, allocations: 4 kB / 361.1 MB, free: 10.66 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.462e-06/0.1443, allocations: 4.109 kB / 361.1 MB, free: 10.65 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.833e-05/0.1443, allocations: 11.95 kB / 361.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.232e-05/0.1444, allocations: 0 / 361.1 MB, free: 10.64 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.906e-06/0.1444, allocations: 7.938 kB / 361.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.934e-05/0.1444, allocations: 0 / 361.1 MB, free: 10.63 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.791e-06/0.1444, allocations: 4 kB / 361.1 MB, free: 10.63 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: 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 0.0001036/0.1445, allocations: 114 kB / 361.2 MB, free: 10.51 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.851e-05/0.1446, allocations: 61.62 kB / 361.3 MB, free: 10.44 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.795e-05/0.1447, allocations: 11.5 kB / 361.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.917e-06/0.1447, allocations: 3.953 kB / 361.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.043e-06/0.1447, allocations: 0 / 361.3 MB, free: 10.42 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.011e-06/0.1447, allocations: 3.984 kB / 361.3 MB, free: 10.41 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001119/0.1449, allocations: 157.6 kB / 361.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.92e-07/0.1449, allocations: 0 / 361.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2e-05/0.1449, allocations: 4 kB / 361.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.573e-06/0.1449, allocations: 0 / 361.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.393e-06/0.1449, allocations: 0 / 361.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.112e-06/0.1449, allocations: 0 / 361.4 MB, free: 10.21 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.515e-06/0.1449, allocations: 3.953 kB / 361.5 MB, free: 10.2 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001245/0.145, allocations: 89.05 kB / 361.5 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.02e-05/0.1451, allocations: 77.11 kB / 361.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.227e-05/0.1451, allocations: 0 / 361.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.202e-05/0.1451, allocations: 4 kB / 361.6 MB, free: 10 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.607e-06/0.1452, allocations: 3.938 kB / 361.6 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.929e-06/0.1452, allocations: 4 kB / 361.6 MB, free: 9.992 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.497e-05/0.1452, allocations: 87.22 kB / 361.7 MB, free: 9.906 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1452, allocations: 4 kB / 361.7 MB, free: 9.902 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000183/0.1454, allocations: 4 kB / 361.7 MB, free: 9.898 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: 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.0001269/0.1455, allocations: 99.25 kB / 361.8 MB, free: 9.793 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001102/0.1457, allocations: 27.92 kB / 361.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 2.624e-06/0.1457, allocations: 0 / 361.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.61e-07/0.1457, allocations: 0 / 361.8 MB, free: 9.766 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002114/0.1459, allocations: 20.28 kB / 361.9 MB, free: 9.746 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002844/0.1462, allocations: 112.7 kB / 362 MB, free: 9.605 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002465/0.1464, allocations: 0.6809 MB / 362.7 MB, free: 8.898 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.599e-05/0.1465, allocations: 7.984 kB / 362.7 MB, free: 8.891 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.683e-05/0.1465, allocations: 7.438 kB / 362.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of SimCode: time 3.51e-07/0.1465, allocations: 0 / 362.7 MB, free: 8.883 MB / 302.1 MB Notification: Performance of Templates: time 0.002967/0.1495, allocations: 286.5 kB / 362.9 MB, free: 8.605 MB / 302.1 MB make -j1 -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches