Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.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.001541/0.001541, 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.001847/0.001847, allocations: 161 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.035/1.035, allocations: 177.1 MB / 205 MB, free: 5.262 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.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter") translateModel(Modelica.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.423e-06/1.423e-06, allocations: 0 / 273 MB, free: 1.398 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.03e-05/2.172e-05, allocations: 2.312 kB / 273 MB, free: 1.395 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.00318/0.003202, allocations: 1.709 MB / 274.7 MB, free: 15.68 MB / 266.7 MB Notification: Performance of NFInst.instExpressions: time 0.001054/0.004256, allocations: 0.5065 MB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001245/0.00438, allocations: 7.938 kB / 275.2 MB, free: 15.16 MB / 266.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001531/0.004533, allocations: 11.86 kB / 275.2 MB, free: 15.14 MB / 266.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001099/0.004643, allocations: 31.72 kB / 275.2 MB, free: 15.11 MB / 266.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002544/0.004898, allocations: 43.94 kB / 275.3 MB, free: 15.07 MB / 266.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002361/0.005134, allocations: 123.5 kB / 275.4 MB, free: 14.95 MB / 266.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000147/0.005281, allocations: 13.31 kB / 275.4 MB, free: 14.94 MB / 266.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001075/0.005388, allocations: 63.81 kB / 275.5 MB, free: 14.88 MB / 266.7 MB Notification: Performance of NFSimplifyModel.simplify: time 9.319e-05/0.005481, allocations: 35.89 kB / 275.5 MB, free: 14.84 MB / 266.7 MB Notification: Performance of NFPackage.collectConstants: time 2.786e-05/0.005509, allocations: 8 kB / 275.5 MB, free: 14.83 MB / 266.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.887e-05/0.005528, allocations: 8 kB / 275.5 MB, free: 14.82 MB / 266.7 MB Notification: Performance of NFScalarize.scalarize: time 3.332e-05/0.005561, allocations: 23.86 kB / 275.5 MB, free: 14.8 MB / 266.7 MB Notification: Performance of NFVerifyModel.verify: time 4.478e-05/0.005606, allocations: 27.92 kB / 275.6 MB, free: 14.77 MB / 266.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001625/0.005769, allocations: 71.66 kB / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.305e-06/0.005771, allocations: 0 / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of FrontEnd: time 1.072e-06/0.005772, allocations: 3.938 kB / 275.6 MB, free: 14.7 MB / 266.7 MB Notification: Performance of Transformations before backend: time 5.109e-06/0.005777, allocations: 0 / 275.6 MB, free: 14.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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005921/0.006369, allocations: 448 kB / 276.1 MB, free: 14.23 MB / 266.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.006417, allocations: 12.03 kB / 276.1 MB, free: 14.21 MB / 266.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.923e-05/0.006477, allocations: 16.89 kB / 276.1 MB, free: 14.2 MB / 266.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002602/0.006737, allocations: 164.9 kB / 276.3 MB, free: 14.01 MB / 266.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.469e-05/0.006761, allocations: 8.375 kB / 276.3 MB, free: 14 MB / 266.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.921e-05/0.006801, allocations: 12.36 kB / 276.3 MB, free: 13.99 MB / 266.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002456/0.007046, allocations: 130 kB / 276.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.627e-05/0.007062, allocations: 7.938 kB / 276.4 MB, free: 13.84 MB / 266.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.395e-05/0.007076, allocations: 4 kB / 276.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.208e-06/0.007086, allocations: 0 / 276.4 MB, free: 13.83 MB / 266.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.755e-05/0.007163, allocations: 31.92 kB / 276.5 MB, free: 13.8 MB / 266.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007038/0.007867, allocations: 0.6145 MB / 277.1 MB, free: 13.14 MB / 266.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001582/0.008025, allocations: 78.97 kB / 277.2 MB, free: 13.05 MB / 266.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.736e-05/0.008083, allocations: 31.67 kB / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.148e-05/0.008094, allocations: 0 / 277.2 MB, free: 13.02 MB / 266.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.009e-05/0.008124, allocations: 37.39 kB / 277.2 MB, free: 12.97 MB / 266.7 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.008125, allocations: 4 kB / 277.2 MB, free: 12.96 MB / 266.7 MB Notification: Performance of matching and sorting (n=12): time 0.0006863/0.008812, allocations: 313.5 kB / 277.5 MB, free: 12.62 MB / 266.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.427e-05/0.008846, allocations: 51.41 kB / 277.6 MB, free: 12.56 MB / 266.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001586/0.009005, allocations: 213.1 kB / 277.8 MB, free: 12.34 MB / 266.7 MB Notification: Performance of collectPreVariables (initialization): time 1.667e-05/0.009021, allocations: 25.7 kB / 277.8 MB, free: 12.3 MB / 266.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.28e-05/0.009114, allocations: 166.7 kB / 278 MB, free: 12.14 MB / 266.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.271e-05/0.009147, allocations: 39.64 kB / 278 MB, free: 12.1 MB / 266.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.814e-05/0.009205, allocations: 35.38 kB / 278.1 MB, free: 12.05 MB / 266.7 MB Notification: Performance of setup shared object (initialization): time 0.0001643/0.009369, allocations: 0.4962 MB / 278.5 MB, free: 11.55 MB / 266.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.723e-05/0.009416, allocations: 15.98 kB / 278.6 MB, free: 11.53 MB / 266.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.915e-05/0.009496, allocations: 69.53 kB / 278.6 MB, free: 11.45 MB / 266.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001256/0.009621, allocations: 82.31 kB / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.784e-06/0.009623, allocations: 0 / 278.7 MB, free: 11.36 MB / 266.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001914/0.009814, allocations: 121.5 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.603e-05/0.00983, allocations: 4 kB / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.009836, allocations: 0 / 278.8 MB, free: 11.23 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.761e-05/0.009854, allocations: 4.094 kB / 278.8 MB, free: 11.22 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001419/0.009996, allocations: 31.98 kB / 278.9 MB, free: 11.19 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.568e-06/0.01001, allocations: 7.984 kB / 278.9 MB, free: 11.18 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.339e-05/0.01006, allocations: 11.94 kB / 278.9 MB, free: 11.17 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.548e-06/0.01007, allocations: 4 kB / 278.9 MB, free: 11.17 MB / 266.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 1 (positionSmoothed.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (17): * Single equations (assignments): 17 * 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 9.679e-05/0.01016, allocations: 168.5 kB / 279.1 MB, free: 10.99 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.176e-05/0.01021, allocations: 19.91 kB / 279.1 MB, free: 10.97 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.289e-05/0.01025, allocations: 20.77 kB / 279.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.01025, allocations: 0 / 279.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.01026, allocations: 0 / 279.1 MB, free: 10.95 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.972e-06/0.01026, allocations: 7.938 kB / 279.1 MB, free: 10.94 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004982/0.01076, allocations: 416.6 kB / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.01076, allocations: 0 / 279.5 MB, free: 10.48 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001248/0.01089, allocations: 35.92 kB / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.436e-06/0.01089, allocations: 0 / 279.5 MB, free: 10.45 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.51e-05/0.01091, allocations: 7.938 kB / 279.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.695e-06/0.01091, allocations: 0 / 279.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.01091, allocations: 0 / 279.6 MB, free: 10.44 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002765/0.01119, allocations: 292.2 kB / 279.8 MB, free: 10.13 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.841e-05/0.01121, allocations: 11.91 kB / 279.9 MB, free: 10.12 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.003e-05/0.01123, allocations: 3.938 kB / 279.9 MB, free: 10.11 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.413e-05/0.01131, allocations: 19.98 kB / 279.9 MB, free: 10.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.29e-05/0.01136, allocations: 11.92 kB / 279.9 MB, free: 10.08 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.29e-05/0.01138, allocations: 8 kB / 279.9 MB, free: 10.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 8.749e-05/0.01146, allocations: 149.6 kB / 280 MB, free: 9.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 9e-08/0.01146, allocations: 0 / 280 MB, free: 9.93 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.0002896/0.01175, allocations: 20 kB / 280.1 MB, free: 9.91 MB / 266.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * Number of states: 3 (v.u,positionSmoothed.y,a.u) * 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 (12): * Single equations (assignments): 12 * 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 9.343e-05/0.01185, allocations: 99.3 kB / 280.2 MB, free: 9.805 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001761/0.01202, allocations: 71.53 kB / 280.2 MB, free: 9.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.894e-06/0.01202, allocations: 0 / 280.2 MB, free: 9.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 6.88e-05/0.01209, allocations: 43.83 kB / 280.3 MB, free: 9.684 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004145/0.01251, allocations: 48.02 kB / 280.3 MB, free: 9.637 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005536/0.01306, allocations: 298.3 kB / 280.6 MB, free: 9.309 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.381e-05/0.01311, allocations: 67.94 kB / 280.7 MB, free: 9.223 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 5.112e-05/0.01317, allocations: 13.48 kB / 280.7 MB, free: 9.207 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.426e-05/0.01322, allocations: 20.5 kB / 280.7 MB, free: 9.188 MB / 266.7 MB Notification: Performance of SimCode: time 6.21e-07/0.01322, allocations: 0 / 280.7 MB, free: 9.188 MB / 266.7 MB Notification: Performance of Templates: time 0.00481/0.01803, allocations: 1.863 MB / 282.6 MB, free: 7.371 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.1.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.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.1250360938720405]