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.0008907/0.0008908, allocations: 101.7 kB / 17 MB, free: 5.949 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008584/0.0008584, allocations: 196.3 kB / 17.9 MB, free: 5.559 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.456/1.456, allocations: 227.7 MB / 246.4 MB, free: 9.805 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002783/0.0002784, allocations: 4 kB / 307.1 MB, free: 0.9609 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1164/0.1167, allocations: 51.54 MB / 358.6 MB, free: 13.43 MB / 302.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001564/0.1183, allocations: 1.129 MB / 359.8 MB, free: 12.29 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0001847/0.1185, allocations: 35.91 kB / 359.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.869e-05/0.1186, allocations: 0 / 359.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 2.147e-05/0.1186, allocations: 7.922 kB / 359.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.354e-05/0.1186, allocations: 0 / 359.8 MB, free: 12.25 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002372/0.1189, allocations: 15.98 kB / 359.8 MB, free: 12.23 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 7.508e-05/0.119, allocations: 27.92 kB / 359.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.754e-05/0.1191, allocations: 7.984 kB / 359.9 MB, free: 12.2 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.083e-05/0.1191, allocations: 19.92 kB / 359.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.426e-05/0.1192, allocations: 0 / 359.9 MB, free: 12.18 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.1192, allocations: 4 kB / 359.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.618e-06/0.1192, allocations: 0 / 359.9 MB, free: 12.17 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 1.947e-05/0.1192, allocations: 11.92 kB / 359.9 MB, free: 12.16 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.959e-05/0.1193, allocations: 29.7 kB / 359.9 MB, free: 12.12 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 6.134e-05/0.1193, allocations: 19.91 kB / 359.9 MB, free: 12.11 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.1193, allocations: 4 kB / 359.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of FrontEnd: time 1.824e-06/0.1193, allocations: 0 / 359.9 MB, free: 12.1 MB / 302.1 MB Notification: Performance of Transformations before backend: time 5.48e-06/0.1194, allocations: 0 / 359.9 MB, free: 12.1 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.0003835/0.1197, allocations: 339.5 kB / 360.3 MB, free: 11.72 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.496e-05/0.1198, allocations: 8.031 kB / 360.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.927e-05/0.1198, allocations: 4 kB / 360.3 MB, free: 11.71 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001601/0.12, allocations: 179 kB / 360.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.583e-05/0.12, allocations: 0 / 360.5 MB, free: 11.5 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.165e-05/0.12, allocations: 11.88 kB / 360.5 MB, free: 11.48 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003088/0.1204, allocations: 119.2 kB / 360.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.276e-06/0.1204, allocations: 0 / 360.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.508e-06/0.1204, allocations: 0 / 360.6 MB, free: 11.36 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.662e-06/0.1204, allocations: 3.984 kB / 360.6 MB, free: 11.35 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.361e-05/0.1205, allocations: 27.97 kB / 360.6 MB, free: 11.32 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001458/0.1207, allocations: 153.7 kB / 360.8 MB, free: 11.12 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000124/0.1208, allocations: 54.53 kB / 360.8 MB, free: 11.06 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.546e-05/0.1209, allocations: 20.89 kB / 360.8 MB, free: 11.04 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.116e-05/0.1209, allocations: 7.984 kB / 360.9 MB, free: 11.03 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.65e-05/0.1209, allocations: 34.56 kB / 360.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.273e-06/0.1209, allocations: 0 / 360.9 MB, free: 10.99 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002335/0.1212, allocations: 77.62 kB / 361 MB, free: 10.91 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.95e-05/0.1212, allocations: 51.41 kB / 361 MB, free: 10.84 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.851e-05/0.1213, allocations: 109.8 kB / 361.1 MB, free: 10.73 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.592e-05/0.1213, allocations: 25.7 kB / 361.1 MB, free: 10.7 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.656e-05/0.1214, allocations: 92.08 kB / 361.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.241e-05/0.1214, allocations: 0 / 361.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.545e-06/0.1214, allocations: 0 / 361.2 MB, free: 10.6 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001127/0.1215, allocations: 318.8 kB / 361.5 MB, free: 10.28 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.326e-05/0.1215, allocations: 4 kB / 361.6 MB, free: 10.28 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.851e-05/0.1216, allocations: 27.44 kB / 361.6 MB, free: 10.24 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.462e-05/0.1216, allocations: 12 kB / 361.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.823e-06/0.1216, allocations: 0 / 361.6 MB, free: 10.23 MB / 302.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.239e-05/0.1217, allocations: 61.62 kB / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.297e-05/0.1217, allocations: 4 kB / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.553e-06/0.1217, allocations: 0 / 361.7 MB, free: 10.16 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.559e-05/0.1218, allocations: 11.89 kB / 361.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.225e-05/0.1218, allocations: 7.984 kB / 361.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.73e-06/0.1219, allocations: 0 / 361.7 MB, free: 10.14 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.063e-05/0.1219, allocations: 8.438 kB / 361.7 MB, free: 10.13 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.593e-06/0.1219, allocations: 7.984 kB / 361.7 MB, free: 10.12 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 (step.counter,$CLKPRE.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 7.348e-05/0.122, allocations: 117.8 kB / 361.8 MB, free: 9.996 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001208/0.1221, allocations: 65.52 kB / 361.9 MB, free: 9.926 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.536e-05/0.1221, allocations: 11.5 kB / 361.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.173e-06/0.1221, allocations: 0 / 361.9 MB, free: 9.906 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.131e-06/0.1222, allocations: 3.953 kB / 361.9 MB, free: 9.902 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.365e-06/0.1222, allocations: 4 kB / 361.9 MB, free: 9.898 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.587e-05/0.1223, allocations: 153.7 kB / 362 MB, free: 9.699 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.182e-06/0.1223, allocations: 8 kB / 362 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.706e-05/0.1223, allocations: 0 / 362 MB, free: 9.691 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.947e-06/0.1223, allocations: 4 kB / 362.1 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.512e-06/0.1223, allocations: 0 / 362.1 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.103e-06/0.1223, allocations: 0 / 362.1 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.1223, allocations: 0 / 362.1 MB, free: 9.688 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001454/0.1225, allocations: 89.3 kB / 362.1 MB, free: 9.582 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.1225, allocations: 92.97 kB / 362.2 MB, free: 9.473 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.428e-05/0.1225, allocations: 4 kB / 362.2 MB, free: 9.469 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.616e-05/0.1226, allocations: 4 kB / 362.2 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.805e-06/0.1226, allocations: 0 / 362.2 MB, free: 9.465 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.616e-06/0.1226, allocations: 4 kB / 362.2 MB, free: 9.461 MB / 302.1 MB Notification: Performance of sorting global known variables: time 3.567e-05/0.1226, allocations: 83.22 kB / 362.3 MB, free: 9.379 MB / 302.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1226, allocations: 0 / 362.3 MB, free: 9.379 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001891/0.1228, allocations: 7.953 kB / 362.3 MB, free: 9.371 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 (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.0001145/0.123, allocations: 105.9 kB / 362.4 MB, free: 9.262 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001186/0.1231, allocations: 31.98 kB / 362.5 MB, free: 9.23 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 3.917e-06/0.1231, allocations: 0 / 362.5 MB, free: 9.23 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 5.1e-07/0.1231, allocations: 3.938 kB / 362.5 MB, free: 9.227 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002247/0.1233, allocations: 23.98 kB / 362.5 MB, free: 9.203 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002933/0.1236, allocations: 116.7 kB / 362.6 MB, free: 9.059 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003586/0.124, allocations: 0.6812 MB / 363.3 MB, free: 8.352 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.792e-05/0.124, allocations: 4 kB / 363.3 MB, free: 8.348 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.372e-05/0.1241, allocations: 11.44 kB / 363.3 MB, free: 8.336 MB / 302.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1241, allocations: 0 / 363.3 MB, free: 8.336 MB / 302.1 MB Notification: Performance of Templates: time 0.002292/0.1264, allocations: 339.8 kB / 363.6 MB, free: 8.004 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