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.001753/0.001753, allocations: 104.4 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001925/0.001925, allocations: 214.4 kB / 18.58 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.64/1.64, allocations: 227.4 MB / 246.8 MB, free: 10.57 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001845/0.001845, allocations: 63.92 kB / 306.9 MB, free: 0.6484 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1427/0.1446, allocations: 50.53 MB / 357.5 MB, free: 14.11 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003001/0.1476, allocations: 1.421 MB / 358.9 MB, free: 12.68 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002998/0.148, allocations: 97.44 kB / 359 MB, free: 12.59 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.467e-05/0.1481, allocations: 3.938 kB / 359 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.1481, allocations: 3.984 kB / 359 MB, free: 12.58 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.978e-05/0.1482, allocations: 3.938 kB / 359 MB, free: 12.57 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002606/0.1484, allocations: 23.91 kB / 359 MB, free: 12.55 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.773e-05/0.1485, allocations: 20 kB / 359 MB, free: 12.53 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1487, allocations: 19.97 kB / 359.1 MB, free: 12.51 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.197e-05/0.1487, allocations: 11.88 kB / 359.1 MB, free: 12.5 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.929e-05/0.1488, allocations: 23.84 kB / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.1488, allocations: 0 / 359.1 MB, free: 12.48 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.133e-05/0.1488, allocations: 4 kB / 359.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.724e-05/0.1488, allocations: 4 kB / 359.1 MB, free: 12.47 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.442e-05/0.1489, allocations: 15.88 kB / 359.1 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.469e-05/0.1489, allocations: 19.91 kB / 359.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.579e-06/0.149, allocations: 0 / 359.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.149, allocations: 0 / 359.1 MB, free: 12.43 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.57e-06/0.149, allocations: 4 kB / 359.1 MB, free: 12.43 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.000448/0.1494, allocations: 335.7 kB / 359.5 MB, free: 12.05 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.469e-05/0.1495, allocations: 12.03 kB / 359.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.358e-05/0.1495, allocations: 4.844 kB / 359.5 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002271/0.1498, allocations: 176.4 kB / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.951e-05/0.1498, allocations: 4.375 kB / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.868e-06/0.1498, allocations: 384 / 359.7 MB, free: 11.82 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003956/0.1502, allocations: 107.9 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.476e-06/0.1502, allocations: 192 / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1503, allocations: 3.938 kB / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.999e-06/0.1503, allocations: 0 / 359.8 MB, free: 11.7 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.847e-05/0.1503, allocations: 19.92 kB / 359.8 MB, free: 11.68 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001599/0.1505, allocations: 153.7 kB / 359.9 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001402/0.1507, allocations: 54.55 kB / 360 MB, free: 11.42 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.307e-05/0.1507, allocations: 16.89 kB / 360 MB, free: 11.4 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.362e-05/0.1508, allocations: 4 kB / 360 MB, free: 11.39 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.662e-05/0.1508, allocations: 30.56 kB / 360 MB, free: 11.36 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.112e-06/0.1508, allocations: 0 / 360 MB, free: 11.36 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002335/0.151, allocations: 73.5 kB / 360.1 MB, free: 11.28 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.245e-05/0.1511, allocations: 55.41 kB / 360.2 MB, free: 11.21 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.752e-05/0.1512, allocations: 105.8 kB / 360.3 MB, free: 11.1 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 5.419e-05/0.1512, allocations: 25.7 kB / 360.3 MB, free: 11.07 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.375e-05/0.1513, allocations: 84.14 kB / 360.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.906e-06/0.1513, allocations: 4 kB / 360.4 MB, free: 10.98 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.249e-05/0.1513, allocations: 17.72 kB / 360.4 MB, free: 10.95 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001271/0.1515, allocations: 314.8 kB / 360.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.538e-05/0.1515, allocations: 0 / 360.7 MB, free: 10.64 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.502e-05/0.1516, allocations: 31.44 kB / 360.7 MB, free: 10.59 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.637e-05/0.1516, allocations: 39.61 kB / 360.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.904e-06/0.1516, allocations: 3.938 kB / 360.8 MB, free: 10.54 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 0.0001013/0.1517, allocations: 61.58 kB / 360.8 MB, free: 10.47 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.068e-05/0.1518, allocations: 7.281 kB / 360.9 MB, free: 10.47 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.166e-05/0.1518, allocations: 7.938 kB / 360.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.622e-05/0.1518, allocations: 0 / 360.9 MB, free: 10.46 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.302e-05/0.1519, allocations: 11.92 kB / 360.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.174e-06/0.1519, allocations: 0 / 360.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.016e-05/0.1519, allocations: 0 / 360.9 MB, free: 10.45 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.891e-06/0.1519, allocations: 4.281 kB / 360.9 MB, free: 10.45 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.503e-05/0.152, allocations: 125.8 kB / 361 MB, free: 10.31 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.813e-05/0.1521, allocations: 57.52 kB / 361.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.402e-05/0.1522, allocations: 15.44 kB / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.683e-06/0.1522, allocations: 0 / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.378e-06/0.1522, allocations: 0 / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.389e-06/0.1522, allocations: 0 / 361.1 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001178/0.1523, allocations: 157.7 kB / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.1523, allocations: 0 / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.323e-05/0.1524, allocations: 4 kB / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.1524, allocations: 0 / 361.2 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.448e-06/0.1524, allocations: 7.938 kB / 361.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.893e-06/0.1524, allocations: 0 / 361.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.122e-06/0.1524, allocations: 0 / 361.2 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00013/0.1525, allocations: 85.05 kB / 361.3 MB, free: 9.91 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.212e-05/0.1526, allocations: 85.02 kB / 361.4 MB, free: 9.809 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.1526, allocations: 3.938 kB / 361.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.842e-05/0.1526, allocations: 0 / 361.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.515e-06/0.1526, allocations: 0 / 361.4 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.33e-06/0.1527, allocations: 8 kB / 361.4 MB, free: 9.797 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.489e-05/0.1527, allocations: 87.27 kB / 361.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1527, allocations: 0 / 361.5 MB, free: 9.711 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001814/0.1529, allocations: 4 kB / 361.5 MB, free: 9.707 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 (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.0001173/0.153, allocations: 95.44 kB / 361.6 MB, free: 9.605 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001062/0.1531, allocations: 27.92 kB / 361.6 MB, free: 9.578 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.744e-06/0.1531, allocations: 0 / 361.6 MB, free: 9.578 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.11e-07/0.1532, allocations: 4.25 kB / 361.6 MB, free: 9.574 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002194/0.1534, allocations: 20 kB / 361.6 MB, free: 9.555 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002796/0.1537, allocations: 117.4 kB / 361.8 MB, free: 9.414 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002808/0.154, allocations: 0.6807 MB / 362.4 MB, free: 8.707 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.336e-05/0.154, allocations: 0 / 362.4 MB, free: 8.707 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.322e-05/0.154, allocations: 15.42 kB / 362.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of SimCode: time 2e-07/0.154, allocations: 0 / 362.5 MB, free: 8.691 MB / 302.1 MB Notification: Performance of Templates: time 0.002149/0.1562, allocations: 316.5 kB / 362.8 MB, free: 8.383 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches