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.00134/0.00134, allocations: 72.08 kB / 21.69 MB, free: 2.859 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.001656/0.001656, allocations: 142.7 kB / 24.97 MB, free: 8.371 MB / 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 0.9713/0.9713, allocations: 173.4 MB / 201.5 MB, free: 9.312 MB / 186.7 MB " [Timeout remaining time 179] 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 3.196e-06/3.196e-06, allocations: 0 / 268.1 MB, free: 6.742 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.773e-05/4.093e-05, allocations: 2.312 kB / 268.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.002318/0.002359, allocations: 1.46 MB / 269.5 MB, free: 5.266 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002284/0.002587, allocations: 35.91 kB / 269.6 MB, free: 5.23 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.018e-05/0.002657, allocations: 3.938 kB / 269.6 MB, free: 5.227 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.425e-05/0.002692, allocations: 0 / 269.6 MB, free: 5.227 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 5.063e-05/0.002742, allocations: 3.938 kB / 269.6 MB, free: 5.223 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003292/0.003071, allocations: 23.97 kB / 269.6 MB, free: 5.199 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.000104/0.003175, allocations: 31.91 kB / 269.6 MB, free: 5.168 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001044/0.00328, allocations: 7.984 kB / 269.6 MB, free: 5.16 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.604e-05/0.003336, allocations: 15.98 kB / 269.6 MB, free: 5.145 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.635e-05/0.003372, allocations: 7.938 kB / 269.7 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.113e-05/0.003393, allocations: 0 / 269.7 MB, free: 5.137 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.057e-06/0.003402, allocations: 8 kB / 269.7 MB, free: 5.129 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.981e-05/0.003422, allocations: 11.97 kB / 269.7 MB, free: 5.117 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 2.663e-05/0.003449, allocations: 8 kB / 269.7 MB, free: 5.109 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001054/0.003554, allocations: 23.8 kB / 269.7 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.655e-06/0.003557, allocations: 0 / 269.7 MB, free: 5.086 MB / 250.7 MB Notification: Performance of FrontEnd: time 1.333e-06/0.003558, allocations: 0 / 269.7 MB, free: 5.086 MB / 250.7 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.003564, allocations: 4 kB / 269.7 MB, free: 5.082 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.0004486/0.004012, allocations: 368.6 kB / 270.1 MB, free: 4.684 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.851e-05/0.004051, allocations: 8.031 kB / 270.1 MB, free: 4.676 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.008e-05/0.004091, allocations: 4.938 kB / 270.1 MB, free: 4.672 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001656/0.004256, allocations: 136.5 kB / 270.2 MB, free: 4.512 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.079e-05/0.004277, allocations: 384 / 270.2 MB, free: 4.512 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.044e-05/0.004288, allocations: 4.375 kB / 270.2 MB, free: 4.508 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002131/0.004501, allocations: 106.2 kB / 270.3 MB, free: 4.387 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.004508, allocations: 192 / 270.3 MB, free: 4.387 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.518e-06/0.004517, allocations: 384 / 270.3 MB, free: 4.387 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.935e-06/0.004525, allocations: 384 / 270.3 MB, free: 4.387 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.893e-05/0.004554, allocations: 11.88 kB / 270.3 MB, free: 4.375 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001056/0.00466, allocations: 120.6 kB / 270.5 MB, free: 4.223 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.663e-05/0.004736, allocations: 47.05 kB / 270.5 MB, free: 4.164 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.357e-05/0.00477, allocations: 19.72 kB / 270.5 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.013e-06/0.004777, allocations: 0 / 270.5 MB, free: 4.141 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.055e-05/0.004797, allocations: 33.39 kB / 270.6 MB, free: 4.098 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 7.92e-07/0.004798, allocations: 0 / 270.6 MB, free: 4.098 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001482/0.004946, allocations: 53.67 kB / 270.6 MB, free: 4.039 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.913e-05/0.004995, allocations: 55.41 kB / 270.7 MB, free: 3.973 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.885e-05/0.005074, allocations: 169.8 kB / 270.8 MB, free: 3.789 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.014e-05/0.005084, allocations: 25.7 kB / 270.8 MB, free: 3.758 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.846e-05/0.005123, allocations: 134.9 kB / 271 MB, free: 3.621 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.023e-05/0.005133, allocations: 4 kB / 271 MB, free: 3.617 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.599e-05/0.005159, allocations: 23.36 kB / 271 MB, free: 3.586 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001197/0.005279, allocations: 496.1 kB / 271.5 MB, free: 3.09 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.228e-06/0.005288, allocations: 0 / 271.5 MB, free: 3.09 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.953e-06/0.005295, allocations: 4 kB / 271.5 MB, free: 3.086 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.532e-05/0.00532, allocations: 11.69 kB / 271.5 MB, free: 3.07 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.184e-06/0.005322, allocations: 0 / 271.5 MB, free: 3.07 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.363e-05/0.005376, allocations: 41.62 kB / 271.5 MB, free: 3.023 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.456e-05/0.005391, allocations: 4 kB / 271.6 MB, free: 3.02 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.058e-06/0.005395, allocations: 4.094 kB / 271.6 MB, free: 3.016 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.311e-05/0.005408, allocations: 0 / 271.6 MB, free: 3.016 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.478e-05/0.005463, allocations: 4 kB / 271.6 MB, free: 3.012 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.761e-06/0.005468, allocations: 0 / 271.6 MB, free: 3.012 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.339e-05/0.005482, allocations: 8.188 kB / 271.6 MB, free: 3.004 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.658e-06/0.005486, allocations: 8 kB / 271.6 MB, free: 2.996 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 6.928e-05/0.005556, allocations: 152.6 kB / 271.7 MB, free: 2.836 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.481e-05/0.005611, allocations: 53.77 kB / 271.8 MB, free: 2.777 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.603e-05/0.005637, allocations: 7.719 kB / 271.8 MB, free: 2.766 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.146e-06/0.00564, allocations: 4 kB / 271.8 MB, free: 2.762 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.777e-06/0.005643, allocations: 4 kB / 271.8 MB, free: 2.758 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.386e-06/0.005647, allocations: 7.875 kB / 271.8 MB, free: 2.75 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.764e-05/0.005705, allocations: 116.6 kB / 271.9 MB, free: 2.602 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.005705, allocations: 0 / 271.9 MB, free: 2.602 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.41e-05/0.005729, allocations: 0 / 271.9 MB, free: 2.602 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.435e-06/0.005732, allocations: 4 kB / 271.9 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.971e-06/0.005738, allocations: 0 / 271.9 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.162e-06/0.005739, allocations: 0 / 271.9 MB, free: 2.598 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.884e-06/0.005741, allocations: 3.984 kB / 271.9 MB, free: 2.594 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.706e-05/0.005818, allocations: 92.38 kB / 272 MB, free: 2.48 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.385e-06/0.005826, allocations: 7.891 kB / 272 MB, free: 2.473 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.439e-05/0.005841, allocations: 4 kB / 272 MB, free: 2.469 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.231e-05/0.005853, allocations: 4 kB / 272 MB, free: 2.465 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.405e-06/0.005855, allocations: 0 / 272 MB, free: 2.465 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.305e-06/0.005858, allocations: 0 / 272 MB, free: 2.465 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.567e-05/0.005893, allocations: 127.2 kB / 272.2 MB, free: 2.34 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005894, allocations: 0 / 272.2 MB, free: 2.34 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001142/0.006008, allocations: 8 kB / 272.2 MB, free: 2.332 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 7.92e-05/0.006087, allocations: 99.19 kB / 272.3 MB, free: 2.223 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 7.642e-05/0.006163, allocations: 15.69 kB / 272.3 MB, free: 2.203 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.562e-06/0.006165, allocations: 4.062 kB / 272.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.006165, allocations: 0 / 272.3 MB, free: 2.199 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001612/0.006327, allocations: 25.36 kB / 272.3 MB, free: 2.172 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003022/0.006629, allocations: 112.9 kB / 272.4 MB, free: 2.035 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.535e-05/0.006664, allocations: 59.34 kB / 272.5 MB, free: 1.957 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.28e-05/0.006677, allocations: 0 / 272.5 MB, free: 1.957 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.219e-05/0.006709, allocations: 12.5 kB / 272.5 MB, free: 1.945 MB / 250.7 MB Notification: Performance of SimCode: time 6.71e-07/0.00671, allocations: 0 / 272.5 MB, free: 1.945 MB / 250.7 MB Notification: Performance of Templates: time 0.001895/0.008604, allocations: 392 kB / 272.9 MB, free: 1.566 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","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.6888221588451415]