Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.001631/0.001631, allocations: 107.5 kB / 20.44 MB, free: 1.188 MB / 14.72 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.001874/0.001874, allocations: 194.9 kB / 23.71 MB, free: 4.406 MB / 14.72 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 1.529/1.529, allocations: 225.7 MB / 252.5 MB, free: 12.82 MB / 206.1 MB " [Timeout remaining time 178] 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.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001773/0.001773, allocations: 43.92 kB / 370.9 MB, free: 9.195 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2664/0.2681, allocations: 52.19 MB / 423.1 MB, free: 14.47 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002966/0.2711, allocations: 1.472 MB / 424.5 MB, free: 12.99 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0002057/0.2713, allocations: 35.84 kB / 424.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.311e-05/0.2714, allocations: 0 / 424.6 MB, free: 12.96 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.28e-05/0.2714, allocations: 3.938 kB / 424.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 4.633e-05/0.2715, allocations: 7.938 kB / 424.6 MB, free: 12.95 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002841/0.2717, allocations: 35.47 kB / 424.6 MB, free: 12.91 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.846e-05/0.2718, allocations: 35.91 kB / 424.7 MB, free: 12.88 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001082/0.2719, allocations: 11.98 kB / 424.7 MB, free: 12.87 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.374e-05/0.272, allocations: 19.94 kB / 424.7 MB, free: 12.85 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.425e-05/0.272, allocations: 15.92 kB / 424.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.921e-05/0.2721, allocations: 4 kB / 424.7 MB, free: 12.83 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.225e-05/0.2721, allocations: 4 kB / 424.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 2.957e-05/0.2721, allocations: 7.984 kB / 424.7 MB, free: 12.82 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.999e-05/0.2721, allocations: 15.92 kB / 424.7 MB, free: 12.8 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001153/0.2723, allocations: 43.47 kB / 424.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.539e-06/0.2723, allocations: 0 / 424.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.192e-06/0.2723, allocations: 0 / 424.8 MB, free: 12.76 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.2723, allocations: 0 / 424.8 MB, free: 12.76 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.0005569/0.2728, allocations: 280.8 kB / 425.1 MB, free: 12.46 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.8e-05/0.2729, allocations: 16.03 kB / 425.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.297e-05/0.2729, allocations: 4.891 kB / 425.1 MB, free: 12.44 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002356/0.2731, allocations: 118.5 kB / 425.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.667e-05/0.2731, allocations: 384 / 425.2 MB, free: 12.3 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.628e-05/0.2732, allocations: 8.312 kB / 425.2 MB, free: 12.29 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005683/0.2737, allocations: 159.8 kB / 425.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.966e-06/0.2737, allocations: 192 / 425.4 MB, free: 12.12 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.232e-05/0.2738, allocations: 11.94 kB / 425.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.168e-06/0.2738, allocations: 0 / 425.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002502/0.274, allocations: 51.88 kB / 425.4 MB, free: 12.06 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001305/0.2741, allocations: 109.2 kB / 425.5 MB, free: 11.92 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003314/0.2745, allocations: 82.5 kB / 425.6 MB, free: 11.83 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001556/0.2746, allocations: 36.84 kB / 425.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.386e-06/0.2746, allocations: 0 / 425.6 MB, free: 11.79 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.057e-05/0.2747, allocations: 38.56 kB / 425.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.91e-07/0.2747, allocations: 0 / 425.7 MB, free: 11.75 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0005025/0.2752, allocations: 121.4 kB / 425.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.506e-05/0.2752, allocations: 55.39 kB / 425.9 MB, free: 11.55 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.743e-05/0.2753, allocations: 109.8 kB / 426 MB, free: 11.44 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 2.694e-05/0.2753, allocations: 29.7 kB / 426 MB, free: 11.4 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.275e-05/0.2754, allocations: 88.12 kB / 426.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.237e-05/0.2754, allocations: 0 / 426.1 MB, free: 11.31 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.241e-05/0.2754, allocations: 21.66 kB / 426.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.2756, allocations: 314.8 kB / 426.4 MB, free: 10.97 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.647e-05/0.2756, allocations: 7.984 kB / 426.4 MB, free: 10.96 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.021e-05/0.2756, allocations: 27.44 kB / 426.4 MB, free: 10.92 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.42e-05/0.2757, allocations: 43.38 kB / 426.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.533e-06/0.2757, allocations: 0 / 426.5 MB, free: 10.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 9.423e-05/0.2758, allocations: 65.52 kB / 426.5 MB, free: 10.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.411e-05/0.2758, allocations: 4 kB / 426.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.239e-06/0.2758, allocations: 0 / 426.5 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.2758, allocations: 7.938 kB / 426.6 MB, free: 10.79 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.91e-05/0.2759, allocations: 11.98 kB / 426.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.841e-06/0.2759, allocations: 0 / 426.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.174e-05/0.2759, allocations: 8.25 kB / 426.6 MB, free: 10.77 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.512e-06/0.2759, allocations: 4 kB / 426.6 MB, free: 10.76 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: 2 ($CLKPRE.ramp.counter,ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.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.867e-05/0.276, allocations: 113.8 kB / 426.7 MB, free: 10.64 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002858/0.2763, allocations: 89.53 kB / 426.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.677e-05/0.2764, allocations: 11.98 kB / 426.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.326e-06/0.2764, allocations: 3.938 kB / 426.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.251e-06/0.2764, allocations: 4 kB / 426.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.605e-06/0.2764, allocations: 0 / 426.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.215e-05/0.2765, allocations: 109.2 kB / 426.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.082e-06/0.2765, allocations: 240 / 426.9 MB, free: 10.38 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.485e-05/0.2766, allocations: 15.98 kB / 426.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.393e-06/0.2766, allocations: 0 / 426.9 MB, free: 10.37 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.295e-05/0.2766, allocations: 4 kB / 426.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.132e-06/0.2766, allocations: 0 / 426.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.629e-06/0.2766, allocations: 7.922 kB / 426.9 MB, free: 10.36 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003303/0.2769, allocations: 113.1 kB / 427 MB, free: 10.23 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.408e-06/0.2769, allocations: 7.891 kB / 427 MB, free: 10.22 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.861e-05/0.2769, allocations: 4 kB / 427.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.695e-05/0.277, allocations: 7.984 kB / 427.1 MB, free: 10.21 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.548e-06/0.277, allocations: 3.938 kB / 427.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.949e-06/0.277, allocations: 0 / 427.1 MB, free: 10.2 MB / 334.1 MB Notification: Performance of sorting global known variables: time 6.146e-05/0.2771, allocations: 95.27 kB / 427.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2771, allocations: 0 / 427.2 MB, free: 10.11 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001903/0.2773, allocations: 4 kB / 427.2 MB, free: 10.11 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: 1 (ramp.counter) * Number of discrete states: 0 () * Number of clocked states: 1 (ramp.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.0001387/0.2774, allocations: 99.25 kB / 427.3 MB, free: 10 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000219/0.2776, allocations: 43.89 kB / 427.3 MB, free: 9.957 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 2.164e-06/0.2776, allocations: 0 / 427.3 MB, free: 9.957 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 5.81e-07/0.2776, allocations: 0 / 427.3 MB, free: 9.957 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003607/0.278, allocations: 43.92 kB / 427.3 MB, free: 9.914 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003928/0.2784, allocations: 133.8 kB / 427.5 MB, free: 9.758 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.061e-05/0.2784, allocations: 71.19 kB / 427.5 MB, free: 9.668 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 2.408e-05/0.2785, allocations: 4 kB / 427.5 MB, free: 9.664 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.814e-05/0.2785, allocations: 7.438 kB / 427.6 MB, free: 9.656 MB / 334.1 MB Notification: Performance of SimCode: time 3.91e-07/0.2785, allocations: 0 / 427.6 MB, free: 9.656 MB / 334.1 MB Notification: Performance of Templates: time 0.003089/0.2816, allocations: 0.5896 MB / 428.1 MB, free: 9.086 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.5713456980884075]