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.001481/0.001487, allocations: 102 kB / 17.2 MB, free: 6.293 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001602/0.001602, allocations: 209.8 kB / 18.14 MB, free: 5.371 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.721/1.721, allocations: 227.4 MB / 246.3 MB, free: 10.84 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 64.3 kB / 306.3 MB, free: 1.051 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1446/0.1463, allocations: 50.53 MB / 356.8 MB, free: 14.52 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.002832/0.1491, allocations: 1.496 MB / 358.3 MB, free: 13.02 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002546/0.1494, allocations: 95.69 kB / 358.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.175e-05/0.1495, allocations: 4 kB / 358.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.272e-05/0.1495, allocations: 0 / 358.4 MB, free: 12.92 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.879e-05/0.1496, allocations: 3.938 kB / 358.4 MB, free: 12.91 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002448/0.1498, allocations: 19.97 kB / 358.4 MB, free: 12.89 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001046/0.1499, allocations: 23.92 kB / 358.4 MB, free: 12.87 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001108/0.1501, allocations: 8 kB / 358.4 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.719e-05/0.1501, allocations: 7.938 kB / 358.5 MB, free: 12.86 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 2.965e-05/0.1501, allocations: 19.92 kB / 358.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.634e-05/0.1502, allocations: 0 / 358.5 MB, free: 12.84 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.243e-05/0.1502, allocations: 4 kB / 358.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.684e-05/0.1502, allocations: 0 / 358.5 MB, free: 12.83 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 3.841e-05/0.1502, allocations: 15.88 kB / 358.5 MB, free: 12.82 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 8.07e-05/0.1503, allocations: 23.89 kB / 358.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.45e-06/0.1503, allocations: 0 / 358.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.132e-06/0.1503, allocations: 0 / 358.5 MB, free: 12.79 MB / 302.1 MB Notification: Performance of Transformations before backend: time 9.268e-06/0.1503, allocations: 0 / 358.5 MB, free: 12.79 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.0004349/0.1508, allocations: 339.7 kB / 358.8 MB, free: 12.41 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.015e-05/0.1508, allocations: 16.03 kB / 358.9 MB, free: 12.39 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.478e-05/0.1509, allocations: 12.84 kB / 358.9 MB, free: 12.38 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001711/0.1511, allocations: 172.3 kB / 359 MB, free: 12.18 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.806e-05/0.1511, allocations: 4.375 kB / 359 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.216e-05/0.1511, allocations: 384 / 359 MB, free: 12.17 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002729/0.1514, allocations: 103.9 kB / 359.1 MB, free: 12.06 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.327e-06/0.1514, allocations: 4.188 kB / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.135e-05/0.1514, allocations: 3.938 kB / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.949e-06/0.1514, allocations: 0 / 359.2 MB, free: 12.05 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.067e-05/0.1515, allocations: 12 kB / 359.2 MB, free: 12.04 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001454/0.1516, allocations: 157.7 kB / 359.3 MB, free: 11.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001321/0.1518, allocations: 50.5 kB / 359.4 MB, free: 11.78 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.144e-05/0.1518, allocations: 24.92 kB / 359.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.138e-05/0.1519, allocations: 4 kB / 359.4 MB, free: 11.75 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.978e-05/0.1519, allocations: 30.56 kB / 359.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 9.52e-07/0.1519, allocations: 0 / 359.4 MB, free: 11.71 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002001/0.1521, allocations: 65.53 kB / 359.5 MB, free: 11.64 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.197e-05/0.1521, allocations: 55.34 kB / 359.5 MB, free: 11.57 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.258e-05/0.1522, allocations: 105.8 kB / 359.7 MB, free: 11.46 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.395e-05/0.1523, allocations: 29.7 kB / 359.7 MB, free: 11.42 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 3.809e-05/0.1523, allocations: 84.14 kB / 359.8 MB, free: 11.34 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.206e-06/0.1523, allocations: 4 kB / 359.8 MB, free: 11.33 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.037e-05/0.1523, allocations: 21.7 kB / 359.8 MB, free: 11.3 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.000114/0.1525, allocations: 310.8 kB / 360.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.367e-05/0.1525, allocations: 3.938 kB / 360.1 MB, free: 10.99 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.244e-05/0.1525, allocations: 35.36 kB / 360.1 MB, free: 10.94 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.091e-05/0.1526, allocations: 39.38 kB / 360.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.054e-06/0.1526, allocations: 0 / 360.2 MB, free: 10.89 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 6.934e-05/0.1527, allocations: 53.62 kB / 360.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.436e-05/0.1527, allocations: 4 kB / 360.2 MB, free: 10.83 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.854e-06/0.1527, allocations: 12.06 kB / 360.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.127e-05/0.1527, allocations: 0 / 360.2 MB, free: 10.82 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.173e-05/0.1528, allocations: 7.938 kB / 360.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.883e-06/0.1528, allocations: 0 / 360.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.867e-05/0.1528, allocations: 0 / 360.2 MB, free: 10.81 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.922e-06/0.1528, allocations: 4 kB / 360.2 MB, free: 10.8 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 7.988e-05/0.1529, allocations: 121.7 kB / 360.4 MB, free: 10.68 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.359e-05/0.153, allocations: 49.59 kB / 360.4 MB, free: 10.62 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.977e-05/0.153, allocations: 23.42 kB / 360.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.153, allocations: 0 / 360.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.091e-06/0.153, allocations: 336 / 360.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.156e-06/0.153, allocations: 0 / 360.4 MB, free: 10.59 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.221e-05/0.1531, allocations: 153.9 kB / 360.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.705e-06/0.1532, allocations: 4 kB / 360.6 MB, free: 10.39 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.072e-05/0.1532, allocations: 7.938 kB / 360.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.625e-06/0.1532, allocations: 3.984 kB / 360.6 MB, free: 10.38 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.017e-06/0.1532, allocations: 3.938 kB / 360.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.223e-06/0.1532, allocations: 0 / 360.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.556e-06/0.1532, allocations: 3.984 kB / 360.6 MB, free: 10.37 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000127/0.1533, allocations: 77.12 kB / 360.7 MB, free: 10.27 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.398e-05/0.1534, allocations: 85.02 kB / 360.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.514e-05/0.1534, allocations: 3.938 kB / 360.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.769e-05/0.1534, allocations: 0 / 360.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.665e-06/0.1535, allocations: 0 / 360.8 MB, free: 10.17 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.392e-06/0.1535, allocations: 4 kB / 360.8 MB, free: 10.16 MB / 302.1 MB Notification: Performance of sorting global known variables: time 4.193e-05/0.1535, allocations: 87.27 kB / 360.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1535, allocations: 0 / 360.9 MB, free: 10.08 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001789/0.1537, allocations: 8 kB / 360.9 MB, free: 10.07 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.0001223/0.1538, allocations: 101.7 kB / 361 MB, free: 9.965 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001094/0.1539, allocations: 19.98 kB / 361 MB, free: 9.945 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.997e-06/0.154, allocations: 0 / 361 MB, free: 9.945 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-07/0.154, allocations: 3.938 kB / 361 MB, free: 9.941 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002259/0.1542, allocations: 26.75 kB / 361 MB, free: 9.918 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003108/0.1545, allocations: 123.6 kB / 361.1 MB, free: 9.77 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002931/0.1548, allocations: 0.677 MB / 361.8 MB, free: 9.066 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 2.187e-05/0.1548, allocations: 8.188 kB / 361.8 MB, free: 9.059 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.544e-05/0.1549, allocations: 7.438 kB / 361.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of SimCode: time 5.11e-07/0.1549, allocations: 0 / 361.8 MB, free: 9.051 MB / 302.1 MB Notification: Performance of Templates: time 0.002415/0.1573, allocations: 300.7 kB / 362.1 MB, free: 8.758 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