Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.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.001389/0.001389, allocations: 83.58 kB / 21.19 MB, free: 3.379 MB / 18.57 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.001323/0.001323, allocations: 165 kB / 24.56 MB, free: 12 kB / 18.57 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 1.049/1.049, allocations: 177.1 MB / 205 MB, free: 5.613 MB / 186.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.RealSignals.TimeBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.775e-06/2.775e-06, allocations: 0 / 273 MB, free: 1.527 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.3e-05/3.578e-05, allocations: 2.312 kB / 273 MB, free: 1.523 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.003797/0.003833, allocations: 1.544 MB / 274.5 MB, free: 15.97 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001081/0.004914, allocations: 434.8 kB / 274.9 MB, free: 15.54 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.647e-05/0.005011, allocations: 8 kB / 275 MB, free: 15.53 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.612e-05/0.005057, allocations: 7.922 kB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001072/0.005164, allocations: 3.938 kB / 275 MB, free: 15.52 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003923/0.005556, allocations: 27.91 kB / 275 MB, free: 15.49 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001469/0.005703, allocations: 31.92 kB / 275 MB, free: 15.46 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.005845, allocations: 7.938 kB / 275 MB, free: 15.45 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001283/0.005973, allocations: 31.89 kB / 275.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.353e-05/0.006027, allocations: 4 kB / 275.1 MB, free: 15.42 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.968e-05/0.006057, allocations: 4 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.372e-05/0.00607, allocations: 4 kB / 275.1 MB, free: 15.41 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.103e-05/0.006101, allocations: 15.92 kB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.485e-05/0.006146, allocations: 8 kB / 275.1 MB, free: 15.39 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001353/0.006282, allocations: 35.83 kB / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.967e-06/0.006285, allocations: 0 / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.473e-06/0.006287, allocations: 0 / 275.1 MB, free: 15.35 MB / 266.7 MB Notification: Performance of Transformations before backend: time 7.073e-06/0.006294, allocations: 0 / 275.1 MB, free: 15.35 MB / 266.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.0005275/0.006822, allocations: 364.6 kB / 275.5 MB, free: 14.96 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.938e-05/0.006871, allocations: 8.031 kB / 275.5 MB, free: 14.95 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.335e-05/0.006924, allocations: 12.89 kB / 275.5 MB, free: 14.94 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002177/0.007142, allocations: 124.5 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.007158, allocations: 8.375 kB / 275.6 MB, free: 14.79 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.713e-05/0.007175, allocations: 4.375 kB / 275.6 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003806/0.007556, allocations: 114.2 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.684e-05/0.007573, allocations: 192 / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.2e-05/0.007585, allocations: 4.375 kB / 275.8 MB, free: 14.65 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.383e-05/0.007599, allocations: 3.938 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.542e-05/0.007644, allocations: 7.984 kB / 275.8 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001716/0.007816, allocations: 120.6 kB / 275.9 MB, free: 14.48 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000111/0.007927, allocations: 46.98 kB / 275.9 MB, free: 14.43 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.928e-05/0.007976, allocations: 15.72 kB / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.792e-05/0.008004, allocations: 0 / 276 MB, free: 14.41 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.075e-05/0.008045, allocations: 41.39 kB / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.383e-06/0.008046, allocations: 0 / 276 MB, free: 14.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0002198/0.008266, allocations: 53.67 kB / 276 MB, free: 14.3 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.409e-05/0.00833, allocations: 59.34 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002792/0.008609, allocations: 161.9 kB / 276.3 MB, free: 14.05 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.613e-05/0.008625, allocations: 29.7 kB / 276.3 MB, free: 14.02 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.711e-05/0.008682, allocations: 130.9 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.779e-06/0.008687, allocations: 7.984 kB / 276.4 MB, free: 13.88 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.775e-05/0.008715, allocations: 15.38 kB / 276.4 MB, free: 13.85 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001675/0.008882, allocations: 496.1 kB / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.226e-06/0.008891, allocations: 0 / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.77e-06/0.008896, allocations: 0 / 276.9 MB, free: 13.36 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.458e-05/0.008941, allocations: 123.1 kB / 277 MB, free: 13.23 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.894e-05/0.00898, allocations: 119.2 kB / 277.2 MB, free: 13.12 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 6.854e-05/0.009049, allocations: 45.64 kB / 277.2 MB, free: 13.07 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.48e-05/0.009103, allocations: 123.2 kB / 277.3 MB, free: 12.95 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.118e-05/0.009145, allocations: 123.2 kB / 277.4 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001004/0.009245, allocations: 246.4 kB / 277.7 MB, free: 12.58 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 5.141e-05/0.009296, allocations: 127.1 kB / 277.8 MB, free: 12.46 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.51e-05/0.009371, allocations: 246.3 kB / 278.1 MB, free: 12.21 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.843e-05/0.00946, allocations: 123.1 kB / 278.2 MB, free: 12.09 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.424e-05/0.009514, allocations: 123.2 kB / 278.3 MB, free: 11.97 MB / 266.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (0): * Single equations (assignments): 0 * 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 0.0001479/0.009662, allocations: 279.8 kB / 278.6 MB, free: 11.69 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.2e-05/0.009754, allocations: 45.69 kB / 278.6 MB, free: 11.64 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.028e-05/0.009804, allocations: 4 kB / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.128e-06/0.009808, allocations: 0 / 278.6 MB, free: 11.63 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.289e-05/0.009821, allocations: 7.938 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.831e-06/0.009827, allocations: 7.938 kB / 278.6 MB, free: 11.62 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001045/0.009932, allocations: 120.6 kB / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.929e-06/0.009937, allocations: 0 / 278.7 MB, free: 11.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001427/0.01008, allocations: 11.98 kB / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.372e-06/0.01009, allocations: 0 / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.726e-06/0.01009, allocations: 0 / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.518e-06/0.0101, allocations: 0 / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.074e-06/0.0101, allocations: 0 / 278.8 MB, free: 11.45 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001205/0.01022, allocations: 88.33 kB / 278.8 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.344e-05/0.01023, allocations: 8.281 kB / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.414e-05/0.01025, allocations: 0 / 278.9 MB, free: 11.34 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.8e-05/0.01029, allocations: 7.984 kB / 278.9 MB, free: 11.33 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.587e-06/0.01029, allocations: 4 kB / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.558e-06/0.0103, allocations: 3.984 kB / 278.9 MB, free: 11.32 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.984e-05/0.01036, allocations: 127.1 kB / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01036, allocations: 0 / 279 MB, free: 11.2 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001489/0.01051, allocations: 11.94 kB / 279 MB, free: 11.18 MB / 266.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: 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.0001086/0.01062, allocations: 95.25 kB / 279.1 MB, free: 11.08 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.811e-05/0.01069, allocations: 7.984 kB / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.804e-06/0.01069, allocations: 0 / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.41e-07/0.01069, allocations: 4 kB / 279.1 MB, free: 11.07 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002551/0.01094, allocations: 21.09 kB / 279.1 MB, free: 11.04 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002941/0.01124, allocations: 133 kB / 279.3 MB, free: 10.89 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 3.932e-05/0.01128, allocations: 59.34 kB / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.046e-05/0.01129, allocations: 0 / 279.3 MB, free: 10.81 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.93e-05/0.01132, allocations: 8.5 kB / 279.3 MB, free: 10.8 MB / 266.7 MB Notification: Performance of SimCode: time 1.202e-06/0.01132, allocations: 4 kB / 279.3 MB, free: 10.79 MB / 266.7 MB Notification: Performance of Templates: time 0.002772/0.01409, allocations: 403.8 kB / 279.7 MB, free: 10.41 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TimeBasedRamp/TimeBasedRamp.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: 3.1208548196591437]