Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json 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) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) 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) Running command: translateModel(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_trunk_cpp_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_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001136/0.001136, allocations: 192.3 kB / 17.37 MB, free: 4.434 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.432/1.432, allocations: 226.6 MB / 244.7 MB, free: 8.176 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0008184/0.0008184, allocations: 96.75 kB / 296.8 MB, free: 6.902 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000229/0.000229, allocations: 8 kB / 356.7 MB, free: 10.92 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1983/0.1986, allocations: 51.3 MB / 408 MB, free: 27.72 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.001247/0.1999, allocations: 1.128 MB / 409.2 MB, free: 26.59 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001361/0.2, allocations: 27.91 kB / 409.2 MB, free: 26.56 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.051e-05/0.2001, allocations: 7.938 kB / 409.2 MB, free: 26.55 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 1.35e-05/0.2001, allocations: 0.5312 kB / 409.2 MB, free: 26.55 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.52e-05/0.2002, allocations: 0 / 409.2 MB, free: 26.55 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002228/0.2004, allocations: 25.48 kB / 409.2 MB, free: 26.53 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 6.286e-05/0.2005, allocations: 23.92 kB / 409.3 MB, free: 26.51 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.857e-05/0.2006, allocations: 7.984 kB / 409.3 MB, free: 26.5 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.17e-05/0.2006, allocations: 13.47 kB / 409.3 MB, free: 26.49 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.535e-05/0.2006, allocations: 15.91 kB / 409.3 MB, free: 26.47 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.63e-05/0.2007, allocations: 0 / 409.3 MB, free: 26.47 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.799e-06/0.2007, allocations: 0 / 409.3 MB, free: 26.47 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.68e-05/0.2007, allocations: 9.406 kB / 409.3 MB, free: 26.46 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.352e-05/0.2007, allocations: 29.64 kB / 409.3 MB, free: 26.43 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 5.794e-05/0.2008, allocations: 19.95 kB / 409.4 MB, free: 26.41 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.68e-06/0.2008, allocations: 4 kB / 409.4 MB, free: 26.41 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.984e-06/0.2008, allocations: 1.375 kB / 409.4 MB, free: 26.41 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.378e-06/0.2008, allocations: 0 / 409.4 MB, free: 26.41 MB / 298.7 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.0003005/0.2011, allocations: 329.1 kB / 409.7 MB, free: 26.04 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.327e-05/0.2012, allocations: 12.03 kB / 409.7 MB, free: 26.02 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.558e-05/0.2012, allocations: 5.719 kB / 409.7 MB, free: 26.02 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001184/0.2013, allocations: 188.1 kB / 409.9 MB, free: 25.8 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.819e-05/0.2014, allocations: 4.906 kB / 409.9 MB, free: 25.79 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.23e-05/0.2014, allocations: 5.438 kB / 409.9 MB, free: 25.79 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002796/0.2017, allocations: 119.2 kB / 410 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.737e-06/0.2017, allocations: 4.188 kB / 410 MB, free: 25.66 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.598e-06/0.2017, allocations: 7.922 kB / 410 MB, free: 25.65 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2017, allocations: 0 / 410 MB, free: 25.65 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.707e-05/0.2018, allocations: 15.98 kB / 410 MB, free: 25.64 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.245e-05/0.2019, allocations: 157.7 kB / 410.2 MB, free: 25.43 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001149/0.202, allocations: 56.45 kB / 410.2 MB, free: 25.37 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.098e-05/0.2021, allocations: 24.92 kB / 410.3 MB, free: 25.34 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.194e-05/0.2021, allocations: 4 kB / 410.3 MB, free: 25.34 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.434e-05/0.2021, allocations: 38.55 kB / 410.3 MB, free: 25.29 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.092e-06/0.2021, allocations: 0 / 410.3 MB, free: 25.29 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002075/0.2023, allocations: 77.59 kB / 410.4 MB, free: 25.21 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.56e-05/0.2024, allocations: 59.34 kB / 410.4 MB, free: 25.14 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5e-05/0.2025, allocations: 101.9 kB / 410.5 MB, free: 25.03 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 6.703e-06/0.2025, allocations: 25.7 kB / 410.6 MB, free: 25 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.852e-05/0.2025, allocations: 92.12 kB / 410.7 MB, free: 24.91 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.149e-05/0.2025, allocations: 3.906 kB / 410.7 MB, free: 24.9 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.625e-06/0.2025, allocations: 4 kB / 410.7 MB, free: 24.9 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 4.033e-05/0.2026, allocations: 314.8 kB / 411 MB, free: 24.58 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.037e-05/0.2026, allocations: 4 kB / 411 MB, free: 24.58 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.049e-05/0.2026, allocations: 31.42 kB / 411 MB, free: 24.54 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.404e-05/0.2026, allocations: 43.38 kB / 411.1 MB, free: 24.48 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.393e-06/0.2026, allocations: 0 / 411.1 MB, free: 24.48 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 6.238e-05/0.2027, allocations: 57.62 kB / 411.1 MB, free: 24.42 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.158e-05/0.2027, allocations: 4 kB / 411.1 MB, free: 24.41 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.06e-06/0.2027, allocations: 3.938 kB / 411.1 MB, free: 24.41 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.373e-05/0.2028, allocations: 4 kB / 411.1 MB, free: 24.41 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.263e-05/0.2028, allocations: 11.88 kB / 411.1 MB, free: 24.39 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.911e-06/0.2028, allocations: 4.125 kB / 411.1 MB, free: 24.39 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.068e-05/0.2029, allocations: 4 kB / 411.1 MB, free: 24.39 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.358e-06/0.2029, allocations: 4 kB / 411.1 MB, free: 24.38 MB / 298.7 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 5.027e-05/0.2029, allocations: 109.8 kB / 411.3 MB, free: 24.27 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001101/0.203, allocations: 65.58 kB / 411.3 MB, free: 24.2 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.906e-05/0.2031, allocations: 7.438 kB / 411.3 MB, free: 24.18 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.014e-06/0.2031, allocations: 7.922 kB / 411.3 MB, free: 24.17 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.076e-06/0.2031, allocations: 4 kB / 411.3 MB, free: 24.17 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.594e-06/0.2031, allocations: 0 / 411.3 MB, free: 24.17 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.965e-05/0.2031, allocations: 157.7 kB / 411.5 MB, free: 23.96 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.11e-07/0.2031, allocations: 0 / 411.5 MB, free: 23.96 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.962e-05/0.2032, allocations: 7.938 kB / 411.5 MB, free: 23.96 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.2032, allocations: 7.984 kB / 411.5 MB, free: 23.95 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.484e-06/0.2032, allocations: 3.938 kB / 411.5 MB, free: 23.95 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.403e-06/0.2032, allocations: 0 / 411.5 MB, free: 23.95 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.22e-07/0.2032, allocations: 0 / 411.5 MB, free: 23.95 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.2033, allocations: 85.11 kB / 411.6 MB, free: 23.84 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.487e-05/0.2034, allocations: 85.02 kB / 411.7 MB, free: 23.74 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.2034, allocations: 3.938 kB / 411.7 MB, free: 23.74 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.703e-05/0.2034, allocations: 4 kB / 411.7 MB, free: 23.73 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.156e-06/0.2034, allocations: 3.984 kB / 411.7 MB, free: 23.73 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.659e-06/0.2034, allocations: 0 / 411.7 MB, free: 23.73 MB / 298.7 MB Notification: Performance of sorting global known variables: time 1.988e-05/0.2035, allocations: 87.66 kB / 411.8 MB, free: 23.64 MB / 298.7 MB Notification: Performance of sort global known variables: time 1e-07/0.2035, allocations: 0 / 411.8 MB, free: 23.64 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0001706/0.2036, allocations: 4 kB / 411.8 MB, free: 23.64 MB / 298.7 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.0001014/0.2037, allocations: 105.2 kB / 411.9 MB, free: 23.53 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001056/0.2039, allocations: 27.98 kB / 411.9 MB, free: 23.5 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.2039, allocations: 0 / 411.9 MB, free: 23.5 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 5.01e-07/0.2039, allocations: 0 / 411.9 MB, free: 23.5 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002134/0.2041, allocations: 43.08 kB / 411.9 MB, free: 23.46 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002468/0.2044, allocations: 142.3 kB / 412.1 MB, free: 23.29 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001011/0.2045, allocations: 0.6816 MB / 412.8 MB, free: 22.58 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.942e-05/0.2045, allocations: 11.44 kB / 412.8 MB, free: 22.57 MB / 298.7 MB Notification: Performance of SimCode: time 2.91e-07/0.2045, allocations: 0 / 412.8 MB, free: 22.57 MB / 298.7 MB Notification: Performance of Templates: time 0.001447/0.2059, allocations: 0.575 MB / 413.4 MB, free: 22 MB / 298.7 MB make -j1 -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile (rm -f Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep --alarm=480 -emit_protected > Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) diffSimulationResults("Modelica_trunk_cpp_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","../files/Modelica_trunk_cpp_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches