Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.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.0009703/0.0009703, allocations: 77.97 kB / 21.42 MB, free: 3.074 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.001256/0.001256, allocations: 165.3 kB / 24.82 MB, free: 9.27 MB / 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.098/1.098, allocations: 177.1 MB / 205.3 MB, free: 5.516 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.TickBasedRamp,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5011,variableFilter="time|assignClock1.y",fileNamePrefix="Modelica_4.1.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.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.044e-06/2.044e-06, allocations: 0 / 273.4 MB, free: 1.312 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.347e-05/2.552e-05, allocations: 8.703 kB / 273.4 MB, free: 1.305 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp): time 0.002359/0.002385, allocations: 1.513 MB / 274.9 MB, free: 15.78 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.0002349/0.00262, allocations: 39.84 kB / 275 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.926e-05/0.002689, allocations: 0 / 275 MB, free: 15.74 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 3.004e-05/0.002719, allocations: 7.938 kB / 275 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 5.076e-05/0.00277, allocations: 3.938 kB / 275 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002473/0.003017, allocations: 31.84 kB / 275 MB, free: 15.7 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 8.45e-05/0.003101, allocations: 39.91 kB / 275 MB, free: 15.66 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001078/0.003209, allocations: 7.984 kB / 275 MB, free: 15.65 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.772e-05/0.003287, allocations: 15.98 kB / 275.1 MB, free: 15.64 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.555e-05/0.003322, allocations: 19.92 kB / 275.1 MB, free: 15.62 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.054e-05/0.003343, allocations: 4 kB / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.326e-06/0.003351, allocations: 0 / 275.1 MB, free: 15.61 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.181e-05/0.003373, allocations: 11.98 kB / 275.1 MB, free: 15.6 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 2.584e-05/0.003399, allocations: 15.92 kB / 275.1 MB, free: 15.59 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 8.8e-05/0.003487, allocations: 23.97 kB / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.014e-06/0.003489, allocations: 0 / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of FrontEnd: time 9.22e-07/0.00349, allocations: 0 / 275.1 MB, free: 15.56 MB / 266.7 MB Notification: Performance of Transformations before backend: time 3.717e-06/0.003494, allocations: 0 / 275.1 MB, free: 15.56 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.0003244/0.003818, allocations: 380.5 kB / 275.5 MB, free: 15.15 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.738e-05/0.003855, allocations: 12.02 kB / 275.5 MB, free: 15.14 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.667e-05/0.003882, allocations: 8.891 kB / 275.5 MB, free: 15.13 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000124/0.004006, allocations: 136.4 kB / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.472e-05/0.004021, allocations: 384 / 275.7 MB, free: 14.97 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.508e-06/0.00403, allocations: 8.375 kB / 275.7 MB, free: 14.96 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001855/0.004216, allocations: 114.2 kB / 275.8 MB, free: 14.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.593e-06/0.004222, allocations: 4.188 kB / 275.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.823e-06/0.004229, allocations: 384 / 275.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.278e-06/0.004234, allocations: 4.312 kB / 275.8 MB, free: 14.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.255e-05/0.004256, allocations: 11.92 kB / 275.8 MB, free: 14.82 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.036e-05/0.004336, allocations: 97.25 kB / 275.9 MB, free: 14.7 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.098e-05/0.004397, allocations: 47.03 kB / 275.9 MB, free: 14.64 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.479e-05/0.004422, allocations: 15.75 kB / 276 MB, free: 14.62 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.236e-06/0.00443, allocations: 8 kB / 276 MB, free: 14.61 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.052e-05/0.004451, allocations: 33.39 kB / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 7.52e-07/0.004452, allocations: 0 / 276 MB, free: 14.57 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001124/0.004564, allocations: 53.62 kB / 276 MB, free: 14.51 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.891e-05/0.004603, allocations: 51.41 kB / 276.1 MB, free: 14.45 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.539e-05/0.004668, allocations: 165.9 kB / 276.3 MB, free: 14.27 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.137e-05/0.00468, allocations: 29.7 kB / 276.3 MB, free: 14.23 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.805e-05/0.004718, allocations: 130.9 kB / 276.4 MB, free: 14.1 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.068e-05/0.004728, allocations: 7.938 kB / 276.4 MB, free: 14.09 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.493e-05/0.004753, allocations: 19.38 kB / 276.4 MB, free: 14.06 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001156/0.004869, allocations: 0.4922 MB / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.448e-06/0.004873, allocations: 0 / 276.9 MB, free: 13.56 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.252e-06/0.00488, allocations: 4 kB / 276.9 MB, free: 13.55 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.306e-05/0.004903, allocations: 15.56 kB / 277 MB, free: 13.54 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.004906, allocations: 8 kB / 277 MB, free: 13.53 MB / 266.7 MB Notification: Performance of matching and sorting (n=2) (initialization): time 4.762e-05/0.004953, allocations: 41.69 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.15e-05/0.004965, allocations: 4 kB / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.00497, allocations: 0 / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.548e-06/0.004979, allocations: 0 / 277 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 4.126e-05/0.005021, allocations: 8.094 kB / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.657e-06/0.005024, allocations: 0 / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.011e-05/0.005034, allocations: 0 / 277 MB, free: 13.47 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.296e-06/0.005038, allocations: 3.938 kB / 277 MB, free: 13.46 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: 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 (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 7.036e-05/0.005108, allocations: 156.6 kB / 277.2 MB, free: 13.3 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.745e-05/0.005155, allocations: 53.58 kB / 277.2 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.482e-05/0.00518, allocations: 11.98 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.312e-06/0.005182, allocations: 0 / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.543e-06/0.005183, allocations: 0 / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.857e-06/0.005187, allocations: 4 kB / 277.2 MB, free: 13.23 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 6.38e-05/0.005251, allocations: 101.2 kB / 277.3 MB, free: 13.1 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.473e-06/0.005252, allocations: 8 kB / 277.3 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.222e-05/0.005294, allocations: 8 kB / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.663e-06/0.005296, allocations: 0 / 277.4 MB, free: 13.09 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.849e-06/0.005301, allocations: 3.984 kB / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.12e-07/0.005302, allocations: 0 / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.005302, allocations: 0 / 277.4 MB, free: 13.08 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 4.66e-05/0.005349, allocations: 68.33 kB / 277.4 MB, free: 12.99 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.795e-06/0.005357, allocations: 7.953 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.238e-05/0.005369, allocations: 4 kB / 277.4 MB, free: 12.98 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.656e-05/0.005386, allocations: 7.984 kB / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-06/0.005388, allocations: 240 / 277.4 MB, free: 12.97 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.795e-06/0.005391, allocations: 4 kB / 277.5 MB, free: 12.97 MB / 266.7 MB Notification: Performance of sorting global known variables: time 4.487e-05/0.005436, allocations: 127.2 kB / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.005436, allocations: 0 / 277.6 MB, free: 12.84 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0001111/0.005547, allocations: 4 kB / 277.6 MB, free: 12.84 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: 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 8.006e-05/0.005627, allocations: 107.2 kB / 277.7 MB, free: 12.72 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 6.171e-05/0.005689, allocations: 19.69 kB / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.654e-06/0.00569, allocations: 0 / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 5.92e-07/0.005691, allocations: 0 / 277.7 MB, free: 12.7 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000173/0.005864, allocations: 29.36 kB / 277.7 MB, free: 12.67 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002355/0.006099, allocations: 128.8 kB / 277.9 MB, free: 12.52 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.974e-05/0.006129, allocations: 59.34 kB / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 2.008e-05/0.006149, allocations: 256 / 277.9 MB, free: 12.44 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.968e-05/0.006199, allocations: 74.19 kB / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of SimCode: time 9.32e-07/0.0062, allocations: 0 / 278 MB, free: 12.36 MB / 266.7 MB Notification: Performance of Templates: time 0.002059/0.008259, allocations: 0.6011 MB / 278.6 MB, free: 11.78 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; mkfifo Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe >> ../files/Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.sim & ./Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TickBasedRamp_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Clocked/Examples/Elementary/RealSignals/TickBasedRamp/TickBasedRamp.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.738358321134001]