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.001085/0.001085, allocations: 82.28 kB / 22.21 MB, free: 2.293 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.001393/0.001393, allocations: 145.2 kB / 25.59 MB, free: 8.918 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.09/1.09, allocations: 173.4 MB / 202.2 MB, free: 8.277 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.323e-06/1.323e-06, allocations: 0 / 269.2 MB, free: 9.793 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.711e-05/1.844e-05, allocations: 5.266 kB / 269.2 MB, free: 9.789 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Clocked.Examples.Elementary.RealSignals.TimeBasedRamp): time 0.00189/0.001908, allocations: 1.519 MB / 270.7 MB, free: 8.273 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005502/0.002458, allocations: 404.3 kB / 271.1 MB, free: 7.875 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.653e-05/0.002515, allocations: 0 / 271.1 MB, free: 7.875 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 2.442e-05/0.002539, allocations: 3.938 kB / 271.1 MB, free: 7.871 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 6.348e-05/0.002603, allocations: 13.97 kB / 271.1 MB, free: 7.859 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001824/0.002785, allocations: 23.91 kB / 271.2 MB, free: 7.836 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 7.712e-05/0.002862, allocations: 39.84 kB / 271.2 MB, free: 7.797 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.47e-05/0.002937, allocations: 15.92 kB / 271.2 MB, free: 7.781 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.68e-05/0.002994, allocations: 15.98 kB / 271.2 MB, free: 7.766 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 3.142e-05/0.003025, allocations: 12.86 kB / 271.2 MB, free: 7.754 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 1.583e-05/0.003041, allocations: 7.938 kB / 271.2 MB, free: 7.746 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 6.512e-06/0.003047, allocations: 2.031 kB / 271.3 MB, free: 7.746 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 1.644e-05/0.003064, allocations: 8 kB / 271.3 MB, free: 7.738 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 1.92e-05/0.003083, allocations: 11.98 kB / 271.3 MB, free: 7.727 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 6.416e-05/0.003147, allocations: 19.91 kB / 271.3 MB, free: 7.707 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.563e-06/0.003149, allocations: 4 kB / 271.3 MB, free: 7.703 MB / 250.7 MB Notification: Performance of FrontEnd: time 4.5e-07/0.003149, allocations: 0 / 271.3 MB, free: 7.703 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.246e-06/0.003152, allocations: 1.281 kB / 271.3 MB, free: 7.703 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.0002615/0.003414, allocations: 372.6 kB / 271.7 MB, free: 7.305 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.004e-05/0.003444, allocations: 8.031 kB / 271.7 MB, free: 7.297 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.32e-05/0.003467, allocations: 13.42 kB / 271.7 MB, free: 7.285 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001034/0.003571, allocations: 125.2 kB / 271.8 MB, free: 7.137 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.232e-06/0.003577, allocations: 2.031 kB / 271.8 MB, free: 7.137 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.366e-06/0.003585, allocations: 8.375 kB / 271.8 MB, free: 7.129 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.00373, allocations: 106.9 kB / 271.9 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.44e-06/0.003736, allocations: 1.406 kB / 271.9 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.99e-06/0.003741, allocations: 384 / 271.9 MB, free: 7.008 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.22e-06/0.003746, allocations: 7.922 kB / 271.9 MB, free: 7 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.688e-05/0.003763, allocations: 7.984 kB / 271.9 MB, free: 6.992 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 6.537e-05/0.003828, allocations: 97.84 kB / 272 MB, free: 6.871 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.156e-05/0.00388, allocations: 47.48 kB / 272.1 MB, free: 6.812 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.328e-05/0.003903, allocations: 19.7 kB / 272.1 MB, free: 6.789 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.751e-05/0.003921, allocations: 8.031 kB / 272.1 MB, free: 6.781 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.51e-05/0.003936, allocations: 33.39 kB / 272.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of pre-optimization done (n=4): time 5.51e-07/0.003936, allocations: 0 / 272.1 MB, free: 6.738 MB / 250.7 MB Notification: Performance of matching and sorting (n=4): time 8.796e-05/0.004024, allocations: 53.62 kB / 272.2 MB, free: 6.68 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.749e-05/0.004052, allocations: 51.41 kB / 272.2 MB, free: 6.617 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.996e-05/0.004112, allocations: 169.8 kB / 272.4 MB, free: 6.434 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 8.156e-06/0.00412, allocations: 29.64 kB / 272.4 MB, free: 6.398 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.438e-05/0.004154, allocations: 134.9 kB / 272.6 MB, free: 6.262 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.443e-06/0.004156, allocations: 0 / 272.6 MB, free: 6.262 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.54e-05/0.004171, allocations: 15.38 kB / 272.6 MB, free: 6.238 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0001026/0.004274, allocations: 496.1 kB / 273.1 MB, free: 5.742 MB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.334e-06/0.004276, allocations: 4 kB / 273.1 MB, free: 5.738 MB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.585e-06/0.004278, allocations: 0 / 273.1 MB, free: 5.738 MB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.026e-05/0.004309, allocations: 119.2 kB / 273.2 MB, free: 5.621 MB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.265e-05/0.004331, allocations: 119.2 kB / 273.3 MB, free: 5.504 MB / 250.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 3.59e-05/0.004367, allocations: 37.62 kB / 273.3 MB, free: 5.461 MB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.407e-05/0.004401, allocations: 123.2 kB / 273.5 MB, free: 5.34 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.518e-05/0.004427, allocations: 119.2 kB / 273.6 MB, free: 5.223 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 5.101e-05/0.004478, allocations: 242.4 kB / 273.8 MB, free: 4.984 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.451e-05/0.004502, allocations: 123.1 kB / 273.9 MB, free: 4.863 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.015e-05/0.004552, allocations: 250.4 kB / 274.2 MB, free: 4.617 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.108e-05/0.004603, allocations: 131.1 kB / 274.3 MB, free: 4.488 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.562e-05/0.004629, allocations: 119.5 kB / 274.4 MB, free: 4.371 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.601e-05/0.004705, allocations: 275.8 kB / 274.7 MB, free: 4.09 MB / 250.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.5e-05/0.00474, allocations: 45.66 kB / 274.7 MB, free: 4.039 MB / 250.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.266e-05/0.004763, allocations: 11.98 kB / 274.7 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.272e-06/0.004764, allocations: 0 / 274.7 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.332e-06/0.004765, allocations: 0 / 274.7 MB, free: 4.02 MB / 250.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.096e-06/0.004768, allocations: 7.875 kB / 274.8 MB, free: 4.012 MB / 250.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 4.758e-05/0.004816, allocations: 101.3 kB / 274.9 MB, free: 3.887 MB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.004818, allocations: 4 kB / 274.9 MB, free: 3.883 MB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.884e-05/0.004867, allocations: 11.98 kB / 274.9 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.754e-06/0.004868, allocations: 0 / 274.9 MB, free: 3.871 MB / 250.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.459e-06/0.004873, allocations: 4 kB / 274.9 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.52e-07/0.004874, allocations: 0 / 274.9 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.81e-07/0.004875, allocations: 0 / 274.9 MB, free: 3.867 MB / 250.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 3.867e-05/0.004913, allocations: 68.39 kB / 274.9 MB, free: 3.777 MB / 250.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.675e-06/0.004921, allocations: 8.172 kB / 274.9 MB, free: 3.77 MB / 250.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 6.843e-06/0.004928, allocations: 0 / 274.9 MB, free: 3.77 MB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.388e-05/0.004942, allocations: 4 kB / 275 MB, free: 3.766 MB / 250.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.485e-06/0.004944, allocations: 3.984 kB / 275 MB, free: 3.762 MB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.525e-06/0.004947, allocations: 4 kB / 275 MB, free: 3.758 MB / 250.7 MB Notification: Performance of sorting global known variables: time 3.69e-05/0.004984, allocations: 139.1 kB / 275.1 MB, free: 3.621 MB / 250.7 MB Notification: Performance of sort global known variables: time 4e-08/0.004984, allocations: 0 / 275.1 MB, free: 3.621 MB / 250.7 MB Notification: Performance of remove unused functions: time 0.0001289/0.005112, allocations: 8 kB / 275.1 MB, free: 3.613 MB / 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 5.637e-05/0.005169, allocations: 99.19 kB / 275.2 MB, free: 3.508 MB / 250.7 MB Notification: Performance of simCode: created initialization part: time 3.843e-05/0.005207, allocations: 4 kB / 275.2 MB, free: 3.504 MB / 250.7 MB Notification: Performance of simCode: created event and clocks part: time 7.62e-07/0.005208, allocations: 0 / 275.2 MB, free: 3.504 MB / 250.7 MB Notification: Performance of simCode: created simulation system equations: time 7.22e-07/0.005209, allocations: 0 / 275.2 MB, free: 3.504 MB / 250.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000162/0.005371, allocations: 21.08 kB / 275.2 MB, free: 3.48 MB / 250.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0001698/0.00554, allocations: 133.2 kB / 275.4 MB, free: 3.324 MB / 250.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 2.753e-05/0.005568, allocations: 59.34 kB / 275.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of simCode: alias equations: time 6.713e-06/0.005575, allocations: 0 / 275.4 MB, free: 3.246 MB / 250.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.721e-05/0.005612, allocations: 74.2 kB / 275.5 MB, free: 3.172 MB / 250.7 MB Notification: Performance of SimCode: time 4.11e-07/0.005612, allocations: 0 / 275.5 MB, free: 3.172 MB / 250.7 MB Notification: Performance of Templates: time 0.001748/0.00736, allocations: 432.9 kB / 275.9 MB, free: 2.758 MB / 250.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.8501651869155467]