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.001044/0.001044, allocations: 72.08 kB / 21.69 MB, free: 2.859 MB / 18.57 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.001528/0.001528, allocations: 143.8 kB / 24.98 MB, free: 8.324 MB / 18.57 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.035/1.035, allocations: 173.3 MB / 201.5 MB, free: 9.34 MB / 186.7 MB " [Timeout remaining time 179] 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 1.182e-06/1.182e-06, allocations: 0 / 268.1 MB, free: 6.73 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.015e-05/2.133e-05, allocations: 6.25 kB / 268.1 MB, free: 6.723 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.00193/0.001951, allocations: 1.518 MB / 269.6 MB, free: 5.191 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005391/0.00249, allocations: 406.9 kB / 270 MB, free: 4.789 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.426e-05/0.002554, allocations: 4 kB / 270 MB, free: 4.785 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.798e-05/0.002582, allocations: 7.922 kB / 270 MB, free: 4.777 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.824e-05/0.002651, allocations: 11.86 kB / 270 MB, free: 4.766 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002126/0.002863, allocations: 19.92 kB / 270 MB, free: 4.746 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 8.543e-05/0.002949, allocations: 39.84 kB / 270.1 MB, free: 4.707 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 8.847e-05/0.003037, allocations: 8 kB / 270.1 MB, free: 4.699 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.046e-05/0.003098, allocations: 19.97 kB / 270.1 MB, free: 4.68 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.372e-05/0.003131, allocations: 11.94 kB / 270.1 MB, free: 4.668 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 0.0001495/0.003281, allocations: 7.938 kB / 270.1 MB, free: 4.66 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 8.265e-06/0.003289, allocations: 4 kB / 270.1 MB, free: 4.656 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.903e-05/0.003308, allocations: 11.98 kB / 270.1 MB, free: 4.645 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.021e-05/0.003338, allocations: 8 kB / 270.2 MB, free: 4.637 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 8.082e-05/0.003419, allocations: 27.89 kB / 270.2 MB, free: 4.609 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.803e-06/0.003421, allocations: 0 / 270.2 MB, free: 4.609 MB / 250.7 MB Notification: Performance of FrontEnd: time 3.8e-07/0.003421, allocations: 0 / 270.2 MB, free: 4.609 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.577e-06/0.003425, allocations: 0 / 270.2 MB, free: 4.609 MB / 250.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.0003568/0.003782, allocations: 368.6 kB / 270.5 MB, free: 4.215 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.712e-05/0.003819, allocations: 8.922 kB / 270.5 MB, free: 4.207 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.721e-05/0.003856, allocations: 8.891 kB / 270.6 MB, free: 4.199 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000141/0.003997, allocations: 128.5 kB / 270.7 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.367e-06/0.004006, allocations: 384 / 270.7 MB, free: 4.047 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.536e-06/0.004015, allocations: 4.375 kB / 270.7 MB, free: 4.043 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002314/0.004246, allocations: 118.1 kB / 270.8 MB, free: 3.91 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.025e-06/0.004254, allocations: 4.172 kB / 270.8 MB, free: 3.906 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.057e-05/0.004265, allocations: 8.375 kB / 270.8 MB, free: 3.898 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.157e-06/0.004274, allocations: 3.938 kB / 270.8 MB, free: 3.895 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.166e-05/0.004306, allocations: 4 kB / 270.8 MB, free: 3.891 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001297/0.004435, allocations: 120.6 kB / 270.9 MB, free: 3.738 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 8.412e-05/0.00452, allocations: 47.03 kB / 271 MB, free: 3.68 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.703e-05/0.004557, allocations: 15.72 kB / 271 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.64e-05/0.004573, allocations: 0 / 271 MB, free: 3.66 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.101e-05/0.004594, allocations: 37.39 kB / 271 MB, free: 3.613 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 2.254e-06/0.004596, allocations: 3.984 kB / 271 MB, free: 3.609 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001451/0.004741, allocations: 49.69 kB / 271.1 MB, free: 3.555 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.92e-05/0.00478, allocations: 63.28 kB / 271.2 MB, free: 3.48 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.836e-05/0.004849, allocations: 169.9 kB / 271.3 MB, free: 3.297 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.416e-06/0.004857, allocations: 29.7 kB / 271.3 MB, free: 3.262 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.486e-05/0.004892, allocations: 130.9 kB / 271.5 MB, free: 3.129 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.965e-06/0.004895, allocations: 3.984 kB / 271.5 MB, free: 3.125 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.738e-05/0.004912, allocations: 19.38 kB / 271.5 MB, free: 3.098 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.005016, allocations: 496.1 kB / 272 MB, free: 2.602 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.238e-06/0.00502, allocations: 0 / 272 MB, free: 2.602 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.905e-06/0.005023, allocations: 0 / 272 MB, free: 2.602 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.557e-05/0.005048, allocations: 119.2 kB / 272.1 MB, free: 2.484 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.554e-05/0.005074, allocations: 119.2 kB / 272.2 MB, free: 2.367 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.301e-05/0.005107, allocations: 29.7 kB / 272.2 MB, free: 2.332 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.411e-05/0.005141, allocations: 126.2 kB / 272.4 MB, free: 2.211 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.852e-05/0.00517, allocations: 127.1 kB / 272.5 MB, free: 2.086 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.635e-05/0.005226, allocations: 246.4 kB / 272.7 MB, free: 1.844 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.641e-05/0.005252, allocations: 127.1 kB / 272.9 MB, free: 1.719 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.813e-05/0.0053, allocations: 246.3 kB / 273.1 MB, free: 1.477 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.858e-05/0.005349, allocations: 119.2 kB / 273.2 MB, free: 1.359 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.634e-05/0.005375, allocations: 123.1 kB / 273.3 MB, free: 1.238 MB / 250.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 7.812e-05/0.005454, allocations: 275.8 kB / 273.6 MB, free: 0.957 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.117e-05/0.005505, allocations: 49.64 kB / 273.6 MB, free: 0.9023 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.119e-05/0.005536, allocations: 8 kB / 273.7 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.104e-06/0.005538, allocations: 0 / 273.7 MB, free: 0.8867 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.751e-06/0.005544, allocations: 7.938 kB / 273.7 MB, free: 0.8789 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.246e-06/0.005547, allocations: 4 kB / 273.7 MB, free: 0.875 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003124/0.005859, allocations: 124.6 kB / 273.8 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.505e-06/0.005862, allocations: 0 / 273.8 MB, free: 0.7188 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.257e-05/0.005934, allocations: 11.98 kB / 273.8 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.615e-06/0.005937, allocations: 0 / 273.8 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 5.911e-06/0.005943, allocations: 0 / 273.8 MB, free: 0.707 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.305e-06/0.005945, allocations: 3.938 kB / 273.8 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.32e-07/0.005946, allocations: 0 / 273.8 MB, free: 0.7031 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.899e-05/0.006015, allocations: 88.33 kB / 273.9 MB, free: 0.5938 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.724e-06/0.006023, allocations: 4 kB / 273.9 MB, free: 0.5898 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.067e-06/0.006032, allocations: 4 kB / 273.9 MB, free: 0.5859 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.517e-05/0.006047, allocations: 3.984 kB / 273.9 MB, free: 0.582 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.354e-06/0.00605, allocations: 7.938 kB / 273.9 MB, free: 0.5742 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.02e-06/0.006055, allocations: 4 kB / 273.9 MB, free: 0.5703 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.5e-05/0.00609, allocations: 127.4 kB / 274 MB, free: 456 kB / 250.7 MB Notification: Performance of sort global known variables: time 8.1e-08/0.00609, allocations: 0 / 274 MB, free: 456 kB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001367/0.006226, allocations: 4 kB / 274 MB, free: 452 kB / 250.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 6.435e-05/0.006291, allocations: 95.25 kB / 274.1 MB, free: 348 kB / 250.7 MB Notification: Performance of simCode: created initialization part: time 5.269e-05/0.006343, allocations: 15.92 kB / 274.2 MB, free: 332 kB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 1.403e-06/0.006345, allocations: 4 kB / 274.2 MB, free: 328 kB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 5.71e-07/0.006345, allocations: 0 / 274.2 MB, free: 328 kB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000207/0.006552, allocations: 13.16 kB / 274.2 MB, free: 312 kB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002298/0.006782, allocations: 133.2 kB / 274.3 MB, free: 152 kB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.948e-05/0.006812, allocations: 59.58 kB / 274.4 MB, free: 72 kB / 250.7 MB Notification: Performance of simCode: alias equations: time 7.784e-06/0.006819, allocations: 0 / 274.4 MB, free: 72 kB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.11e-05/0.00684, allocations: 8.5 kB / 274.4 MB, free: 64 kB / 250.7 MB Notification: Performance of SimCode: time 7.32e-07/0.006841, allocations: 0 / 274.4 MB, free: 64 kB / 250.7 MB Notification: Performance of Templates: time 0.001804/0.008645, allocations: 433.5 kB / 274.8 MB, free: 15.65 MB / 266.7 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=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp.pipe 2>&1) [Timeout 240] 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","",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.825477921171114]