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.0008357/0.0008357, allocations: 77.05 kB / 10 MB, free: 0.6836 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.001144/0.00198, allocations: 449.8 kB / 10.44 MB, free: 252 kB / 10.45 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.0007332/0.0007332, allocations: 165.1 kB / 11.36 MB, free: 2.816 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009778/0.001711, allocations: 479.5 kB / 11.82 MB, free: 2.344 MB / 13.93 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 0.9523/0.9523, allocations: 177.2 MB / 189.8 MB, free: 5.25 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08754/1.04, allocations: 53.65 MB / 243.4 MB, free: 15.51 MB / 250.7 MB " [Timeout remaining time 179] 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.523e-06/1.523e-06, allocations: 0 / 244.7 MB, free: 14.23 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.768e-05/1.921e-05, allocations: 14.05 kB / 244.7 MB, free: 14.22 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep): time 0.00231/0.002329, allocations: 1.533 MB / 246.2 MB, free: 12.67 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 8.745e-05/0.002416, allocations: 35.84 kB / 246.3 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.269e-05/0.002459, allocations: 0 / 246.3 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 1.984e-05/0.002479, allocations: 3.938 kB / 246.3 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 1.698e-05/0.002496, allocations: 0 / 246.3 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001209/0.002617, allocations: 19.97 kB / 246.3 MB, free: 12.61 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.364e-05/0.00269, allocations: 27.92 kB / 246.3 MB, free: 12.59 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.233e-05/0.002763, allocations: 19.88 kB / 246.3 MB, free: 12.57 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.051e-05/0.002823, allocations: 11.98 kB / 246.4 MB, free: 12.55 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.815e-05/0.002861, allocations: 15.92 kB / 246.4 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.026e-05/0.002882, allocations: 4 kB / 246.4 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.525e-06/0.002889, allocations: 0 / 246.4 MB, free: 12.54 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.092e-05/0.00291, allocations: 11.92 kB / 246.4 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.857e-05/0.002929, allocations: 8 kB / 246.4 MB, free: 12.52 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.696e-05/0.003006, allocations: 15.92 kB / 246.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.026e-05/0.003016, allocations: 0 / 246.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of FrontEnd: time 6.61e-07/0.003016, allocations: 0 / 246.4 MB, free: 12.5 MB / 250.7 MB Notification: Performance of Transformations before backend: time 7.444e-06/0.003024, allocations: 0 / 246.4 MB, free: 12.5 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.0003/0.003324, allocations: 252.6 kB / 246.7 MB, free: 12.23 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 0.003039/0.006363, allocations: 8.031 kB / 246.7 MB, free: 12.22 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.734e-05/0.0064, allocations: 4.938 kB / 246.7 MB, free: 12.21 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001448/0.006545, allocations: 117.8 kB / 246.8 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.634e-05/0.006561, allocations: 384 / 246.8 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.155e-05/0.006573, allocations: 4.375 kB / 246.8 MB, free: 12.07 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001774/0.00675, allocations: 100.5 kB / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.813e-06/0.006757, allocations: 192 / 246.9 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.152e-06/0.006763, allocations: 8.375 kB / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.27e-06/0.006768, allocations: 384 / 246.9 MB, free: 11.95 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.848e-05/0.006787, allocations: 7.938 kB / 246.9 MB, free: 11.94 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.519e-05/0.006852, allocations: 64.98 kB / 247 MB, free: 11.86 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.215e-05/0.006904, allocations: 26.58 kB / 247 MB, free: 11.83 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.072e-05/0.006925, allocations: 12.84 kB / 247 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.753e-06/0.006932, allocations: 4 kB / 247 MB, free: 11.81 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.129e-05/0.006953, allocations: 38.5 kB / 247.1 MB, free: 11.76 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.22e-07/0.006954, allocations: 0 / 247.1 MB, free: 11.76 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 9.297e-05/0.007046, allocations: 49.62 kB / 247.1 MB, free: 11.71 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.69e-05/0.007083, allocations: 59.41 kB / 247.2 MB, free: 11.64 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.423e-05/0.007138, allocations: 106.7 kB / 247.3 MB, free: 11.52 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.728e-06/0.007147, allocations: 25.7 kB / 247.3 MB, free: 11.49 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.074e-05/0.007168, allocations: 88.14 kB / 247.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.223e-06/0.007175, allocations: 0 / 247.4 MB, free: 11.4 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.729e-05/0.007203, allocations: 21.7 kB / 247.4 MB, free: 11.37 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 7.886e-05/0.007281, allocations: 318.8 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.55e-06/0.007287, allocations: 4 kB / 247.7 MB, free: 11.05 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.172e-06/0.007293, allocations: 3.938 kB / 247.7 MB, free: 11.04 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.894e-05/0.007312, allocations: 8.922 kB / 247.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.573e-06/0.007314, allocations: 4 kB / 247.7 MB, free: 11.03 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.204e-05/0.007356, allocations: 37.69 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.043e-05/0.007366, allocations: 4 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.466e-06/0.00737, allocations: 0 / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.979e-06/0.00738, allocations: 0 / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.608e-05/0.007416, allocations: 4 kB / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.274e-06/0.007418, allocations: 0 / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.797e-06/0.007427, allocations: 0 / 247.8 MB, free: 10.98 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.244e-06/0.007429, allocations: 192 / 247.8 MB, free: 10.98 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 5.723e-05/0.007486, allocations: 121.8 kB / 247.9 MB, free: 10.85 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.42e-05/0.00752, allocations: 41.67 kB / 247.9 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.07e-05/0.007541, allocations: 7.688 kB / 247.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.886e-06/0.007544, allocations: 4 kB / 247.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.253e-06/0.007545, allocations: 0 / 247.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.195e-06/0.007547, allocations: 0 / 247.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.915e-05/0.007597, allocations: 69.83 kB / 248 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.51e-07/0.007597, allocations: 0 / 248 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.453e-05/0.007622, allocations: 4 kB / 248 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.277e-06/0.007631, allocations: 7.891 kB / 248 MB, free: 10.69 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.31e-07/0.007632, allocations: 0 / 248 MB, free: 10.69 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.639e-06/0.007636, allocations: 7.984 kB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.51e-07/0.007637, allocations: 0 / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.31e-07/0.007638, allocations: 4.25 kB / 248 MB, free: 10.68 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.963e-05/0.007677, allocations: 65.73 kB / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.181e-05/0.007689, allocations: 4 kB / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.381e-05/0.007703, allocations: 0 / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.355e-06/0.007705, allocations: 4 kB / 248.1 MB, free: 10.59 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.196e-06/0.007709, allocations: 3.984 kB / 248.1 MB, free: 10.58 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.307e-05/0.007722, allocations: 8.859 kB / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.007722, allocations: 0 / 248.1 MB, free: 10.57 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001292/0.007851, allocations: 4 kB / 248.1 MB, free: 10.57 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 6.794e-05/0.007919, allocations: 84.42 kB / 248.2 MB, free: 10.48 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.304e-05/0.007972, allocations: 16.84 kB / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.625e-06/0.007975, allocations: 0 / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.31e-07/0.007975, allocations: 0 / 248.2 MB, free: 10.46 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001011/0.008076, allocations: 32.05 kB / 248.3 MB, free: 10.43 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003247/0.008401, allocations: 123 kB / 248.4 MB, free: 10.28 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.83e-05/0.008429, allocations: 55.36 kB / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 9.097e-06/0.008438, allocations: 96 / 248.4 MB, free: 10.21 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.871e-05/0.008477, allocations: 63.36 kB / 248.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of SimCode: time 6.52e-07/0.008478, allocations: 0 / 248.5 MB, free: 10.14 MB / 250.7 MB Notification: Performance of Templates: time 0.004836/0.01331, allocations: 409.1 kB / 248.9 MB, free: 9.75 MB / 250.7 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=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.BooleanSignals.TickBasedStep.pipe 2>&1) [Timeout 240] 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","",relTol=0.003,relTolDiffMinMax=0.003,tube=OpenModelica.Scripting.TubeAlgorithm.rectangle) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 2.5460336077958345]