Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.001317/0.001317, allocations: 83.89 kB / 21.19 MB, free: 3.383 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.001344/0.001344, allocations: 141.1 kB / 24.54 MB, free: 32 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 0.9801/0.9801, allocations: 173.3 MB / 201.1 MB, free: 8.992 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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") translateModel(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.383e-06/1.383e-06, allocations: 0 / 268 MB, free: 6.301 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.011e-05/2.149e-05, allocations: 2.312 kB / 268 MB, free: 6.297 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002029/0.00205, allocations: 1.466 MB / 269.4 MB, free: 4.82 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002092/0.002259, allocations: 31.84 kB / 269.5 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.282e-05/0.002322, allocations: 0 / 269.5 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 3.111e-05/0.002353, allocations: 3.938 kB / 269.5 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 3.908e-05/0.002392, allocations: 4 kB / 269.5 MB, free: 4.781 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002412/0.002634, allocations: 23.91 kB / 269.5 MB, free: 4.758 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.398e-05/0.002718, allocations: 31.92 kB / 269.5 MB, free: 4.727 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.791e-05/0.002816, allocations: 11.98 kB / 269.6 MB, free: 4.715 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.435e-05/0.00287, allocations: 19.92 kB / 269.6 MB, free: 4.695 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.95e-05/0.002909, allocations: 11.92 kB / 269.6 MB, free: 4.684 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.254e-05/0.002932, allocations: 4 kB / 269.6 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 9.397e-06/0.002941, allocations: 4 kB / 269.6 MB, free: 4.676 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.871e-05/0.00296, allocations: 3.938 kB / 269.6 MB, free: 4.672 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.143e-05/0.002991, allocations: 11.98 kB / 269.6 MB, free: 4.66 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.003092, allocations: 19.91 kB / 269.6 MB, free: 4.641 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.605e-06/0.003094, allocations: 0 / 269.6 MB, free: 4.641 MB / 250.7 MB Notification: Performance of FrontEnd: time 7.02e-07/0.003095, allocations: 0 / 269.6 MB, free: 4.641 MB / 250.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.0031, allocations: 8 kB / 269.6 MB, free: 4.633 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.0003865/0.003486, allocations: 364.6 kB / 270 MB, free: 4.238 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.487e-05/0.003531, allocations: 8.031 kB / 270 MB, free: 4.23 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.347e-05/0.003575, allocations: 4.938 kB / 270 MB, free: 4.227 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001961/0.003771, allocations: 124.6 kB / 270.1 MB, free: 4.078 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.191e-05/0.003793, allocations: 4.375 kB / 270.1 MB, free: 4.074 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.371e-05/0.003806, allocations: 384 / 270.1 MB, free: 4.074 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000235/0.004041, allocations: 122.1 kB / 270.3 MB, free: 3.938 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.939e-06/0.004051, allocations: 192 / 270.3 MB, free: 3.938 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.35e-05/0.004065, allocations: 8.375 kB / 270.3 MB, free: 3.93 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.265e-06/0.004073, allocations: 384 / 270.3 MB, free: 3.93 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.812e-05/0.004101, allocations: 11.92 kB / 270.3 MB, free: 3.918 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 9.348e-05/0.004195, allocations: 116.6 kB / 270.4 MB, free: 3.77 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 7.012e-05/0.004265, allocations: 43.08 kB / 270.4 MB, free: 3.715 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.586e-05/0.004301, allocations: 23.66 kB / 270.5 MB, free: 3.688 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.672e-06/0.004307, allocations: 0 / 270.5 MB, free: 3.688 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.432e-05/0.004332, allocations: 37.39 kB / 270.5 MB, free: 3.641 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.61e-07/0.004332, allocations: 0 / 270.5 MB, free: 3.641 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001342/0.004466, allocations: 57.64 kB / 270.5 MB, free: 3.578 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.802e-05/0.004515, allocations: 51.41 kB / 270.6 MB, free: 3.516 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.666e-05/0.004601, allocations: 173.9 kB / 270.8 MB, free: 3.328 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 9.388e-06/0.004611, allocations: 25.7 kB / 270.8 MB, free: 3.297 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.186e-05/0.004652, allocations: 130.9 kB / 270.9 MB, free: 3.164 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.44e-05/0.004667, allocations: 3.938 kB / 270.9 MB, free: 3.16 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.541e-05/0.004692, allocations: 19.38 kB / 270.9 MB, free: 3.133 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.004819, allocations: 0.4922 MB / 271.4 MB, free: 2.629 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.03e-05/0.004829, allocations: 0 / 271.4 MB, free: 2.629 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.594e-06/0.004837, allocations: 4 kB / 271.4 MB, free: 2.625 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.562e-05/0.004862, allocations: 15.75 kB / 271.5 MB, free: 2.605 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.004864, allocations: 256 / 271.5 MB, free: 2.605 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.823e-05/0.004913, allocations: 41.66 kB / 271.5 MB, free: 2.559 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.344e-05/0.004926, allocations: 4 kB / 271.5 MB, free: 2.555 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.574e-06/0.004934, allocations: 7.984 kB / 271.5 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.013e-05/0.004954, allocations: 0 / 271.5 MB, free: 2.547 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.607e-05/0.00501, allocations: 4 kB / 271.5 MB, free: 2.543 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.52e-06/0.005015, allocations: 3.938 kB / 271.5 MB, free: 2.539 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.081e-05/0.005026, allocations: 3.938 kB / 271.5 MB, free: 2.535 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.137e-06/0.00503, allocations: 32 / 271.5 MB, free: 2.535 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 7.901e-05/0.005109, allocations: 164.6 kB / 271.7 MB, free: 2.363 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.407e-05/0.005153, allocations: 45.69 kB / 271.7 MB, free: 2.312 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.032e-05/0.005184, allocations: 4 kB / 271.7 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.005186, allocations: 0 / 271.7 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.618e-06/0.00519, allocations: 0 / 271.7 MB, free: 2.301 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.191e-06/0.005196, allocations: 7.938 kB / 271.7 MB, free: 2.293 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.003e-05/0.005256, allocations: 112.6 kB / 271.8 MB, free: 2.148 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.11e-07/0.005257, allocations: 4 kB / 271.8 MB, free: 2.145 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.805e-05/0.005295, allocations: 4 kB / 271.8 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.212e-06/0.005296, allocations: 0 / 271.8 MB, free: 2.141 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.815e-06/0.005304, allocations: 8 kB / 271.9 MB, free: 2.133 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.733e-06/0.005306, allocations: 3.984 kB / 271.9 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.82e-07/0.005307, allocations: 0 / 271.9 MB, free: 2.129 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.81e-05/0.005385, allocations: 96.27 kB / 272 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.243e-06/0.005392, allocations: 0 / 272 MB, free: 2.012 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.684e-05/0.005409, allocations: 4.281 kB / 272 MB, free: 2.008 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.3e-05/0.005422, allocations: 7.938 kB / 272 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.898e-06/0.005426, allocations: 0 / 272 MB, free: 2 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.434e-06/0.005428, allocations: 0 / 272 MB, free: 2 MB / 250.7 MB Notification: Performance of sorting global known variables: time 4.371e-05/0.005472, allocations: 127.2 kB / 272.1 MB, free: 1.875 MB / 250.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.005472, allocations: 0 / 272.1 MB, free: 1.875 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001213/0.005594, allocations: 8 kB / 272.1 MB, free: 1.867 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.352e-05/0.005667, allocations: 107.2 kB / 272.2 MB, free: 1.754 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 9.335e-05/0.00576, allocations: 23.61 kB / 272.2 MB, free: 1.727 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.463e-06/0.005762, allocations: 0 / 272.2 MB, free: 1.727 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.005762, allocations: 0 / 272.2 MB, free: 1.727 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001951/0.005958, allocations: 20.36 kB / 272.2 MB, free: 1.707 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002396/0.006197, allocations: 120.8 kB / 272.4 MB, free: 1.562 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.441e-05/0.006232, allocations: 59.41 kB / 272.4 MB, free: 1.484 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.545e-05/0.006247, allocations: 4 kB / 272.4 MB, free: 1.48 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.625e-05/0.006273, allocations: 12.5 kB / 272.4 MB, free: 1.469 MB / 250.7 MB Notification: Performance of SimCode: time 6.42e-07/0.006274, allocations: 0 / 272.4 MB, free: 1.469 MB / 250.7 MB Notification: Performance of Templates: time 0.002095/0.008369, allocations: 475.4 kB / 272.9 MB, free: 1.016 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/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.8081248668022454]