Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_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 4.1.0-beta.om/package.mo", uses=false) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/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_4.1.0-beta.om_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_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001794/0.001794, allocations: 102.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.002023/0.002023, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.645/1.645, allocations: 227.7 MB / 247.1 MB, free: 10.26 MB / 206.1 MB Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00192/0.00192, allocations: 68.45 kB / 307.2 MB, free: 456 kB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1325/0.1345, allocations: 50.55 MB / 357.8 MB, free: 13.88 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep): time 0.003991/0.1385, allocations: 1.415 MB / 359.2 MB, free: 12.45 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0003515/0.1389, allocations: 109.3 kB / 359.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.069e-05/0.139, allocations: 0 / 359.3 MB, free: 12.35 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 4.628e-05/0.1391, allocations: 3.938 kB / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 4.534e-05/0.1391, allocations: 0 / 359.3 MB, free: 12.34 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002993/0.1394, allocations: 31.91 kB / 359.3 MB, free: 12.31 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001074/0.1395, allocations: 15.94 kB / 359.4 MB, free: 12.3 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001246/0.1397, allocations: 15.98 kB / 359.4 MB, free: 12.28 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.132e-05/0.1397, allocations: 7.938 kB / 359.4 MB, free: 12.27 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.889e-05/0.1398, allocations: 15.92 kB / 359.4 MB, free: 12.26 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 2.183e-05/0.1398, allocations: 4 kB / 359.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.1398, allocations: 0 / 359.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.689e-05/0.1398, allocations: 8 kB / 359.4 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 4.977e-05/0.1399, allocations: 11.88 kB / 359.4 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001171/0.14, allocations: 27.89 kB / 359.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.362e-06/0.14, allocations: 0 / 359.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of FrontEnd: time 2.224e-06/0.14, allocations: 0 / 359.4 MB, free: 12.21 MB / 302.1 MB Notification: Performance of Transformations before backend: time 7.404e-06/0.1401, allocations: 0 / 359.4 MB, free: 12.21 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.0004971/0.1406, allocations: 339.7 kB / 359.8 MB, free: 11.82 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.662e-05/0.1406, allocations: 16.02 kB / 359.8 MB, free: 11.81 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.884e-05/0.1407, allocations: 8.844 kB / 359.8 MB, free: 11.8 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002113/0.1409, allocations: 172.3 kB / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.447e-05/0.1409, allocations: 4.375 kB / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.512e-05/0.1409, allocations: 4.375 kB / 360 MB, free: 11.59 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002961/0.1412, allocations: 99.83 kB / 360.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.117e-06/0.1413, allocations: 192 / 360.1 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.439e-05/0.1413, allocations: 3.938 kB / 360.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.095e-06/0.1413, allocations: 3.984 kB / 360.1 MB, free: 11.47 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.513e-05/0.1414, allocations: 12 kB / 360.1 MB, free: 11.46 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001873/0.1415, allocations: 157.7 kB / 360.3 MB, free: 11.25 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001482/0.1417, allocations: 54.52 kB / 360.3 MB, free: 11.19 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.752e-05/0.1418, allocations: 20.86 kB / 360.3 MB, free: 11.17 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.465e-05/0.1418, allocations: 4.031 kB / 360.3 MB, free: 11.16 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.274e-05/0.1418, allocations: 30.56 kB / 360.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.052e-06/0.1418, allocations: 0 / 360.4 MB, free: 11.12 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002136/0.1421, allocations: 69.53 kB / 360.4 MB, free: 11.05 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.204e-05/0.1421, allocations: 55.41 kB / 360.5 MB, free: 10.98 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.824e-05/0.1422, allocations: 105.8 kB / 360.6 MB, free: 10.87 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.897e-05/0.1423, allocations: 29.7 kB / 360.6 MB, free: 10.84 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.697e-05/0.1423, allocations: 84.08 kB / 360.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.065e-06/0.1423, allocations: 0 / 360.7 MB, free: 10.75 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.569e-05/0.1424, allocations: 21.7 kB / 360.7 MB, free: 10.72 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.1425, allocations: 310.8 kB / 361 MB, free: 10.41 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.29e-05/0.1425, allocations: 8 kB / 361 MB, free: 10.4 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.947e-05/0.1426, allocations: 23.44 kB / 361.1 MB, free: 10.37 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.201e-05/0.1426, allocations: 43.36 kB / 361.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.914e-06/0.1426, allocations: 3.938 kB / 361.1 MB, free: 10.31 MB / 302.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 7.982e-05/0.1427, allocations: 49.64 kB / 361.1 MB, free: 10.25 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.047e-05/0.1428, allocations: 8.109 kB / 361.2 MB, free: 10.25 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.977e-06/0.1428, allocations: 7.938 kB / 361.2 MB, free: 10.24 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.185e-05/0.1428, allocations: 4 kB / 361.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.232e-05/0.1429, allocations: 0 / 361.2 MB, free: 10.23 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.389e-05/0.1429, allocations: 11.92 kB / 361.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.985e-05/0.1429, allocations: 0 / 361.2 MB, free: 10.22 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.546e-06/0.1429, allocations: 8 kB / 361.2 MB, free: 10.21 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 0.0001391/0.1431, allocations: 109.8 kB / 361.3 MB, free: 10.1 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001128/0.1432, allocations: 57.59 kB / 361.3 MB, free: 10.04 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.806e-05/0.1432, allocations: 11.44 kB / 361.4 MB, free: 10.02 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.647e-06/0.1432, allocations: 4 kB / 361.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1432, allocations: 4.234 kB / 361.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.727e-06/0.1433, allocations: 0 / 361.4 MB, free: 10.01 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001328/0.1434, allocations: 157.7 kB / 361.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.122e-06/0.1434, allocations: 0 / 361.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.679e-05/0.1434, allocations: 0 / 361.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.743e-06/0.1434, allocations: 0 / 361.5 MB, free: 9.805 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.149e-05/0.1434, allocations: 7.938 kB / 361.5 MB, free: 9.797 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.316e-06/0.1435, allocations: 7.875 kB / 361.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.01e-07/0.1435, allocations: 0 / 361.5 MB, free: 9.789 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001553/0.1436, allocations: 85.11 kB / 361.6 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.972e-05/0.1437, allocations: 81.39 kB / 361.7 MB, free: 9.59 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.817e-05/0.1437, allocations: 7.938 kB / 361.7 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.147e-05/0.1437, allocations: 4 kB / 361.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.447e-06/0.1438, allocations: 0 / 361.7 MB, free: 9.578 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.123e-06/0.1438, allocations: 3.984 kB / 361.7 MB, free: 9.574 MB / 302.1 MB Notification: Performance of sorting global known variables: time 6.277e-05/0.1438, allocations: 83.27 kB / 361.8 MB, free: 9.492 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1438, allocations: 4 kB / 361.8 MB, free: 9.488 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.000199/0.144, allocations: 4 kB / 361.8 MB, free: 9.484 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.0001346/0.1442, allocations: 99.25 kB / 361.9 MB, free: 9.379 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001327/0.1443, allocations: 31.92 kB / 361.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 9.268e-06/0.1443, allocations: 0 / 361.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.51e-07/0.1444, allocations: 0 / 361.9 MB, free: 9.348 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002347/0.1446, allocations: 23.94 kB / 362 MB, free: 9.324 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003011/0.1449, allocations: 121.7 kB / 362.1 MB, free: 9.18 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000364/0.1453, allocations: 0.6807 MB / 362.8 MB, free: 8.473 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.444e-05/0.1453, allocations: 3.984 kB / 362.8 MB, free: 8.469 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.57e-05/0.1453, allocations: 11.44 kB / 362.8 MB, free: 8.457 MB / 302.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1453, allocations: 4 kB / 362.8 MB, free: 8.453 MB / 302.1 MB Notification: Performance of Templates: time 0.002754/0.1481, allocations: 312.5 kB / 363.1 MB, free: 8.156 MB / 302.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TimeBasedStep/TimeBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TimeBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches