Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_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.000794/0.000794, allocations: 87.62 kB / 21.43 MB, free: 3.133 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.003772/0.003772, allocations: 166.4 kB / 24.7 MB, free: 9.43 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.8153/0.8153, allocations: 158.6 MB / 186.5 MB, free: 3.039 MB / 170.7 MB " [Timeout remaining time 179] Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.886e-06/2.886e-06, allocations: 3.984 kB / 298.4 MB, free: 3.535 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.064e-05/2.353e-05, allocations: 6.281 kB / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002186/0.00221, allocations: 1.632 MB / 300.1 MB, free: 1.875 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008406/0.003051, allocations: 0.4964 MB / 300.6 MB, free: 1.371 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.207e-05/0.003143, allocations: 7.938 kB / 300.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001267/0.003269, allocations: 11.86 kB / 300.6 MB, free: 1.352 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 8.164e-05/0.003351, allocations: 31.8 kB / 300.6 MB, free: 1.32 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001782/0.003529, allocations: 47.81 kB / 300.7 MB, free: 1.273 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.000158/0.003687, allocations: 127.5 kB / 300.8 MB, free: 1.148 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001001/0.003787, allocations: 9.312 kB / 300.8 MB, free: 1.141 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.904e-05/0.003856, allocations: 63.81 kB / 300.8 MB, free: 1.078 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.618e-05/0.003923, allocations: 35.89 kB / 300.9 MB, free: 1.043 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.298e-05/0.003945, allocations: 8 kB / 300.9 MB, free: 1.035 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.085e-05/0.003956, allocations: 8 kB / 300.9 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.17e-05/0.003978, allocations: 23.86 kB / 300.9 MB, free: 1.004 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.837e-05/0.004006, allocations: 23.92 kB / 300.9 MB, free: 0.9805 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001217/0.004128, allocations: 99.56 kB / 301 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.184e-06/0.00413, allocations: 0 / 301 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of FrontEnd: time 9.92e-07/0.004131, allocations: 0 / 301 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of Transformations before backend: time 8.597e-06/0.00414, allocations: 0 / 301 MB, free: 0.8828 MB / 282.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.0004079/0.004548, allocations: 357.7 kB / 301.4 MB, free: 0.5039 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.862e-05/0.004586, allocations: 15.98 kB / 301.4 MB, free: 500 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.194e-05/0.004618, allocations: 38.73 kB / 301.4 MB, free: 452 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.004646, allocations: 16.89 kB / 301.5 MB, free: 436 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002167/0.004863, allocations: 162 kB / 301.6 MB, free: 248 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.567e-05/0.004879, allocations: 8.375 kB / 301.6 MB, free: 240 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.078e-05/0.0049, allocations: 12.38 kB / 301.6 MB, free: 228 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001943/0.005094, allocations: 136.5 kB / 301.8 MB, free: 76 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.102e-05/0.005115, allocations: 3.938 kB / 301.8 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.107e-05/0.005126, allocations: 4 kB / 301.8 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.031e-06/0.005132, allocations: 4 kB / 301.8 MB, free: 64 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000116/0.005248, allocations: 63.95 kB / 301.8 MB, free: 0 / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005761/0.005824, allocations: 0.4984 MB / 302.3 MB, free: 15.53 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002346/0.006059, allocations: 126.4 kB / 302.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.591e-05/0.006145, allocations: 57.73 kB / 302.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.407e-05/0.006159, allocations: 2.328 kB / 302.5 MB, free: 15.5 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.639e-05/0.006175, allocations: 32.44 kB / 302.6 MB, free: 15.46 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.392e-06/0.006176, allocations: 3.375 kB / 302.6 MB, free: 15.46 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007194/0.006896, allocations: 445.1 kB / 303 MB, free: 15.3 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.442e-05/0.00692, allocations: 54.62 kB / 303.1 MB, free: 15.23 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.121e-05/0.007011, allocations: 152.1 kB / 303.2 MB, free: 15.14 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.526e-06/0.00702, allocations: 30.86 kB / 303.2 MB, free: 15.1 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.961e-05/0.00706, allocations: 114.7 kB / 303.3 MB, free: 15 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.988e-05/0.007079, allocations: 44.72 kB / 303.4 MB, free: 14.97 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.058e-05/0.00712, allocations: 30.62 kB / 303.4 MB, free: 14.95 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.256e-05/0.007153, allocations: 326.7 kB / 303.7 MB, free: 14.62 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.395e-05/0.007247, allocations: 54.03 kB / 303.8 MB, free: 14.61 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.764e-05/0.007344, allocations: 87.39 kB / 303.9 MB, free: 14.57 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001814/0.007526, allocations: 132.5 kB / 304 MB, free: 14.51 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.542e-06/0.007527, allocations: 4 kB / 304 MB, free: 14.51 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002295/0.007757, allocations: 175.9 kB / 304.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.36e-05/0.00777, allocations: 10.19 kB / 304.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.29e-06/0.007776, allocations: 1.844 kB / 304.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.501e-05/0.007791, allocations: 3.25 kB / 304.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.007895, allocations: 40.44 kB / 304.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.541e-06/0.007901, allocations: 4.359 kB / 304.2 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.868e-05/0.00795, allocations: 16.75 kB / 304.3 MB, free: 14.43 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.516e-06/0.007958, allocations: 8.344 kB / 304.3 MB, free: 14.42 MB / 282.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 5.242e-05/0.008011, allocations: 123.5 kB / 304.4 MB, free: 14.3 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.871e-05/0.008029, allocations: 9.156 kB / 304.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.819e-05/0.008057, allocations: 17.83 kB / 304.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.735e-06/0.00806, allocations: 1.031 kB / 304.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.559e-06/0.008065, allocations: 1.188 kB / 304.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.008068, allocations: 4.125 kB / 304.4 MB, free: 14.29 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000439/0.008507, allocations: 456.3 kB / 304.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.563e-06/0.008509, allocations: 1.812 kB / 304.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.339e-05/0.008602, allocations: 35.08 kB / 304.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.008605, allocations: 1.219 kB / 304.9 MB, free: 13.95 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.538e-06/0.008614, allocations: 10.59 kB / 304.9 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.214e-06/0.008617, allocations: 1.125 kB / 304.9 MB, free: 13.94 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.705e-06/0.008619, allocations: 6.078 kB / 304.9 MB, free: 13.93 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003262/0.008945, allocations: 323.6 kB / 305.2 MB, free: 13.74 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.602e-05/0.008961, allocations: 8.141 kB / 305.2 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.412e-05/0.008975, allocations: 11.12 kB / 305.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.758e-05/0.009033, allocations: 12.86 kB / 305.3 MB, free: 13.73 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.557e-05/0.009069, allocations: 12.69 kB / 305.3 MB, free: 13.72 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.162e-06/0.009075, allocations: 4.078 kB / 305.3 MB, free: 13.72 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.272e-05/0.009118, allocations: 115.6 kB / 305.4 MB, free: 13.64 MB / 282.7 MB Notification: Performance of sort global known variables: time 5e-08/0.009118, allocations: 3.938 kB / 305.4 MB, free: 13.63 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001662/0.009284, allocations: 20.19 kB / 305.4 MB, free: 13.63 MB / 282.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 0.000383/0.009667, allocations: 0.8526 MB / 306.3 MB, free: 12.9 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002208/0.009888, allocations: 121.9 kB / 306.4 MB, free: 12.87 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.343e-06/0.009889, allocations: 0 / 306.4 MB, free: 12.87 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.346e-05/0.009982, allocations: 61.06 kB / 306.4 MB, free: 12.86 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002702/0.01025, allocations: 46.41 kB / 306.5 MB, free: 12.85 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001334/0.01159, allocations: 1.94 MB / 308.4 MB, free: 11.34 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.474e-05/0.01164, allocations: 98.7 kB / 308.5 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.439e-05/0.01169, allocations: 14.69 kB / 308.5 MB, free: 11.27 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.212e-05/0.01174, allocations: 39.75 kB / 308.6 MB, free: 11.24 MB / 282.7 MB Notification: Performance of SimCode: time 5.01e-07/0.01174, allocations: 192 / 308.6 MB, free: 11.24 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01609/0.02783, allocations: 4.205 MB / 312.8 MB, free: 9.965 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.662/6.69, allocations: 9 kB / 312.8 MB, free: 9.957 MB / 282.7 MB " [Timeout remaining time 653] (rm -f Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter.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: 8.300983269698918]