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.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 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.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.0-beta.om_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.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001257/0.001257, allocations: 114.3 kB / 18.45 MB, free: 4.594 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001272/0.001272, allocations: 208 kB / 19.41 MB, free: 3.645 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.404/1.404, allocations: 227.7 MB / 247.9 MB, free: 10.18 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.001906/0.001906, allocations: 63.84 kB / 359.7 MB, free: 12.78 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2527/0.2546, allocations: 50.54 MB / 410.2 MB, free: 1.457 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002706/0.2573, allocations: 1.433 MB / 411.6 MB, free: 24 kB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002085/0.2575, allocations: 36.05 kB / 411.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.481e-05/0.2576, allocations: 0 / 411.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 2.868e-05/0.2576, allocations: 3.938 kB / 411.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.259e-05/0.2577, allocations: 3.938 kB / 411.7 MB, free: 15.98 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002451/0.2579, allocations: 19.98 kB / 411.7 MB, free: 15.96 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.471e-05/0.258, allocations: 27.97 kB / 411.7 MB, free: 15.93 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.2581, allocations: 11.92 kB / 411.7 MB, free: 15.92 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.227e-05/0.2582, allocations: 7.938 kB / 411.7 MB, free: 15.91 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.997e-05/0.2582, allocations: 15.92 kB / 411.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.174e-05/0.2582, allocations: 8 kB / 411.8 MB, free: 15.89 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.048e-05/0.2582, allocations: 4 kB / 411.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.784e-05/0.2583, allocations: 4 kB / 411.8 MB, free: 15.88 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.839e-05/0.2583, allocations: 19.86 kB / 411.8 MB, free: 15.86 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001044/0.2584, allocations: 27.89 kB / 411.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.2584, allocations: 0 / 411.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.2584, allocations: 0 / 411.8 MB, free: 15.83 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.959e-06/0.2584, allocations: 0 / 411.8 MB, free: 15.83 MB / 334.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.0004565/0.2589, allocations: 339.3 kB / 412.1 MB, free: 15.45 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.795e-05/0.2589, allocations: 12.02 kB / 412.2 MB, free: 15.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.581e-05/0.2589, allocations: 8.938 kB / 412.2 MB, free: 15.43 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000222/0.2592, allocations: 180.3 kB / 412.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.986e-05/0.2592, allocations: 384 / 412.3 MB, free: 15.22 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.307e-05/0.2592, allocations: 4.375 kB / 412.3 MB, free: 15.21 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003625/0.2596, allocations: 119.8 kB / 412.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.013e-05/0.2596, allocations: 192 / 412.5 MB, free: 15.09 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.303e-05/0.2596, allocations: 7.938 kB / 412.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.428e-06/0.2596, allocations: 0 / 412.5 MB, free: 15.08 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000102/0.2597, allocations: 19.98 kB / 412.5 MB, free: 15.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001687/0.2599, allocations: 161.6 kB / 412.6 MB, free: 14.85 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001452/0.26, allocations: 46.56 kB / 412.7 MB, free: 14.8 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.074e-05/0.2601, allocations: 24.92 kB / 412.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.921e-06/0.2601, allocations: 0 / 412.7 MB, free: 14.77 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.498e-05/0.2601, allocations: 38.5 kB / 412.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.21e-07/0.2601, allocations: 0 / 412.8 MB, free: 14.72 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002685/0.2604, allocations: 81.55 kB / 412.8 MB, free: 14.64 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.095e-05/0.2605, allocations: 55.41 kB / 412.9 MB, free: 14.57 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.75e-05/0.2606, allocations: 105.8 kB / 413 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.73e-05/0.2606, allocations: 25.7 kB / 413 MB, free: 14.43 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.196e-05/0.2606, allocations: 84.08 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.2606, allocations: 4 kB / 413.1 MB, free: 14.34 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.464e-05/0.2607, allocations: 21.72 kB / 413.1 MB, free: 14.31 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001672/0.2608, allocations: 318.8 kB / 413.4 MB, free: 13.99 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.385e-05/0.2608, allocations: 4 kB / 413.4 MB, free: 13.98 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.391e-05/0.2609, allocations: 31.38 kB / 413.5 MB, free: 13.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.287e-05/0.2609, allocations: 43.36 kB / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.2609, allocations: 0 / 413.5 MB, free: 13.88 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.057e-05/0.261, allocations: 58.16 kB / 413.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.519e-05/0.261, allocations: 7.984 kB / 413.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.252e-06/0.261, allocations: 3.938 kB / 413.6 MB, free: 13.81 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.628e-05/0.2611, allocations: 7.984 kB / 413.6 MB, free: 13.8 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.029e-05/0.2611, allocations: 8 kB / 413.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.64e-06/0.2611, allocations: 4.125 kB / 413.6 MB, free: 13.79 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.493e-05/0.2612, allocations: 8 kB / 413.6 MB, free: 13.78 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.546e-06/0.2612, allocations: 0 / 413.6 MB, free: 13.78 MB / 334.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.099e-05/0.2612, allocations: 117.7 kB / 413.7 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001388/0.2614, allocations: 61.67 kB / 413.8 MB, free: 13.59 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.539e-05/0.2614, allocations: 7.438 kB / 413.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.373e-06/0.2614, allocations: 0 / 413.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.848e-06/0.2614, allocations: 3.938 kB / 413.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.445e-06/0.2614, allocations: 0 / 413.8 MB, free: 13.57 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001156/0.2615, allocations: 161.7 kB / 414 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.41e-07/0.2615, allocations: 0 / 414 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.207e-05/0.2616, allocations: 8 kB / 414 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.553e-06/0.2616, allocations: 0 / 414 MB, free: 13.36 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.276e-05/0.2616, allocations: 7.938 kB / 414 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.022e-06/0.2616, allocations: 0 / 414 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.2616, allocations: 0 / 414 MB, free: 13.35 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000178/0.2618, allocations: 92.98 kB / 414.1 MB, free: 13.24 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.765e-05/0.2618, allocations: 89.05 kB / 414.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.473e-05/0.2618, allocations: 3.938 kB / 414.1 MB, free: 13.13 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.153e-05/0.2619, allocations: 4 kB / 414.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.164e-06/0.2619, allocations: 0 / 414.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.737e-06/0.2619, allocations: 0 / 414.2 MB, free: 13.12 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.732e-05/0.2619, allocations: 87.27 kB / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2619, allocations: 0 / 414.2 MB, free: 13.04 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001824/0.2621, allocations: 4 kB / 414.2 MB, free: 13.04 MB / 334.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.0001125/0.2622, allocations: 106.6 kB / 414.3 MB, free: 12.92 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001455/0.2624, allocations: 27.92 kB / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 3.897e-06/0.2624, allocations: 4 kB / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.2624, allocations: 0 / 414.4 MB, free: 12.89 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002296/0.2626, allocations: 23.98 kB / 414.4 MB, free: 12.87 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003124/0.2629, allocations: 113.5 kB / 414.5 MB, free: 12.73 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003121/0.2632, allocations: 0.6807 MB / 415.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.859e-05/0.2632, allocations: 8.234 kB / 415.2 MB, free: 12.02 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.452e-05/0.2633, allocations: 11.44 kB / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of SimCode: time 3.1e-07/0.2633, allocations: 0 / 415.2 MB, free: 12 MB / 334.1 MB Notification: Performance of Templates: time 0.002571/0.2658, allocations: 377.4 kB / 415.6 MB, free: 11.64 MB / 334.1 MB make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -s gbode -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches