Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001586/0.001586, allocations: 115.5 kB / 21.18 MB, free: 0.5898 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001757/0.001757, allocations: 210.8 kB / 24.47 MB, free: 3.996 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0-beta.om/package.mo): time 1.468/1.468, allocations: 230.5 MB / 258.1 MB, free: 8.129 MB / 206.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-beta.om/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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-beta.om_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-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep") [Timeout 660] "Warning: Requested package Modelica of version trunk, but this package was already loaded with version 4.1.0. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package Complex of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Warning: Requested package ModelicaServices of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.00187/0.00187, allocations: 72.06 kB / 378.7 MB, free: 2.902 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2672/0.269, allocations: 53.32 MB / 432 MB, free: 7.383 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep): time 0.002898/0.2719, allocations: 1.454 MB / 433.5 MB, free: 5.926 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002087/0.2721, allocations: 31.91 kB / 433.5 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.697e-05/0.2722, allocations: 0 / 433.5 MB, free: 5.895 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.208e-05/0.2722, allocations: 3.938 kB / 433.5 MB, free: 5.891 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.06e-05/0.2723, allocations: 3.938 kB / 433.5 MB, free: 5.887 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002506/0.2725, allocations: 27.97 kB / 433.6 MB, free: 5.859 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.448e-05/0.2726, allocations: 27.92 kB / 433.6 MB, free: 5.832 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001091/0.2727, allocations: 11.94 kB / 433.6 MB, free: 5.82 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.198e-05/0.2728, allocations: 15.97 kB / 433.6 MB, free: 5.805 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.508e-05/0.2728, allocations: 11.94 kB / 433.6 MB, free: 5.793 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.2728, allocations: 4 kB / 433.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.895e-06/0.2728, allocations: 0 / 433.6 MB, free: 5.789 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.063e-05/0.2729, allocations: 7.922 kB / 433.6 MB, free: 5.781 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.076e-05/0.2729, allocations: 15.88 kB / 433.7 MB, free: 5.766 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001027/0.273, allocations: 37.84 kB / 433.7 MB, free: 5.73 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.486e-06/0.273, allocations: 0 / 433.7 MB, free: 5.73 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.313e-06/0.273, allocations: 4 kB / 433.7 MB, free: 5.727 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.709e-06/0.273, allocations: 0 / 433.7 MB, free: 5.727 MB / 334.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.0004646/0.2735, allocations: 347.3 kB / 434 MB, free: 5.336 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.36e-05/0.2735, allocations: 8.031 kB / 434 MB, free: 5.328 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.714e-05/0.2736, allocations: 12.89 kB / 434.1 MB, free: 5.316 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.2738, allocations: 168.4 kB / 434.2 MB, free: 5.113 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.311e-05/0.2738, allocations: 4.375 kB / 434.2 MB, free: 5.109 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.232e-05/0.2738, allocations: 4.375 kB / 434.2 MB, free: 5.105 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003637/0.2742, allocations: 119.8 kB / 434.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.776e-06/0.2742, allocations: 192 / 434.3 MB, free: 4.977 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.585e-05/0.2742, allocations: 11.92 kB / 434.4 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.178e-06/0.2742, allocations: 0 / 434.4 MB, free: 4.965 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001119/0.2743, allocations: 19.98 kB / 434.4 MB, free: 4.945 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002168/0.2745, allocations: 161.7 kB / 434.5 MB, free: 4.738 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001735/0.2747, allocations: 58.52 kB / 434.6 MB, free: 4.672 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.21e-05/0.2748, allocations: 24.89 kB / 434.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.183e-05/0.2748, allocations: 0 / 434.6 MB, free: 4.645 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.198e-05/0.2748, allocations: 34.56 kB / 434.6 MB, free: 4.602 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 1.022e-06/0.2748, allocations: 0 / 434.6 MB, free: 4.602 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0002974/0.2751, allocations: 85.55 kB / 434.7 MB, free: 4.512 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.2e-05/0.2752, allocations: 51.41 kB / 434.8 MB, free: 4.449 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.424e-05/0.2753, allocations: 113.8 kB / 434.9 MB, free: 4.328 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.739e-05/0.2753, allocations: 25.7 kB / 434.9 MB, free: 4.297 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.494e-05/0.2754, allocations: 88.14 kB / 435 MB, free: 4.207 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.13e-05/0.2754, allocations: 3.938 kB / 435 MB, free: 4.203 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.575e-05/0.2754, allocations: 21.7 kB / 435 MB, free: 4.176 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001468/0.2756, allocations: 310.8 kB / 435.3 MB, free: 3.863 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.583e-05/0.2756, allocations: 8 kB / 435.3 MB, free: 3.855 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.281e-05/0.2756, allocations: 35.42 kB / 435.4 MB, free: 3.809 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.252e-05/0.2757, allocations: 35.38 kB / 435.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.883e-06/0.2757, allocations: 0 / 435.4 MB, free: 3.762 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 8.874e-05/0.2758, allocations: 65.61 kB / 435.5 MB, free: 3.691 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.497e-05/0.2758, allocations: 11.94 kB / 435.5 MB, free: 3.68 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.552e-06/0.2758, allocations: 3.938 kB / 435.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.2758, allocations: 0 / 435.5 MB, free: 3.676 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.823e-05/0.2759, allocations: 8 kB / 435.5 MB, free: 3.668 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.722e-06/0.2759, allocations: 3.938 kB / 435.5 MB, free: 3.664 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.151e-05/0.2759, allocations: 4 kB / 435.5 MB, free: 3.66 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.36e-06/0.2759, allocations: 7.938 kB / 435.5 MB, free: 3.652 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 5 ($CLKPRE.step.counter,step.counter,step.y,assignClock1.y,assignClock1.u) * Number of discrete states: 0 () * Number of clocked states: 1 (step.counter) * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * 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 9.515e-05/0.276, allocations: 117.9 kB / 435.6 MB, free: 3.527 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000159/0.2762, allocations: 77.78 kB / 435.7 MB, free: 3.445 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.748e-05/0.2762, allocations: 7.844 kB / 435.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.553e-06/0.2762, allocations: 0 / 435.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.606e-06/0.2762, allocations: 0 / 435.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.555e-06/0.2762, allocations: 0 / 435.7 MB, free: 3.434 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000127/0.2763, allocations: 157.7 kB / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.61e-07/0.2763, allocations: 0 / 435.9 MB, free: 3.23 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.746e-05/0.2764, allocations: 8 kB / 435.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.413e-06/0.2764, allocations: 0 / 435.9 MB, free: 3.223 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.265e-05/0.2764, allocations: 11.94 kB / 435.9 MB, free: 3.211 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.133e-06/0.2764, allocations: 7.938 kB / 435.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.02e-07/0.2764, allocations: 0 / 435.9 MB, free: 3.203 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000189/0.2766, allocations: 89.09 kB / 436 MB, free: 3.098 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.762e-05/0.2766, allocations: 81.06 kB / 436.1 MB, free: 3 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.838e-05/0.2766, allocations: 7.938 kB / 436.1 MB, free: 2.992 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.315e-05/0.2767, allocations: 4.359 kB / 436.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.284e-06/0.2767, allocations: 0 / 436.1 MB, free: 2.988 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.931e-06/0.2767, allocations: 4 kB / 436.1 MB, free: 2.984 MB / 334.1 MB Notification: Performance of sorting global known variables: time 4.999e-05/0.2767, allocations: 91.28 kB / 436.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of sort global known variables: time 7e-08/0.2767, allocations: 0 / 436.2 MB, free: 2.895 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001804/0.2769, allocations: 4 kB / 436.2 MB, free: 2.891 MB / 334.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.0001157/0.277, allocations: 95.25 kB / 436.3 MB, free: 2.785 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0001506/0.2772, allocations: 35.91 kB / 436.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.784e-06/0.2772, allocations: 0 / 436.3 MB, free: 2.75 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.91e-07/0.2772, allocations: 3.938 kB / 436.3 MB, free: 2.746 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002709/0.2775, allocations: 36.2 kB / 436.3 MB, free: 2.711 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003223/0.2778, allocations: 147.2 kB / 436.5 MB, free: 2.535 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000324/0.2781, allocations: 0.6807 MB / 437.2 MB, free: 1.828 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.631e-05/0.2781, allocations: 11.42 kB / 437.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of SimCode: time 3.41e-07/0.2781, allocations: 0 / 437.2 MB, free: 1.816 MB / 334.1 MB Notification: Performance of Templates: time 0.002139/0.2803, allocations: 0.6289 MB / 437.8 MB, free: 1.191 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.makefile [Timeout 660] (rm -f Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; mkfifo Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe ; head -c 1048576 < Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe >> ../files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.sim & ./Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.TickBasedStep_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/IntegerSignals/TickBasedStep/TickBasedStep.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_4.1.0-beta.om_Modelica.Clocked.Examples.Elementary.IntegerSignals.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: 6.693791119847447]