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.001421/0.001421, allocations: 92.31 kB / 20.96 MB, free: 3.473 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.001621/0.001621, allocations: 161.7 kB / 24.27 MB, free: 172 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.522/1.522, allocations: 177.1 MB / 204.6 MB, free: 5.605 MB / 186.7 MB " [Timeout remaining time 178] 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 1.844e-06/1.844e-06, allocations: 0 / 272.3 MB, free: 1.828 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.063e-05/3.247e-05, allocations: 2.312 kB / 272.3 MB, free: 1.824 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.004823/0.004855, allocations: 1.505 MB / 273.8 MB, free: 320 kB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.001327/0.006182, allocations: 427 kB / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.642e-05/0.006258, allocations: 0 / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 4.449e-05/0.006303, allocations: 3.938 kB / 274.2 MB, free: 15.89 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001071/0.00641, allocations: 15.86 kB / 274.3 MB, free: 15.87 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003101/0.00672, allocations: 23.92 kB / 274.3 MB, free: 15.85 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001382/0.006858, allocations: 39.83 kB / 274.3 MB, free: 15.81 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001095/0.006968, allocations: 8 kB / 274.3 MB, free: 15.8 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001116/0.007079, allocations: 27.86 kB / 274.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.283e-05/0.007132, allocations: 7.984 kB / 274.4 MB, free: 15.77 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.976e-05/0.007162, allocations: 4 kB / 274.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.175e-05/0.007174, allocations: 4 kB / 274.4 MB, free: 15.76 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 2.901e-05/0.007203, allocations: 8 kB / 274.4 MB, free: 15.75 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 6.56e-05/0.007268, allocations: 19.91 kB / 274.4 MB, free: 15.73 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001363/0.007405, allocations: 27.95 kB / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.637e-06/0.007408, allocations: 0 / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.212e-06/0.007409, allocations: 0 / 274.4 MB, free: 15.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 4.649e-06/0.007414, allocations: 0 / 274.4 MB, free: 15.7 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.0006965/0.008111, allocations: 278.2 kB / 274.7 MB, free: 15.4 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.744e-05/0.008158, allocations: 8.031 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.771e-05/0.008226, allocations: 8.891 kB / 274.7 MB, free: 15.39 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003324/0.008558, allocations: 125.7 kB / 274.8 MB, free: 15.24 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.462e-05/0.008573, allocations: 8.25 kB / 274.8 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.058e-05/0.008593, allocations: 4.375 kB / 274.9 MB, free: 15.23 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007098/0.009303, allocations: 135.8 kB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.051e-05/0.009314, allocations: 4.188 kB / 275 MB, free: 15.08 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.603e-05/0.00933, allocations: 4.375 kB / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.648e-06/0.009339, allocations: 3.938 kB / 275 MB, free: 15.07 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002914/0.009631, allocations: 39.94 kB / 275 MB, free: 15.03 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002094/0.00984, allocations: 105.3 kB / 275.1 MB, free: 14.9 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004622/0.0103, allocations: 82.48 kB / 275.2 MB, free: 14.81 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001792/0.01048, allocations: 28.89 kB / 275.2 MB, free: 14.78 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.185e-05/0.01051, allocations: 4 kB / 275.3 MB, free: 14.77 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.864e-05/0.01056, allocations: 34.55 kB / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of pre-optimization done (n=4): time 1.412e-06/0.01056, allocations: 0 / 275.3 MB, free: 14.73 MB / 266.7 MB Notification: Performance of matching and sorting (n=4): time 0.000591/0.01115, allocations: 97.58 kB / 275.4 MB, free: 14.63 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.472e-05/0.01124, allocations: 59.34 kB / 275.4 MB, free: 14.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001568/0.0114, allocations: 105.8 kB / 275.5 MB, free: 14.45 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 2.923e-05/0.01143, allocations: 29.7 kB / 275.6 MB, free: 14.41 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.818e-05/0.0115, allocations: 84.14 kB / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.386e-06/0.01151, allocations: 0 / 275.7 MB, free: 14.32 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.792e-05/0.01155, allocations: 9.719 kB / 275.7 MB, free: 14.31 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0002552/0.01181, allocations: 322.8 kB / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.61e-06/0.01182, allocations: 0 / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.506e-06/0.01182, allocations: 0 / 276 MB, free: 13.98 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.094e-05/0.01188, allocations: 75.28 kB / 276.1 MB, free: 13.91 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.662e-05/0.01194, allocations: 75.28 kB / 276.1 MB, free: 13.84 MB / 266.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 0.0001105/0.01205, allocations: 37.59 kB / 276.2 MB, free: 13.79 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 7.264e-05/0.01212, allocations: 79.28 kB / 276.2 MB, free: 13.71 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.628e-05/0.01219, allocations: 83.28 kB / 276.3 MB, free: 13.63 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001368/0.01232, allocations: 150.6 kB / 276.5 MB, free: 13.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.085e-05/0.01239, allocations: 83.22 kB / 276.6 MB, free: 13.4 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0001252/0.01252, allocations: 162.5 kB / 276.7 MB, free: 13.24 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001491/0.01267, allocations: 79.22 kB / 276.8 MB, free: 13.16 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.614e-05/0.01272, allocations: 75.28 kB / 276.9 MB, free: 13.09 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.0001886/0.01291, allocations: 185.1 kB / 277 MB, free: 12.9 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003677/0.01328, allocations: 77.66 kB / 277.1 MB, free: 12.82 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.581e-05/0.01332, allocations: 4 kB / 277.1 MB, free: 12.81 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.211e-06/0.01332, allocations: 11.94 kB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.877e-06/0.01333, allocations: 3.938 kB / 277.1 MB, free: 12.8 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.176e-06/0.01333, allocations: 7.938 kB / 277.1 MB, free: 12.79 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000158/0.01349, allocations: 105.3 kB / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.807e-06/0.0135, allocations: 0 / 277.2 MB, free: 12.66 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001546/0.01365, allocations: 11.98 kB / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.068e-06/0.01365, allocations: 0 / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.757e-06/0.01366, allocations: 0 / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.965e-06/0.01367, allocations: 0 / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.272e-06/0.01367, allocations: 0 / 277.3 MB, free: 12.64 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004198/0.01409, allocations: 117 kB / 277.4 MB, free: 12.51 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.941e-05/0.01411, allocations: 8.219 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.888e-05/0.01413, allocations: 0 / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.736e-05/0.0142, allocations: 4 kB / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.376e-06/0.01421, allocations: 0 / 277.4 MB, free: 12.5 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.263e-05/0.01423, allocations: 7.969 kB / 277.4 MB, free: 12.49 MB / 266.7 MB Notification: Performance of sorting global known variables: time 9.515e-05/0.01432, allocations: 91.22 kB / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of sort global known variables: time 1.4e-07/0.01432, allocations: 0 / 277.5 MB, free: 12.4 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0004439/0.01477, allocations: 3.938 kB / 277.5 MB, free: 12.4 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.00017/0.01494, allocations: 99.25 kB / 277.6 MB, free: 12.29 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.01515, allocations: 23.97 kB / 277.6 MB, free: 12.27 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 2.265e-06/0.01515, allocations: 4 kB / 277.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.72e-07/0.01515, allocations: 0 / 277.6 MB, free: 12.26 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005163/0.01566, allocations: 29.09 kB / 277.6 MB, free: 12.23 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004624/0.01613, allocations: 127.4 kB / 277.8 MB, free: 12.08 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.684e-05/0.01622, allocations: 67.34 kB / 277.8 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 1.594e-05/0.01624, allocations: 0 / 277.8 MB, free: 12 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.612e-05/0.01629, allocations: 8.5 kB / 277.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of SimCode: time 6.11e-07/0.01629, allocations: 0 / 277.8 MB, free: 11.99 MB / 266.7 MB Notification: Performance of Templates: time 0.004218/0.0205, allocations: 420 kB / 278.2 MB, free: 11.59 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=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 480] 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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.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.34984084602911]