Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001284/0.001284, allocations: 84.78 kB / 20.68 MB, free: 1.023 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001369/0.001369, allocations: 164.5 kB / 23.95 MB, free: 4.156 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.462/1.462, allocations: 177.1 MB / 204.3 MB, free: 9.18 MB / 190.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.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.1.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.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.893e-06/1.893e-06, allocations: 0 / 325.1 MB, free: 0.5586 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.919e-05/3.108e-05, allocations: 2.281 kB / 325.1 MB, free: 0.5547 MB / 286.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.00259/0.002621, allocations: 1.446 MB / 326.5 MB, free: 15.57 MB / 302.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002022/0.002823, allocations: 30.3 kB / 326.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.304e-05/0.002886, allocations: 1.344 kB / 326.5 MB, free: 15.55 MB / 302.1 MB Notification: Performance of NFTyping.typeComponents: time 3.213e-05/0.002918, allocations: 4.781 kB / 326.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeBindings: time 3.31e-05/0.002951, allocations: 0 / 326.5 MB, free: 15.54 MB / 302.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002522/0.003203, allocations: 27.91 kB / 326.6 MB, free: 15.53 MB / 302.1 MB Notification: Performance of NFFlatten.flatten: time 9.838e-05/0.003302, allocations: 29.72 kB / 326.6 MB, free: 15.51 MB / 302.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001165/0.003418, allocations: 14 kB / 326.6 MB, free: 15.5 MB / 302.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.002e-05/0.003478, allocations: 20.97 kB / 326.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFSimplifyModel.simplify: time 3.926e-05/0.003517, allocations: 4.969 kB / 326.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFPackage.collectConstants: time 3.038e-05/0.003548, allocations: 2.812 kB / 326.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.251e-05/0.00356, allocations: 2.594 kB / 326.6 MB, free: 15.49 MB / 302.1 MB Notification: Performance of NFScalarize.scalarize: time 2.313e-05/0.003584, allocations: 9.969 kB / 326.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFVerifyModel.verify: time 2.883e-05/0.003612, allocations: 8.344 kB / 326.7 MB, free: 15.48 MB / 302.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001087/0.003721, allocations: 28.8 kB / 326.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.003723, allocations: 1.219 kB / 326.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of FrontEnd: time 5.82e-07/0.003724, allocations: 0 / 326.7 MB, free: 15.47 MB / 302.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.003728, allocations: 0 / 326.7 MB, free: 15.47 MB / 302.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.00057/0.004298, allocations: 267.1 kB / 326.9 MB, free: 15.2 MB / 302.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.064e-05/0.004338, allocations: 13.22 kB / 327 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.212e-05/0.00437, allocations: 4.172 kB / 327 MB, free: 15.19 MB / 302.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002063/0.004577, allocations: 126.6 kB / 327.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.769e-05/0.004594, allocations: 3.031 kB / 327.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.114e-05/0.004616, allocations: 1.75 kB / 327.1 MB, free: 15.05 MB / 302.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000366/0.004981, allocations: 121.2 kB / 327.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.307e-06/0.004991, allocations: 192 / 327.2 MB, free: 14.98 MB / 302.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.071e-05/0.005002, allocations: 4.375 kB / 327.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.679e-06/0.005006, allocations: 5.875 kB / 327.2 MB, free: 14.97 MB / 302.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001113/0.005118, allocations: 21.25 kB / 327.2 MB, free: 14.96 MB / 302.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001361/0.005254, allocations: 103.8 kB / 327.3 MB, free: 14.84 MB / 302.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.005407, allocations: 55.23 kB / 327.4 MB, free: 14.8 MB / 302.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.973e-05/0.005486, allocations: 23.5 kB / 327.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.947e-06/0.005495, allocations: 1.609 kB / 327.4 MB, free: 14.79 MB / 302.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.975e-05/0.005525, allocations: 31.97 kB / 327.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of pre-optimization done (n=4): time 1.082e-06/0.005526, allocations: 0 / 327.5 MB, free: 14.75 MB / 302.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002817/0.005808, allocations: 75.42 kB / 327.5 MB, free: 14.71 MB / 302.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001362/0.005944, allocations: 54.56 kB / 327.6 MB, free: 14.64 MB / 302.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.417e-05/0.006038, allocations: 115 kB / 327.7 MB, free: 14.53 MB / 302.1 MB Notification: Performance of collectPreVariables (initialization): time 1.873e-05/0.006057, allocations: 30.27 kB / 327.7 MB, free: 14.5 MB / 302.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.817e-05/0.006105, allocations: 81.88 kB / 327.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.037e-05/0.006115, allocations: 1.031 kB / 327.8 MB, free: 14.41 MB / 302.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.394e-05/0.006149, allocations: 14.38 kB / 327.8 MB, free: 14.4 MB / 302.1 MB Notification: Performance of setup shared object (initialization): time 0.0001525/0.006302, allocations: 316.6 kB / 328.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.205e-05/0.006314, allocations: 3.188 kB / 328.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.292e-06/0.00632, allocations: 2.094 kB / 328.1 MB, free: 14.08 MB / 302.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.975e-05/0.00635, allocations: 16.89 kB / 328.1 MB, free: 14.07 MB / 302.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.006351, allocations: 8 kB / 328.2 MB, free: 14.06 MB / 302.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 5.743e-05/0.006409, allocations: 35.59 kB / 328.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.438e-05/0.006423, allocations: 6.344 kB / 328.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.617e-06/0.006427, allocations: 0 / 328.2 MB, free: 14.03 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.812e-05/0.006445, allocations: 5.031 kB / 328.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.744e-05/0.006492, allocations: 2.812 kB / 328.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.939e-06/0.006497, allocations: 1.062 kB / 328.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.417e-05/0.006512, allocations: 3.938 kB / 328.2 MB, free: 14.02 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.053e-06/0.006519, allocations: 5.062 kB / 328.2 MB, free: 14.02 MB / 302.1 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 8.918e-05/0.006608, allocations: 109.9 kB / 328.3 MB, free: 13.9 MB / 302.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001475/0.006755, allocations: 72.39 kB / 328.4 MB, free: 13.85 MB / 302.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.615e-05/0.006781, allocations: 5.719 kB / 328.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.006784, allocations: 1.219 kB / 328.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.006787, allocations: 0 / 328.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.44e-06/0.006793, allocations: 4.969 kB / 328.4 MB, free: 13.84 MB / 302.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.716e-05/0.00688, allocations: 103.7 kB / 328.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.72e-07/0.006881, allocations: 0 / 328.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.286e-05/0.006914, allocations: 4.438 kB / 328.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.535e-06/0.006916, allocations: 0.6094 kB / 328.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.414e-06/0.006924, allocations: 1.406 kB / 328.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.753e-06/0.006925, allocations: 4.828 kB / 328.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.01e-07/0.006926, allocations: 4 kB / 328.5 MB, free: 13.71 MB / 302.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000174/0.0071, allocations: 92.41 kB / 328.6 MB, free: 13.63 MB / 302.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.241e-05/0.007113, allocations: 7.375 kB / 328.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.552e-05/0.007128, allocations: 1.406 kB / 328.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.007e-05/0.007158, allocations: 3.156 kB / 328.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.186e-06/0.007166, allocations: 5.125 kB / 328.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.699e-06/0.007171, allocations: 1.094 kB / 328.6 MB, free: 13.62 MB / 302.1 MB Notification: Performance of sorting global known variables: time 5.472e-05/0.007226, allocations: 89.61 kB / 328.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of sort global known variables: time 8e-08/0.007226, allocations: 0 / 328.7 MB, free: 13.54 MB / 302.1 MB Notification: Performance of remove unused functions: time 0.0001893/0.007415, allocations: 2.5 kB / 328.7 MB, free: 13.54 MB / 302.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.0001076/0.007523, allocations: 104.3 kB / 328.8 MB, free: 13.45 MB / 302.1 MB Notification: Performance of simCode: created initialization part: time 0.0001235/0.007646, allocations: 28.12 kB / 328.8 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created event and clocks part: time 1.873e-06/0.007648, allocations: 1 kB / 328.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created simulation system equations: time 3.71e-07/0.007649, allocations: 0 / 328.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002268/0.007875, allocations: 20.48 kB / 328.9 MB, free: 13.43 MB / 302.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000278/0.008153, allocations: 117.4 kB / 329 MB, free: 13.31 MB / 302.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001502/0.008304, allocations: 65.62 kB / 329 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: alias equations: time 1.546e-05/0.008319, allocations: 4.062 kB / 329.1 MB, free: 13.24 MB / 302.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.566e-05/0.008345, allocations: 9.859 kB / 329.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of SimCode: time 4.31e-07/0.008345, allocations: 3.594 kB / 329.1 MB, free: 13.23 MB / 302.1 MB Notification: Performance of Templates: time 0.002735/0.01108, allocations: 371.6 kB / 329.4 MB, free: 13.16 MB / 302.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/BooleanSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.246070019900799]