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) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.002378/0.002378, allocations: 95.86 kB / 20.96 MB, free: 3.465 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002978/0.002978, allocations: 149.1 kB / 24.26 MB, free: 172 kB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.58/1.58, allocations: 173.4 MB / 200.8 MB, free: 9.328 MB / 186.7 MB " [Timeout remaining time 178] 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=5011,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=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.533e-06/1.533e-06, allocations: 0 / 267.3 MB, free: 6.758 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.431e-05/2.584e-05, allocations: 2.312 kB / 267.3 MB, free: 6.754 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002822/0.002848, allocations: 1.429 MB / 268.7 MB, free: 5.312 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0001862/0.003034, allocations: 27.91 kB / 268.8 MB, free: 5.285 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.958e-05/0.003094, allocations: 4 kB / 268.8 MB, free: 5.281 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.864e-05/0.003122, allocations: 7.922 kB / 268.8 MB, free: 5.273 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.803e-05/0.00316, allocations: 0 / 268.8 MB, free: 5.273 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002315/0.003392, allocations: 35.78 kB / 268.8 MB, free: 5.238 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 9.336e-05/0.003485, allocations: 19.94 kB / 268.8 MB, free: 5.219 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.193e-05/0.003577, allocations: 11.98 kB / 268.8 MB, free: 5.207 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.426e-05/0.003641, allocations: 19.98 kB / 268.9 MB, free: 5.188 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.57e-05/0.003677, allocations: 3.984 kB / 268.9 MB, free: 5.184 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.248e-05/0.0037, allocations: 4 kB / 268.9 MB, free: 5.18 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.081e-05/0.00371, allocations: 4 kB / 268.9 MB, free: 5.176 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.444e-05/0.003735, allocations: 11.92 kB / 268.9 MB, free: 5.164 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.738e-05/0.003762, allocations: 8 kB / 268.9 MB, free: 5.156 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001068/0.003869, allocations: 35.83 kB / 268.9 MB, free: 5.121 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.462e-06/0.003875, allocations: 3.984 kB / 268.9 MB, free: 5.117 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.022e-06/0.003876, allocations: 0 / 268.9 MB, free: 5.117 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.098e-06/0.003881, allocations: 0 / 268.9 MB, free: 5.117 MB / 250.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.000723/0.004604, allocations: 368.2 kB / 269.3 MB, free: 4.719 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.83e-05/0.004642, allocations: 12.03 kB / 269.3 MB, free: 4.707 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.186e-05/0.004684, allocations: 4.938 kB / 269.3 MB, free: 4.703 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001921/0.004876, allocations: 128.5 kB / 269.4 MB, free: 4.551 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.94e-05/0.004895, allocations: 4.375 kB / 269.4 MB, free: 4.547 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.083e-05/0.004906, allocations: 4.375 kB / 269.4 MB, free: 4.543 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003227/0.005229, allocations: 113.5 kB / 269.6 MB, free: 4.418 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.043e-06/0.005236, allocations: 4.188 kB / 269.6 MB, free: 4.414 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.575e-06/0.005243, allocations: 384 / 269.6 MB, free: 4.414 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.005252, allocations: 4.375 kB / 269.6 MB, free: 4.41 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001036/0.005355, allocations: 19.92 kB / 269.6 MB, free: 4.391 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.005506, allocations: 116.6 kB / 269.7 MB, free: 4.242 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001662/0.005673, allocations: 63.02 kB / 269.8 MB, free: 4.168 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.907e-05/0.005742, allocations: 23.72 kB / 269.8 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.662e-05/0.005758, allocations: 7.984 kB / 269.8 MB, free: 4.133 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.371e-05/0.005792, allocations: 33.39 kB / 269.8 MB, free: 4.09 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 8.31e-07/0.005793, allocations: 0 / 269.8 MB, free: 4.09 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002555/0.006048, allocations: 73.67 kB / 269.9 MB, free: 4.012 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.112e-05/0.00611, allocations: 55.34 kB / 269.9 MB, free: 3.945 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001423/0.006252, allocations: 177.8 kB / 270.1 MB, free: 3.754 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 2.861e-05/0.00628, allocations: 25.7 kB / 270.1 MB, free: 3.723 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.589e-05/0.006356, allocations: 130.9 kB / 270.3 MB, free: 3.59 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.476e-05/0.006371, allocations: 4 kB / 270.3 MB, free: 3.586 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.681e-05/0.006408, allocations: 19.38 kB / 270.3 MB, free: 3.559 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002628/0.006671, allocations: 496.1 kB / 270.8 MB, free: 3.062 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.414e-05/0.006685, allocations: 11.92 kB / 270.8 MB, free: 3.051 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.3e-06/0.00669, allocations: 0 / 270.8 MB, free: 3.051 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.034e-05/0.00672, allocations: 15.75 kB / 270.8 MB, free: 3.031 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.373e-06/0.006722, allocations: 0 / 270.8 MB, free: 3.031 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 6.861e-05/0.00679, allocations: 45.64 kB / 270.9 MB, free: 2.98 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.453e-05/0.006805, allocations: 4 kB / 270.9 MB, free: 2.977 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.338e-06/0.006809, allocations: 0 / 270.9 MB, free: 2.977 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.212e-05/0.006821, allocations: 0 / 270.9 MB, free: 2.977 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.972e-05/0.006871, allocations: 4 kB / 270.9 MB, free: 2.973 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.173e-06/0.006878, allocations: 3.984 kB / 270.9 MB, free: 2.969 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.346e-05/0.006892, allocations: 3.938 kB / 270.9 MB, free: 2.965 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.735e-06/0.006895, allocations: 0 / 270.9 MB, free: 2.965 MB / 250.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 2 ($CLKPRE.step.counter,step.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (2): * Single equations (assignments): 2 * 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 0.0001191/0.007014, allocations: 164.6 kB / 271 MB, free: 2.793 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001337/0.007147, allocations: 57.64 kB / 271.1 MB, free: 2.73 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.665e-05/0.007184, allocations: 7.688 kB / 271.1 MB, free: 2.719 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.783e-06/0.007186, allocations: 0 / 271.1 MB, free: 2.719 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.055e-06/0.007194, allocations: 8.234 kB / 271.1 MB, free: 2.711 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.458e-06/0.007198, allocations: 3.938 kB / 271.1 MB, free: 2.707 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001129/0.007311, allocations: 120.6 kB / 271.2 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.202e-06/0.007312, allocations: 0 / 271.2 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.343e-05/0.007346, allocations: 7.922 kB / 271.2 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.308e-06/0.00735, allocations: 4 kB / 271.2 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.262e-06/0.007356, allocations: 0 / 271.2 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.363e-06/0.007358, allocations: 4 kB / 271.2 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.32e-07/0.007359, allocations: 0 / 271.2 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001859/0.007544, allocations: 100.4 kB / 271.3 MB, free: 2.418 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.176e-05/0.007556, allocations: 7.953 kB / 271.3 MB, free: 2.41 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.326e-05/0.00757, allocations: 0 / 271.3 MB, free: 2.41 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.33e-05/0.007593, allocations: 4 kB / 271.3 MB, free: 2.406 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.144e-06/0.007595, allocations: 0 / 271.3 MB, free: 2.406 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.007599, allocations: 0 / 271.3 MB, free: 2.406 MB / 250.7 MB Notification: Performance of sorting global known variables: time 8.088e-05/0.00768, allocations: 135.2 kB / 271.5 MB, free: 2.273 MB / 250.7 MB Notification: Performance of sort global known variables: time 8e-08/0.00768, allocations: 3.938 kB / 271.5 MB, free: 2.27 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001751/0.007855, allocations: 0 / 271.5 MB, free: 2.27 MB / 250.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.0001121/0.007968, allocations: 103.2 kB / 271.6 MB, free: 2.156 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 0.0001234/0.008091, allocations: 31.61 kB / 271.6 MB, free: 2.121 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.854e-06/0.008093, allocations: 4 kB / 271.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 6.32e-07/0.008093, allocations: 0 / 271.6 MB, free: 2.117 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002159/0.008309, allocations: 17.83 kB / 271.6 MB, free: 2.098 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003127/0.008622, allocations: 120.9 kB / 271.8 MB, free: 1.953 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.091e-05/0.008693, allocations: 71.19 kB / 271.8 MB, free: 1.863 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.758e-05/0.00871, allocations: 7.922 kB / 271.8 MB, free: 1.855 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.342e-05/0.008744, allocations: 12.5 kB / 271.8 MB, free: 1.844 MB / 250.7 MB Notification: Performance of SimCode: time 5.61e-07/0.008744, allocations: 0 / 271.8 MB, free: 1.844 MB / 250.7 MB Notification: Performance of Templates: time 0.002969/0.01171, allocations: 391 kB / 272.2 MB, free: 1.469 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 240] 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) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 4.297718999907374]