Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001068/0.001068, allocations: 104.6 kB / 16.51 MB, free: 6.719 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001101/0.001101, allocations: 194.5 kB / 17.43 MB, free: 6.059 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.477/1.477, allocations: 222.9 MB / 241.1 MB, free: 15.36 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.00119/0.00119, allocations: 52.33 kB / 300 MB, free: 6.293 MB / 238.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1111/0.1123, allocations: 49.44 MB / 349.4 MB, free: 4.84 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.003936/0.1163, allocations: 1.472 MB / 350.9 MB, free: 3.352 MB / 286.1 MB Notification: Performance of NFInst.instExpressions: time 0.000285/0.1166, allocations: 31.91 kB / 350.9 MB, free: 3.32 MB / 286.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.827e-05/0.1168, allocations: 3.938 kB / 350.9 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFTyping.typeComponents: time 4.409e-05/0.1168, allocations: 0 / 350.9 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFTyping.typeBindings: time 4.337e-05/0.1169, allocations: 0 / 350.9 MB, free: 3.316 MB / 286.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003387/0.1172, allocations: 23.92 kB / 350.9 MB, free: 3.293 MB / 286.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001041/0.1173, allocations: 31.91 kB / 351 MB, free: 3.262 MB / 286.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000134/0.1175, allocations: 15.94 kB / 351 MB, free: 3.246 MB / 286.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.395e-05/0.1175, allocations: 8 kB / 351 MB, free: 3.238 MB / 286.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.442e-05/0.1176, allocations: 7.922 kB / 351 MB, free: 3.23 MB / 286.1 MB Notification: Performance of NFPackage.collectConstants: time 2.396e-05/0.1176, allocations: 4 kB / 351 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.295e-05/0.1177, allocations: 0 / 351 MB, free: 3.227 MB / 286.1 MB Notification: Performance of NFScalarize.scalarize: time 3.15e-05/0.1177, allocations: 11.94 kB / 351 MB, free: 3.215 MB / 286.1 MB Notification: Performance of NFVerifyModel.verify: time 4.896e-05/0.1178, allocations: 11.92 kB / 351 MB, free: 3.203 MB / 286.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001202/0.1179, allocations: 27.89 kB / 351 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.999e-06/0.1179, allocations: 0 / 351 MB, free: 3.176 MB / 286.1 MB Notification: Performance of FrontEnd: time 1.443e-06/0.1179, allocations: 0 / 351 MB, free: 3.176 MB / 286.1 MB Notification: Performance of Transformations before backend: time 5.3e-06/0.1179, allocations: 4 kB / 351 MB, free: 3.172 MB / 286.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.0007743/0.1187, allocations: 343.7 kB / 351.4 MB, free: 2.785 MB / 286.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.696e-05/0.1188, allocations: 12.03 kB / 351.4 MB, free: 2.773 MB / 286.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.884e-05/0.1188, allocations: 4.844 kB / 351.4 MB, free: 2.77 MB / 286.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002198/0.119, allocations: 172.3 kB / 351.6 MB, free: 2.562 MB / 286.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.501e-05/0.1191, allocations: 4.375 kB / 351.6 MB, free: 2.559 MB / 286.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.966e-05/0.1191, allocations: 4.375 kB / 351.6 MB, free: 2.555 MB / 286.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003819/0.1195, allocations: 115.9 kB / 351.7 MB, free: 2.43 MB / 286.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.1195, allocations: 192 / 351.7 MB, free: 2.43 MB / 286.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.294e-05/0.1195, allocations: 3.938 kB / 351.7 MB, free: 2.426 MB / 286.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.981e-06/0.1196, allocations: 0 / 351.7 MB, free: 2.426 MB / 286.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001084/0.1197, allocations: 27.95 kB / 351.7 MB, free: 2.398 MB / 286.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001947/0.1199, allocations: 153.7 kB / 351.9 MB, free: 2.199 MB / 286.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001576/0.12, allocations: 58.52 kB / 351.9 MB, free: 2.133 MB / 286.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.317e-05/0.1201, allocations: 28.89 kB / 352 MB, free: 2.102 MB / 286.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.128e-05/0.1202, allocations: 0 / 352 MB, free: 2.102 MB / 286.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.309e-05/0.1202, allocations: 34.5 kB / 352 MB, free: 2.059 MB / 286.1 MB Notification: Performance of pre-optimization done (n=4): time 9.82e-07/0.1202, allocations: 0 / 352 MB, free: 2.059 MB / 286.1 MB Notification: Performance of matching and sorting (n=4): time 0.000275/0.1205, allocations: 81.45 kB / 352.1 MB, free: 1.973 MB / 286.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.681e-05/0.1205, allocations: 51.41 kB / 352.1 MB, free: 1.91 MB / 286.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.887e-05/0.1206, allocations: 109.8 kB / 352.2 MB, free: 1.793 MB / 286.1 MB Notification: Performance of collectPreVariables (initialization): time 1.209e-05/0.1207, allocations: 29.7 kB / 352.3 MB, free: 1.758 MB / 286.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.032e-05/0.1207, allocations: 88.12 kB / 352.3 MB, free: 1.668 MB / 286.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.599e-05/0.1207, allocations: 4 kB / 352.3 MB, free: 1.664 MB / 286.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.12e-05/0.1208, allocations: 21.7 kB / 352.4 MB, free: 1.637 MB / 286.1 MB Notification: Performance of setup shared object (initialization): time 0.0002024/0.121, allocations: 310.8 kB / 352.7 MB, free: 1.324 MB / 286.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.007e-05/0.1211, allocations: 8 kB / 352.7 MB, free: 1.316 MB / 286.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.482e-05/0.1211, allocations: 27.8 kB / 352.7 MB, free: 1.277 MB / 286.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.517e-05/0.1212, allocations: 43.38 kB / 352.7 MB, free: 1.223 MB / 286.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.074e-06/0.1212, allocations: 0 / 352.7 MB, free: 1.223 MB / 286.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001181/0.1213, allocations: 65.53 kB / 352.8 MB, free: 1.152 MB / 286.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.711e-05/0.1213, allocations: 10.78 kB / 352.8 MB, free: 1.145 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.974e-06/0.1213, allocations: 3.938 kB / 352.8 MB, free: 1.141 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.1214, allocations: 4 kB / 352.8 MB, free: 1.137 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.407e-05/0.1214, allocations: 7.938 kB / 352.8 MB, free: 1.129 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.891e-06/0.1214, allocations: 0 / 352.8 MB, free: 1.129 MB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.188e-05/0.1215, allocations: 0 / 352.8 MB, free: 1.129 MB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.338e-06/0.1215, allocations: 4 kB / 352.8 MB, free: 1.125 MB / 286.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 ($CLKPRE.step.counter,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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 9.395e-05/0.1216, allocations: 113.8 kB / 353 MB, free: 1.004 MB / 286.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001553/0.1217, allocations: 61.67 kB / 353 MB, free: 0.9375 MB / 286.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.206e-05/0.1218, allocations: 15.38 kB / 353 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.033e-06/0.1218, allocations: 0 / 353 MB, free: 0.9141 MB / 286.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.915e-06/0.1218, allocations: 3.984 kB / 353 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.617e-06/0.1218, allocations: 0 / 353 MB, free: 0.9102 MB / 286.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.1219, allocations: 153.7 kB / 353.2 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.713e-06/0.1219, allocations: 0 / 353.2 MB, free: 0.7109 MB / 286.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.356e-05/0.122, allocations: 4 kB / 353.2 MB, free: 0.707 MB / 286.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.042e-05/0.122, allocations: 3.984 kB / 353.2 MB, free: 0.7031 MB / 286.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.39e-05/0.1221, allocations: 7.938 kB / 353.2 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.1221, allocations: 0 / 353.2 MB, free: 0.6953 MB / 286.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.1221, allocations: 3.938 kB / 353.2 MB, free: 0.6914 MB / 286.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001709/0.1223, allocations: 89.25 kB / 353.3 MB, free: 0.5859 MB / 286.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.654e-05/0.1223, allocations: 85.09 kB / 353.4 MB, free: 496 kB / 286.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.215e-05/0.1223, allocations: 11.92 kB / 353.4 MB, free: 484 kB / 286.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.824e-05/0.1224, allocations: 3.938 kB / 353.4 MB, free: 480 kB / 286.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.626e-06/0.1224, allocations: 4 kB / 353.4 MB, free: 476 kB / 286.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.143e-06/0.1224, allocations: 3.984 kB / 353.4 MB, free: 472 kB / 286.1 MB Notification: Performance of sorting global known variables: time 4.459e-05/0.1225, allocations: 83.22 kB / 353.5 MB, free: 388 kB / 286.1 MB Notification: Performance of sort global known variables: time 1.61e-07/0.1225, allocations: 4 kB / 353.5 MB, free: 384 kB / 286.1 MB Notification: Performance of remove unused functions: time 0.0001945/0.1227, allocations: 8 kB / 353.5 MB, free: 376 kB / 286.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 (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.00012/0.1228, allocations: 103.2 kB / 353.6 MB, free: 260 kB / 286.1 MB Notification: Performance of simCode: created initialization part: time 0.0001465/0.1229, allocations: 27.98 kB / 353.6 MB, free: 232 kB / 286.1 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.123, allocations: 0 / 353.6 MB, free: 232 kB / 286.1 MB Notification: Performance of simCode: created simulation system equations: time 3.527e-06/0.123, allocations: 3.938 kB / 353.6 MB, free: 228 kB / 286.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002562/0.1232, allocations: 23.98 kB / 353.6 MB, free: 204 kB / 286.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003195/0.1236, allocations: 119.6 kB / 353.8 MB, free: 56 kB / 286.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003198/0.1239, allocations: 0.6848 MB / 354.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.652e-05/0.1239, allocations: 0 / 354.4 MB, free: 15.34 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.916e-05/0.1239, allocations: 11.44 kB / 354.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of SimCode: time 2.11e-07/0.124, allocations: 3.938 kB / 354.5 MB, free: 15.33 MB / 302.1 MB Notification: Performance of Templates: time 0.002499/0.1265, allocations: 355.2 kB / 354.8 MB, free: 14.98 MB / 302.1 MB make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_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_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches