Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.002491/0.002491, allocations: 103.5 kB / 20.43 MB, free: 1.199 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.002502/0.002502, allocations: 192.2 kB / 23.71 MB, free: 4.426 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.525/1.525, allocations: 225.7 MB / 252.5 MB, free: 12.86 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.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") translateModel(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002161/0.002161, allocations: 51.92 kB / 370.9 MB, free: 9.289 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2901/0.2922, allocations: 52.18 MB / 423.1 MB, free: 14.48 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.002801/0.295, allocations: 1.491 MB / 424.6 MB, free: 12.98 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007071/0.2957, allocations: 375.2 kB / 424.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.237e-05/0.2958, allocations: 0 / 424.9 MB, free: 12.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 3.382e-05/0.2958, allocations: 3.938 kB / 424.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 6.035e-05/0.2959, allocations: 3.938 kB / 424.9 MB, free: 12.6 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002427/0.2961, allocations: 35.91 kB / 425 MB, free: 12.56 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 9.459e-05/0.2962, allocations: 35.91 kB / 425 MB, free: 12.53 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000114/0.2963, allocations: 11.98 kB / 425 MB, free: 12.52 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.778e-05/0.2964, allocations: 15.92 kB / 425 MB, free: 12.5 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 4.185e-05/0.2964, allocations: 19.86 kB / 425.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 1.874e-05/0.2965, allocations: 4 kB / 425.1 MB, free: 12.48 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.16e-05/0.2965, allocations: 4 kB / 425.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 1.957e-05/0.2965, allocations: 4 kB / 425.1 MB, free: 12.47 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 3.937e-05/0.2965, allocations: 15.88 kB / 425.1 MB, free: 12.45 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001003/0.2966, allocations: 37.36 kB / 425.1 MB, free: 12.42 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.078e-06/0.2966, allocations: 4 kB / 425.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.894e-06/0.2966, allocations: 0 / 425.1 MB, free: 12.41 MB / 334.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.2966, allocations: 4 kB / 425.1 MB, free: 12.41 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.0004909/0.2971, allocations: 277.9 kB / 425.4 MB, free: 12.11 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.083e-05/0.2972, allocations: 12.03 kB / 425.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.594e-05/0.2972, allocations: 0.9375 kB / 425.4 MB, free: 12.1 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002037/0.2974, allocations: 122.5 kB / 425.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.973e-06/0.2974, allocations: 384 / 425.5 MB, free: 11.96 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.648e-05/0.2974, allocations: 4.375 kB / 425.5 MB, free: 11.95 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000436/0.2979, allocations: 143.5 kB / 425.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.005e-05/0.2979, allocations: 0 / 425.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.556e-06/0.2979, allocations: 0 / 425.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.292e-06/0.2979, allocations: 4 kB / 425.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001634/0.2981, allocations: 39.95 kB / 425.7 MB, free: 11.76 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001235/0.2982, allocations: 105.3 kB / 425.8 MB, free: 11.62 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002655/0.2984, allocations: 74.52 kB / 425.9 MB, free: 11.54 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.964e-05/0.2985, allocations: 32.91 kB / 425.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.984e-05/0.2986, allocations: 0 / 425.9 MB, free: 11.51 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.828e-05/0.2986, allocations: 38.5 kB / 426 MB, free: 11.46 MB / 334.1 MB Notification: Performance of pre-optimization done (n=4): time 8.71e-07/0.2986, allocations: 0 / 426 MB, free: 11.46 MB / 334.1 MB Notification: Performance of matching and sorting (n=4): time 0.0003509/0.2989, allocations: 101.5 kB / 426.1 MB, free: 11.36 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.845e-05/0.299, allocations: 59.41 kB / 426.1 MB, free: 11.29 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.59e-05/0.2991, allocations: 109.8 kB / 426.2 MB, free: 11.17 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.2991, allocations: 25.7 kB / 426.2 MB, free: 11.14 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.401e-05/0.2991, allocations: 88.08 kB / 426.3 MB, free: 11.05 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.966e-06/0.2992, allocations: 3.984 kB / 426.3 MB, free: 11.04 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.167e-05/0.2992, allocations: 17.72 kB / 426.4 MB, free: 11.02 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001341/0.2993, allocations: 314.8 kB / 426.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.268e-05/0.2993, allocations: 8 kB / 426.7 MB, free: 10.7 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.97e-05/0.2994, allocations: 31.36 kB / 426.7 MB, free: 10.65 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.761e-05/0.2994, allocations: 35.38 kB / 426.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.493e-06/0.2994, allocations: 0 / 426.7 MB, free: 10.61 MB / 334.1 MB Notification: Performance of matching and sorting (n=4) (initialization): time 8.132e-05/0.2995, allocations: 53.62 kB / 426.8 MB, free: 10.55 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.506e-05/0.2995, allocations: 6.312 kB / 426.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.372e-06/0.2995, allocations: 7.938 kB / 426.8 MB, free: 10.54 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.571e-05/0.2995, allocations: 4.281 kB / 426.8 MB, free: 10.53 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.376e-05/0.2996, allocations: 11.94 kB / 426.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.755e-06/0.2996, allocations: 4 kB / 426.8 MB, free: 10.52 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.289e-05/0.2996, allocations: 7.953 kB / 426.8 MB, free: 10.51 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.387e-06/0.2996, allocations: 0 / 426.8 MB, free: 10.51 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (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 prepare postOptimizeDAE: time 7.868e-05/0.2997, allocations: 113.8 kB / 426.9 MB, free: 10.39 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001963/0.2999, allocations: 77.64 kB / 427 MB, free: 10.3 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.511e-05/0.2999, allocations: 19.92 kB / 427 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.603e-06/0.2999, allocations: 0 / 427 MB, free: 10.28 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.707e-06/0.2999, allocations: 4 kB / 427 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.214e-06/0.2999, allocations: 0 / 427 MB, free: 10.27 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 8.466e-05/0.3, allocations: 109.2 kB / 427.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.172e-06/0.3, allocations: 0 / 427.1 MB, free: 10.14 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.249e-05/0.3001, allocations: 11.98 kB / 427.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.853e-06/0.3001, allocations: 0 / 427.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.231e-06/0.3001, allocations: 0 / 427.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.387e-06/0.3001, allocations: 3.938 kB / 427.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.605e-06/0.3001, allocations: 4 kB / 427.2 MB, free: 10.12 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002254/0.3003, allocations: 105 kB / 427.3 MB, free: 9.996 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.262e-05/0.3003, allocations: 4 kB / 427.3 MB, free: 9.992 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.672e-05/0.3004, allocations: 4 kB / 427.3 MB, free: 9.988 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.18e-05/0.3004, allocations: 11.92 kB / 427.3 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.605e-06/0.3004, allocations: 0 / 427.3 MB, free: 9.977 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.847e-06/0.3004, allocations: 0 / 427.3 MB, free: 9.977 MB / 334.1 MB Notification: Performance of sorting global known variables: time 5.163e-05/0.3005, allocations: 87.27 kB / 427.4 MB, free: 9.891 MB / 334.1 MB Notification: Performance of sort global known variables: time 1e-07/0.3005, allocations: 3.938 kB / 427.4 MB, free: 9.887 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0001916/0.3007, allocations: 12 kB / 427.4 MB, free: 9.875 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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * 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.0001006/0.3008, allocations: 91.25 kB / 427.5 MB, free: 9.777 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.000164/0.3009, allocations: 35.91 kB / 427.5 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.3009, allocations: 0 / 427.5 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 4.21e-07/0.3009, allocations: 0 / 427.5 MB, free: 9.742 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003061/0.3012, allocations: 39.27 kB / 427.6 MB, free: 9.707 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.3015, allocations: 129.8 kB / 427.7 MB, free: 9.555 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.218e-05/0.3016, allocations: 71.14 kB / 427.7 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 1.347e-05/0.3016, allocations: 0 / 427.7 MB, free: 9.465 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.448e-05/0.3016, allocations: 7.438 kB / 427.8 MB, free: 9.457 MB / 334.1 MB Notification: Performance of SimCode: time 3.6e-07/0.3016, allocations: 4 kB / 427.8 MB, free: 9.453 MB / 334.1 MB Notification: Performance of Templates: time 0.002767/0.3044, allocations: 467.7 kB / 428.2 MB, free: 9.012 MB / 334.1 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.517515067011118]