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/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_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/Complex trunk/package.mo): time 0.001832/0.001832, allocations: 207.3 kB / 17.99 MB, free: 3.777 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.624/1.624, allocations: 226.8 MB / 245.5 MB, free: 6.969 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001187/0.001187, allocations: 107 kB / 296.7 MB, free: 6.453 MB / 234.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001087/0.001087, allocations: 63.88 kB / 356.6 MB, free: 10.57 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.309/0.3101, allocations: 50.45 MB / 407.1 MB, free: 27.79 MB / 298.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002437/0.3126, allocations: 1.474 MB / 408.5 MB, free: 26.32 MB / 298.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002031/0.3128, allocations: 30.91 kB / 408.6 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.259e-05/0.3129, allocations: 0 / 408.6 MB, free: 26.29 MB / 298.7 MB Notification: Performance of NFTyping.typeComponents: time 3.486e-05/0.313, allocations: 7.875 kB / 408.6 MB, free: 26.28 MB / 298.7 MB Notification: Performance of NFTyping.typeBindings: time 3.277e-05/0.313, allocations: 4 kB / 408.6 MB, free: 26.28 MB / 298.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002362/0.3132, allocations: 19.98 kB / 408.6 MB, free: 26.26 MB / 298.7 MB Notification: Performance of NFFlatten.flatten: time 7.329e-05/0.3133, allocations: 27.92 kB / 408.6 MB, free: 26.23 MB / 298.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.3134, allocations: 7.984 kB / 408.6 MB, free: 26.22 MB / 298.7 MB Notification: Performance of NFEvalConstants.evaluate: time 3.369e-05/0.3135, allocations: 19.92 kB / 408.6 MB, free: 26.2 MB / 298.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.201e-05/0.3135, allocations: 11.94 kB / 408.7 MB, free: 26.19 MB / 298.7 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.3135, allocations: 4 kB / 408.7 MB, free: 26.19 MB / 298.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.192e-05/0.3135, allocations: 0 / 408.7 MB, free: 26.19 MB / 298.7 MB Notification: Performance of NFScalarize.scalarize: time 1.812e-05/0.3136, allocations: 3.984 kB / 408.7 MB, free: 26.18 MB / 298.7 MB Notification: Performance of NFVerifyModel.verify: time 3.383e-05/0.3136, allocations: 15.88 kB / 408.7 MB, free: 26.17 MB / 298.7 MB Notification: Performance of NFConvertDAE.convert: time 8.55e-05/0.3137, allocations: 19.95 kB / 408.7 MB, free: 26.15 MB / 298.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.2e-06/0.3137, allocations: 7.938 kB / 408.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of FrontEnd: time 1.032e-06/0.3137, allocations: 0 / 408.7 MB, free: 26.14 MB / 298.7 MB Notification: Performance of Transformations before backend: time 4.548e-06/0.3137, allocations: 0 / 408.7 MB, free: 26.14 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.0003574/0.3141, allocations: 345 kB / 409 MB, free: 25.75 MB / 298.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.048e-05/0.3141, allocations: 8.875 kB / 409.1 MB, free: 25.75 MB / 298.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.39e-05/0.3142, allocations: 8.844 kB / 409.1 MB, free: 25.74 MB / 298.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001321/0.3143, allocations: 172.3 kB / 409.2 MB, free: 25.53 MB / 298.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.777e-05/0.3143, allocations: 8.359 kB / 409.2 MB, free: 25.52 MB / 298.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.454e-05/0.3144, allocations: 4.375 kB / 409.2 MB, free: 25.52 MB / 298.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002946/0.3147, allocations: 115.8 kB / 409.4 MB, free: 25.39 MB / 298.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.3147, allocations: 4.188 kB / 409.4 MB, free: 25.39 MB / 298.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.818e-06/0.3147, allocations: 3.938 kB / 409.4 MB, free: 25.39 MB / 298.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.3147, allocations: 4 kB / 409.4 MB, free: 25.38 MB / 298.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.475e-05/0.3148, allocations: 23.97 kB / 409.4 MB, free: 25.36 MB / 298.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001076/0.3149, allocations: 153.7 kB / 409.5 MB, free: 25.16 MB / 298.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001216/0.315, allocations: 50.55 kB / 409.6 MB, free: 25.1 MB / 298.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.304e-05/0.3151, allocations: 28.86 kB / 409.6 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.163e-05/0.3151, allocations: 4 kB / 409.6 MB, free: 25.07 MB / 298.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.951e-05/0.3152, allocations: 34.56 kB / 409.7 MB, free: 25.02 MB / 298.7 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.3152, allocations: 0 / 409.7 MB, free: 25.02 MB / 298.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002432/0.3154, allocations: 77.52 kB / 409.7 MB, free: 24.94 MB / 298.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.561e-05/0.3155, allocations: 55.41 kB / 409.8 MB, free: 24.88 MB / 298.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.375e-05/0.3156, allocations: 105.8 kB / 409.9 MB, free: 24.76 MB / 298.7 MB Notification: Performance of collectPreVariables (initialization): time 9.358e-06/0.3156, allocations: 25.7 kB / 409.9 MB, free: 24.73 MB / 298.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.351e-05/0.3156, allocations: 84.14 kB / 410 MB, free: 24.64 MB / 298.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.69e-05/0.3157, allocations: 0 / 410 MB, free: 24.64 MB / 298.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.69e-05/0.3157, allocations: 25.64 kB / 410 MB, free: 24.61 MB / 298.7 MB Notification: Performance of setup shared object (initialization): time 5.495e-05/0.3158, allocations: 322.8 kB / 410.3 MB, free: 24.29 MB / 298.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.128e-05/0.3158, allocations: 3.938 kB / 410.3 MB, free: 24.29 MB / 298.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.398e-05/0.3158, allocations: 35.42 kB / 410.4 MB, free: 24.24 MB / 298.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.755e-05/0.3158, allocations: 43.31 kB / 410.4 MB, free: 24.18 MB / 298.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.753e-06/0.3159, allocations: 0 / 410.4 MB, free: 24.18 MB / 298.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.014e-05/0.3159, allocations: 57.62 kB / 410.5 MB, free: 24.12 MB / 298.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.434e-05/0.3159, allocations: 4 kB / 410.5 MB, free: 24.12 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.932e-06/0.316, allocations: 3.938 kB / 410.5 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.633e-05/0.316, allocations: 4.125 kB / 410.5 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.263e-05/0.3161, allocations: 4 kB / 410.5 MB, free: 24.11 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.884e-06/0.3161, allocations: 4 kB / 410.5 MB, free: 24.1 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.313e-05/0.3161, allocations: 11.84 kB / 410.5 MB, free: 24.09 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.691e-06/0.3161, allocations: 4 kB / 410.5 MB, free: 24.09 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 ($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 6.557e-05/0.3162, allocations: 119.3 kB / 410.6 MB, free: 23.96 MB / 298.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000113/0.3163, allocations: 57.69 kB / 410.7 MB, free: 23.9 MB / 298.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.503e-05/0.3163, allocations: 7.438 kB / 410.7 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.114e-06/0.3163, allocations: 4.219 kB / 410.7 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.208e-06/0.3164, allocations: 4 kB / 410.7 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.935e-06/0.3164, allocations: 0 / 410.7 MB, free: 23.88 MB / 298.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.32e-05/0.3164, allocations: 157.7 kB / 410.9 MB, free: 23.67 MB / 298.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.343e-06/0.3164, allocations: 0 / 410.9 MB, free: 23.67 MB / 298.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.857e-05/0.3165, allocations: 7.984 kB / 410.9 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.403e-06/0.3165, allocations: 0 / 410.9 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.288e-06/0.3165, allocations: 8.312 kB / 410.9 MB, free: 23.66 MB / 298.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.943e-06/0.3165, allocations: 3.938 kB / 410.9 MB, free: 23.65 MB / 298.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.264e-06/0.3165, allocations: 4 kB / 410.9 MB, free: 23.65 MB / 298.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003269/0.3168, allocations: 0.6551 MB / 411.5 MB, free: 22.93 MB / 298.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.9e-05/0.3169, allocations: 81.09 kB / 411.6 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.373e-05/0.3169, allocations: 0 / 411.6 MB, free: 22.84 MB / 298.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.743e-05/0.3169, allocations: 4 kB / 411.6 MB, free: 22.83 MB / 298.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.524e-06/0.3169, allocations: 0 / 411.6 MB, free: 22.83 MB / 298.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.148e-06/0.3169, allocations: 0 / 411.6 MB, free: 22.83 MB / 298.7 MB Notification: Performance of sorting global known variables: time 2.602e-05/0.317, allocations: 87.27 kB / 411.7 MB, free: 22.75 MB / 298.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.317, allocations: 7.938 kB / 411.7 MB, free: 22.74 MB / 298.7 MB Notification: Performance of remove unused functions: time 0.0002962/0.3173, allocations: 4 kB / 411.7 MB, free: 22.73 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 (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.0001246/0.3174, allocations: 95.25 kB / 411.8 MB, free: 22.63 MB / 298.7 MB Notification: Performance of simCode: created initialization part: time 0.0001164/0.3175, allocations: 35.92 kB / 411.8 MB, free: 22.59 MB / 298.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.3175, allocations: 0 / 411.8 MB, free: 22.59 MB / 298.7 MB Notification: Performance of simCode: created simulation system equations: time 6.61e-07/0.3175, allocations: 0 / 411.8 MB, free: 22.59 MB / 298.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002394/0.3178, allocations: 28.48 kB / 411.9 MB, free: 22.57 MB / 298.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003064/0.3181, allocations: 230.4 kB / 412.1 MB, free: 22.3 MB / 298.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000123/0.3182, allocations: 0.6848 MB / 412.8 MB, free: 21.59 MB / 298.7 MB Notification: Performance of simCode: alias equations: time 1.6e-05/0.3183, allocations: 4 kB / 412.8 MB, free: 21.59 MB / 298.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.133e-05/0.3183, allocations: 11.44 kB / 412.8 MB, free: 21.57 MB / 298.7 MB Notification: Performance of SimCode: time 2e-07/0.3183, allocations: 0 / 412.8 MB, free: 21.57 MB / 298.7 MB Notification: Performance of Templates: time 0.00211/0.3204, allocations: 375.1 kB / 413.2 MB, free: 21.21 MB / 298.7 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@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","../files/Modelica_trunk_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches