Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.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.0007817/0.0007817, allocations: 76.17 kB / 9.931 MB, free: 0.7578 MB / 10.45 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.00102/0.001801, allocations: 449.7 kB / 10.37 MB, free: 328 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.0006915/0.0006915, allocations: 169.1 kB / 11.26 MB, free: 2.91 MB / 13.93 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.0009157/0.001607, allocations: 455.6 kB / 11.71 MB, free: 2.461 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.9349/0.9349, allocations: 177.2 MB / 189.6 MB, free: 5.309 MB / 186.7 MB Notification: Performance of NFInstanceAPI.mkTop(): time 0.08838/1.023, allocations: 53.65 MB / 243.3 MB, free: 15.58 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.IntegerSignals.TickBasedStep,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.162e-06/1.162e-06, allocations: 0 / 244.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.71e-05/1.826e-05, allocations: 4.984 kB / 244.5 MB, free: 14.35 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.001902/0.00192, allocations: 1.552 MB / 246.1 MB, free: 12.78 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 8.919e-05/0.002009, allocations: 35.84 kB / 246.1 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.318e-05/0.002052, allocations: 0 / 246.1 MB, free: 12.75 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.065e-05/0.002073, allocations: 3.938 kB / 246.1 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 1.858e-05/0.002091, allocations: 0 / 246.1 MB, free: 12.74 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001301/0.002222, allocations: 19.97 kB / 246.1 MB, free: 12.72 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.543e-05/0.002297, allocations: 35.86 kB / 246.1 MB, free: 12.69 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.985e-05/0.002367, allocations: 4 kB / 246.2 MB, free: 12.68 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.15e-05/0.002428, allocations: 19.92 kB / 246.2 MB, free: 12.66 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 4.322e-05/0.002472, allocations: 19.97 kB / 246.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.965e-05/0.002491, allocations: 4 kB / 246.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.663e-06/0.002498, allocations: 0 / 246.2 MB, free: 12.64 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.577e-05/0.002514, allocations: 7.938 kB / 246.2 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.971e-05/0.002533, allocations: 4 kB / 246.2 MB, free: 12.63 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 7.889e-05/0.002612, allocations: 27.86 kB / 246.2 MB, free: 12.6 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.317e-05/0.002625, allocations: 0 / 246.2 MB, free: 12.6 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.82e-07/0.002626, allocations: 0 / 246.2 MB, free: 12.6 MB / 250.7 MB Notification: Performance of Transformations before backend: time 1.423e-05/0.00264, allocations: 0 / 246.2 MB, free: 12.6 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.0002941/0.002935, allocations: 244.6 kB / 246.5 MB, free: 12.34 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 2.686e-05/0.002961, allocations: 8.031 kB / 246.5 MB, free: 12.33 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.67e-05/0.002988, allocations: 12.94 kB / 246.5 MB, free: 12.32 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001278/0.003116, allocations: 117.7 kB / 246.6 MB, free: 12.18 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.929e-05/0.003135, allocations: 4.375 kB / 246.6 MB, free: 12.17 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.035e-06/0.003143, allocations: 4.312 kB / 246.6 MB, free: 12.17 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001626/0.003306, allocations: 104.6 kB / 246.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.224e-06/0.003313, allocations: 192 / 246.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.821e-06/0.003319, allocations: 384 / 246.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.689e-06/0.003324, allocations: 384 / 246.7 MB, free: 12.05 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.867e-05/0.003342, allocations: 11.94 kB / 246.7 MB, free: 12.04 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.063e-05/0.003403, allocations: 61.03 kB / 246.8 MB, free: 11.96 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.114e-05/0.003454, allocations: 22.58 kB / 246.8 MB, free: 11.93 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.987e-05/0.003474, allocations: 20.78 kB / 246.8 MB, free: 11.91 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.552e-06/0.003481, allocations: 7.922 kB / 246.8 MB, free: 11.9 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.875e-05/0.003499, allocations: 34.56 kB / 246.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 6.41e-07/0.0035, allocations: 0 / 246.9 MB, free: 11.86 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 9.083e-05/0.003591, allocations: 45.69 kB / 246.9 MB, free: 11.81 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.826e-05/0.003629, allocations: 51.41 kB / 247 MB, free: 11.75 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.726e-05/0.003676, allocations: 110.7 kB / 247.1 MB, free: 11.62 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.997e-06/0.003685, allocations: 33.7 kB / 247.1 MB, free: 11.59 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.723e-05/0.003702, allocations: 84.12 kB / 247.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.325e-06/0.003711, allocations: 4 kB / 247.2 MB, free: 11.5 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.033e-05/0.003731, allocations: 9.719 kB / 247.2 MB, free: 11.48 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001888/0.00392, allocations: 326.8 kB / 247.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.599e-06/0.003925, allocations: 4.188 kB / 247.5 MB, free: 11.15 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.39e-06/0.00393, allocations: 4 kB / 247.5 MB, free: 11.14 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 1.73e-05/0.003947, allocations: 8.859 kB / 247.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.844e-06/0.003949, allocations: 0 / 247.5 MB, free: 11.13 MB / 250.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 3.801e-05/0.003987, allocations: 41.75 kB / 247.6 MB, free: 11.09 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.107e-05/0.003998, allocations: 4 kB / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.419e-06/0.004003, allocations: 4 kB / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.197e-06/0.004012, allocations: 0 / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.708e-05/0.004059, allocations: 0 / 247.6 MB, free: 11.08 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.377e-06/0.004062, allocations: 7.938 kB / 247.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.706e-06/0.004071, allocations: 0 / 247.6 MB, free: 11.07 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.394e-06/0.004073, allocations: 0 / 247.6 MB, free: 11.07 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.569e-05/0.004129, allocations: 121.8 kB / 247.7 MB, free: 10.94 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.213e-05/0.004161, allocations: 37.69 kB / 247.8 MB, free: 10.9 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.819e-05/0.004179, allocations: 8.031 kB / 247.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.944e-06/0.004181, allocations: 0 / 247.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.252e-06/0.004183, allocations: 0 / 247.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.135e-06/0.004186, allocations: 3.984 kB / 247.8 MB, free: 10.89 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.519e-05/0.004231, allocations: 77.73 kB / 247.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.51e-07/0.004232, allocations: 0 / 247.8 MB, free: 10.8 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.547e-05/0.004267, allocations: 11.98 kB / 247.9 MB, free: 10.79 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.352e-06/0.004273, allocations: 4 kB / 247.9 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.664e-06/0.004275, allocations: 0 / 247.9 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.456e-06/0.004278, allocations: 0 / 247.9 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.41e-07/0.004279, allocations: 0 / 247.9 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.00428, allocations: 4 kB / 247.9 MB, free: 10.78 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.926e-05/0.004319, allocations: 61.77 kB / 247.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.07e-05/0.00433, allocations: 3.984 kB / 247.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.297e-06/0.004339, allocations: 0 / 247.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.204e-06/0.004341, allocations: 0 / 247.9 MB, free: 10.7 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.344e-06/0.004343, allocations: 4 kB / 247.9 MB, free: 10.69 MB / 250.7 MB Notification: Performance of sorting global known variables: time 1.169e-05/0.004355, allocations: 16.86 kB / 247.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of sort global known variables: time 5e-08/0.004355, allocations: 0 / 247.9 MB, free: 10.67 MB / 250.7 MB Notification: Performance of remove unused functions: time 8.559e-05/0.004441, allocations: 4 kB / 247.9 MB, free: 10.67 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.216e-05/0.004503, allocations: 84.41 kB / 248 MB, free: 10.57 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.307e-05/0.004556, allocations: 20.8 kB / 248.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 2.775e-06/0.004559, allocations: 0 / 248.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 2.4e-07/0.004559, allocations: 0 / 248.1 MB, free: 10.55 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001217/0.004681, allocations: 36.08 kB / 248.1 MB, free: 10.52 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000288/0.004969, allocations: 119 kB / 248.2 MB, free: 10.38 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.587e-05/0.004995, allocations: 59.34 kB / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 1.226e-05/0.005007, allocations: 0 / 248.3 MB, free: 10.3 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.53e-05/0.005042, allocations: 51.38 kB / 248.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of SimCode: time 4.71e-07/0.005043, allocations: 64 / 248.3 MB, free: 10.25 MB / 250.7 MB Notification: Performance of Templates: time 0.001713/0.006756, allocations: 493.7 kB / 248.8 MB, free: 9.773 MB / 250.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=240 -emit_protected -ignoreHideResult -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.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.4801932824775577]