Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.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.0008937/0.0008937, allocations: 78.19 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.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.0009069/0.0009069, allocations: 154.2 kB / 24.81 MB, free: 8.895 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 0.8407/0.8407, allocations: 173.3 MB / 201.4 MB, free: 9.203 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.Blocks.Examples.SlewRateLimiter,tolerance=1e-06,outputFormat="mat",numberOfIntervals=1000,variableFilter="time|limit_a.y|limit_v.y|positionSmoothed.y",fileNamePrefix="Modelica_4.0.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.0.0_Modelica.Blocks.Examples.SlewRateLimiter") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.573e-06/1.573e-06, allocations: 0 / 268.4 MB, free: 6.195 MB / 250.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.218e-05/2.375e-05, allocations: 2.312 kB / 268.4 MB, free: 6.191 MB / 250.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002802/0.002826, allocations: 1.68 MB / 270.1 MB, free: 4.5 MB / 250.7 MB Notification: Performance of NFInst.instExpressions: time 0.0006996/0.003526, allocations: 482.7 kB / 270.5 MB, free: 4.027 MB / 250.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.852e-05/0.003604, allocations: 4 kB / 270.6 MB, free: 4.023 MB / 250.7 MB Notification: Performance of NFTyping.typeComponents: time 9.669e-05/0.003701, allocations: 15.8 kB / 270.6 MB, free: 4.008 MB / 250.7 MB Notification: Performance of NFTyping.typeBindings: time 7.511e-05/0.003776, allocations: 35.72 kB / 270.6 MB, free: 3.973 MB / 250.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000147/0.003923, allocations: 47.88 kB / 270.6 MB, free: 3.926 MB / 250.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001415/0.004064, allocations: 115.6 kB / 270.8 MB, free: 3.812 MB / 250.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.291e-05/0.004157, allocations: 29.28 kB / 270.8 MB, free: 3.781 MB / 250.7 MB Notification: Performance of NFEvalConstants.evaluate: time 7.797e-05/0.004235, allocations: 55.77 kB / 270.8 MB, free: 3.727 MB / 250.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.113e-05/0.004306, allocations: 43.81 kB / 270.9 MB, free: 3.684 MB / 250.7 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.004327, allocations: 8 kB / 270.9 MB, free: 3.676 MB / 250.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.416e-05/0.004341, allocations: 8 kB / 270.9 MB, free: 3.668 MB / 250.7 MB Notification: Performance of NFScalarize.scalarize: time 2.576e-05/0.004367, allocations: 15.94 kB / 270.9 MB, free: 3.652 MB / 250.7 MB Notification: Performance of NFVerifyModel.verify: time 3.112e-05/0.004398, allocations: 31.84 kB / 270.9 MB, free: 3.621 MB / 250.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001122/0.00451, allocations: 71.67 kB / 271 MB, free: 3.551 MB / 250.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.195e-06/0.004512, allocations: 0 / 271 MB, free: 3.551 MB / 250.7 MB Notification: Performance of FrontEnd: time 8.32e-07/0.004513, allocations: 0 / 271 MB, free: 3.551 MB / 250.7 MB Notification: Performance of Transformations before backend: time 3.547e-06/0.004516, allocations: 0 / 271 MB, free: 3.551 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004193/0.004936, allocations: 456 kB / 271.5 MB, free: 3.07 MB / 250.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.671e-05/0.004972, allocations: 8.922 kB / 271.5 MB, free: 3.062 MB / 250.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.748e-05/0.00501, allocations: 20.84 kB / 271.5 MB, free: 3.043 MB / 250.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001552/0.005165, allocations: 159.8 kB / 271.7 MB, free: 2.863 MB / 250.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.815e-05/0.005183, allocations: 8.375 kB / 271.7 MB, free: 2.855 MB / 250.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.548e-05/0.005209, allocations: 23.81 kB / 271.7 MB, free: 2.832 MB / 250.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001695/0.005378, allocations: 125.4 kB / 271.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.628e-06/0.005388, allocations: 0 / 271.8 MB, free: 2.688 MB / 250.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.458e-06/0.005397, allocations: 4 kB / 271.8 MB, free: 2.684 MB / 250.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.492e-06/0.005404, allocations: 4 kB / 271.8 MB, free: 2.68 MB / 250.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 4.171e-05/0.005446, allocations: 22.89 kB / 271.8 MB, free: 2.66 MB / 250.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005489/0.005995, allocations: 0.5916 MB / 272.4 MB, free: 2.031 MB / 250.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001043/0.006099, allocations: 67.02 kB / 272.5 MB, free: 1.953 MB / 250.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.438e-05/0.006133, allocations: 31.8 kB / 272.5 MB, free: 1.918 MB / 250.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.737e-06/0.006142, allocations: 4 kB / 272.5 MB, free: 1.914 MB / 250.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.296e-05/0.006165, allocations: 37.39 kB / 272.6 MB, free: 1.867 MB / 250.7 MB Notification: Performance of pre-optimization done (n=10): time 1.172e-06/0.006166, allocations: 0 / 272.6 MB, free: 1.867 MB / 250.7 MB Notification: Performance of matching and sorting (n=12): time 0.0004388/0.006605, allocations: 293.4 kB / 272.8 MB, free: 1.543 MB / 250.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.71e-05/0.006632, allocations: 55.34 kB / 272.9 MB, free: 1.477 MB / 250.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001133/0.006745, allocations: 213.7 kB / 273.1 MB, free: 1.25 MB / 250.7 MB Notification: Performance of collectPreVariables (initialization): time 1.148e-05/0.006757, allocations: 25.7 kB / 273.1 MB, free: 1.219 MB / 250.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.262e-05/0.006819, allocations: 158.8 kB / 273.3 MB, free: 1.059 MB / 250.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.866e-05/0.006848, allocations: 51.52 kB / 273.3 MB, free: 1.008 MB / 250.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.582e-05/0.006894, allocations: 43.34 kB / 273.4 MB, free: 0.957 MB / 250.7 MB Notification: Performance of setup shared object (initialization): time 0.0002252/0.007119, allocations: 0.4923 MB / 273.9 MB, free: 464 kB / 250.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.568e-05/0.007145, allocations: 12 kB / 273.9 MB, free: 452 kB / 250.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.637e-05/0.007191, allocations: 58.7 kB / 273.9 MB, free: 376 kB / 250.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.722e-05/0.007268, allocations: 70.67 kB / 274 MB, free: 288 kB / 250.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.011e-06/0.007269, allocations: 0 / 274 MB, free: 288 kB / 250.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0001326/0.007402, allocations: 117 kB / 274.1 MB, free: 168 kB / 250.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.115e-05/0.007413, allocations: 8.094 kB / 274.1 MB, free: 160 kB / 250.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.328e-06/0.007417, allocations: 0 / 274.1 MB, free: 160 kB / 250.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.29e-05/0.00743, allocations: 4 kB / 274.1 MB, free: 156 kB / 250.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001036/0.007534, allocations: 35.91 kB / 274.2 MB, free: 120 kB / 250.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.028e-06/0.007538, allocations: 4 kB / 274.2 MB, free: 116 kB / 250.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.987e-05/0.007578, allocations: 4 kB / 274.2 MB, free: 112 kB / 250.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.617e-06/0.007586, allocations: 8 kB / 274.2 MB, free: 104 kB / 250.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 8.377e-05/0.00767, allocations: 160.5 kB / 274.3 MB, free: 15.93 MB / 266.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.207e-05/0.007702, allocations: 19.89 kB / 274.4 MB, free: 15.91 MB / 266.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.261e-05/0.007735, allocations: 24.77 kB / 274.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.736e-06/0.007738, allocations: 4 kB / 274.4 MB, free: 15.89 MB / 266.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.414e-06/0.00774, allocations: 3.938 kB / 274.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.286e-06/0.007743, allocations: 0 / 274.4 MB, free: 15.88 MB / 266.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003753/0.008119, allocations: 389.2 kB / 274.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.008121, allocations: 3.938 kB / 274.8 MB, free: 15.46 MB / 266.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.673e-05/0.008217, allocations: 27.98 kB / 274.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.428e-06/0.008222, allocations: 3.938 kB / 274.8 MB, free: 15.43 MB / 266.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.117e-05/0.008233, allocations: 12.06 kB / 274.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.026e-06/0.008236, allocations: 3.938 kB / 274.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.142e-06/0.008237, allocations: 0 / 274.8 MB, free: 15.41 MB / 266.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002031/0.00844, allocations: 271.2 kB / 275.1 MB, free: 15.12 MB / 266.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.411e-05/0.008454, allocations: 11.91 kB / 275.1 MB, free: 15.11 MB / 266.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.492e-05/0.008469, allocations: 3.938 kB / 275.1 MB, free: 15.1 MB / 266.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.778e-05/0.008537, allocations: 15.98 kB / 275.1 MB, free: 15.09 MB / 266.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.431e-05/0.008571, allocations: 11.92 kB / 275.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.701e-06/0.008577, allocations: 4 kB / 275.1 MB, free: 15.07 MB / 266.7 MB Notification: Performance of sorting global known variables: time 5.504e-05/0.008632, allocations: 149.6 kB / 275.3 MB, free: 14.93 MB / 266.7 MB Notification: Performance of sort global known variables: time 5e-08/0.008632, allocations: 4 kB / 275.3 MB, free: 14.92 MB / 266.7 MB Notification: Performance of remove unused functions: time 0.000224/0.008856, allocations: 27.94 kB / 275.3 MB, free: 14.89 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 7.635e-05/0.008932, allocations: 95.25 kB / 275.4 MB, free: 14.79 MB / 266.7 MB Notification: Performance of simCode: created initialization part: time 0.0001099/0.009042, allocations: 55.59 kB / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: created event and clocks part: time 1.763e-06/0.009044, allocations: 0 / 275.5 MB, free: 14.73 MB / 266.7 MB Notification: Performance of simCode: created simulation system equations: time 4.766e-05/0.009092, allocations: 47.59 kB / 275.5 MB, free: 14.68 MB / 266.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003194/0.009411, allocations: 51.31 kB / 275.6 MB, free: 14.64 MB / 266.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000399/0.00981, allocations: 291.2 kB / 275.8 MB, free: 14.31 MB / 266.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.409e-05/0.009854, allocations: 71.83 kB / 275.9 MB, free: 14.22 MB / 266.7 MB Notification: Performance of simCode: alias equations: time 4.411e-05/0.009898, allocations: 13.48 kB / 275.9 MB, free: 14.21 MB / 266.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 9.07e-05/0.009989, allocations: 98.19 kB / 276 MB, free: 14.11 MB / 266.7 MB Notification: Performance of SimCode: time 6.81e-07/0.00999, allocations: 0 / 276 MB, free: 14.11 MB / 266.7 MB Notification: Performance of Templates: time 0.00372/0.01371, allocations: 2.05 MB / 278.1 MB, free: 12.1 MB / 266.7 MB " [Timeout remaining time 660] make -j1 -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.makefile [Timeout 660] (rm -f Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.sim & ./Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 240] diffSimulationResults("Modelica_4.0.0_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.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: 2.3541645910590887]