Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001345/0.001345, allocations: 112.5 kB / 20.43 MB, free: 1.453 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001487/0.001487, allocations: 214.1 kB / 23.74 MB, free: 4.66 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.447/1.447, allocations: 230.5 MB / 257.4 MB, free: 7.996 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Blocks.Examples.SlewRateLimiter,fileNamePrefix="Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001828/0.001828, allocations: 63.91 kB / 377.8 MB, free: 3.027 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2372/0.239, allocations: 53.42 MB / 431.2 MB, free: 6.707 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.002811/0.2418, allocations: 1.702 MB / 432.9 MB, free: 5 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.0008951/0.2427, allocations: 0.5182 MB / 433.4 MB, free: 4.477 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.586e-05/0.2428, allocations: 11.88 kB / 433.4 MB, free: 4.465 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001027/0.2429, allocations: 7.875 kB / 433.4 MB, free: 4.457 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 9.653e-05/0.243, allocations: 35.72 kB / 433.5 MB, free: 4.422 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001491/0.2431, allocations: 39.95 kB / 433.5 MB, free: 4.383 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001846/0.2433, allocations: 115.6 kB / 433.6 MB, free: 4.27 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001017/0.2434, allocations: 25.28 kB / 433.6 MB, free: 4.242 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.625e-05/0.2435, allocations: 43.8 kB / 433.7 MB, free: 4.199 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.804e-05/0.2436, allocations: 47.66 kB / 433.7 MB, free: 4.152 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.2436, allocations: 8 kB / 433.7 MB, free: 4.145 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.597e-05/0.2436, allocations: 8 kB / 433.7 MB, free: 4.137 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 3.082e-05/0.2436, allocations: 27.86 kB / 433.8 MB, free: 4.109 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 4.938e-05/0.2437, allocations: 47.66 kB / 433.8 MB, free: 4.062 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001467/0.2438, allocations: 94.95 kB / 433.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.2438, allocations: 0 / 433.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.2438, allocations: 0 / 433.9 MB, free: 3.977 MB / 334.1 MB Notification: Performance of Transformations before backend: time 4.819e-06/0.2439, allocations: 0 / 433.9 MB, free: 3.977 MB / 334.1 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.0005309/0.2444, allocations: 358.7 kB / 434.3 MB, free: 3.598 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.184e-05/0.2444, allocations: 12.03 kB / 434.3 MB, free: 3.586 MB / 334.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.288e-05/0.2445, allocations: 38.73 kB / 434.3 MB, free: 3.539 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.469e-05/0.2445, allocations: 16.84 kB / 434.3 MB, free: 3.523 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002587/0.2448, allocations: 158.4 kB / 434.5 MB, free: 3.348 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.2448, allocations: 12.36 kB / 434.5 MB, free: 3.336 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.95e-05/0.2448, allocations: 19.89 kB / 434.5 MB, free: 3.316 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002713/0.2451, allocations: 131 kB / 434.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.171e-05/0.2451, allocations: 0 / 434.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.257e-06/0.2451, allocations: 0 / 434.6 MB, free: 3.176 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.462e-06/0.2451, allocations: 4 kB / 434.6 MB, free: 3.172 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001901/0.2453, allocations: 67.89 kB / 434.7 MB, free: 3.105 MB / 334.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006833/0.246, allocations: 0.5194 MB / 435.2 MB, free: 2.535 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003225/0.2463, allocations: 130.4 kB / 435.4 MB, free: 2.398 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001434/0.2464, allocations: 56.81 kB / 435.4 MB, free: 2.34 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.684e-05/0.2465, allocations: 4 kB / 435.4 MB, free: 2.336 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.439e-05/0.2465, allocations: 34.56 kB / 435.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of pre-optimization done (n=10): time 1.113e-06/0.2465, allocations: 0 / 435.4 MB, free: 2.293 MB / 334.1 MB Notification: Performance of matching and sorting (n=12): time 0.00106/0.2475, allocations: 453.6 kB / 435.9 MB, free: 1.816 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.694e-05/0.2476, allocations: 55.41 kB / 435.9 MB, free: 1.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001387/0.2477, allocations: 149.3 kB / 436.1 MB, free: 1.598 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.733e-05/0.2477, allocations: 29.89 kB / 436.1 MB, free: 1.562 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.322e-05/0.2478, allocations: 108 kB / 436.2 MB, free: 1.453 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.044e-05/0.2479, allocations: 51.52 kB / 436.3 MB, free: 1.402 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.07e-05/0.2479, allocations: 29.72 kB / 436.3 MB, free: 1.367 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001352/0.248, allocations: 330.8 kB / 436.6 MB, free: 1.035 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001433/0.2482, allocations: 47.95 kB / 436.7 MB, free: 0.9883 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001593/0.2483, allocations: 83.45 kB / 436.8 MB, free: 0.8945 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002852/0.2486, allocations: 138.9 kB / 436.9 MB, free: 0.75 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.036e-06/0.2486, allocations: 3.984 kB / 436.9 MB, free: 0.7461 MB / 334.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003656/0.249, allocations: 181.4 kB / 437.1 MB, free: 0.5625 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.807e-05/0.249, allocations: 7.938 kB / 437.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.929e-06/0.249, allocations: 0 / 437.1 MB, free: 0.5547 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.249, allocations: 4 kB / 437.1 MB, free: 0.5508 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001593/0.2492, allocations: 39.97 kB / 437.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.951e-06/0.2492, allocations: 0 / 437.1 MB, free: 0.5117 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.189e-05/0.2493, allocations: 16.08 kB / 437.1 MB, free: 0.4961 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.118e-05/0.2493, allocations: 8 kB / 437.1 MB, free: 500 kB / 334.1 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.904e-05/0.2494, allocations: 125.8 kB / 437.3 MB, free: 364 kB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.549e-05/0.2494, allocations: 15.84 kB / 437.3 MB, free: 348 kB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.097e-05/0.2495, allocations: 20.7 kB / 437.3 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.473e-06/0.2495, allocations: 0 / 437.3 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.156e-06/0.2495, allocations: 0 / 437.3 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.236e-06/0.2495, allocations: 0 / 437.3 MB, free: 328 kB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007759/0.2502, allocations: 475 kB / 437.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.334e-06/0.2502, allocations: 0 / 437.8 MB, free: 15.8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001564/0.2504, allocations: 31.98 kB / 437.8 MB, free: 15.77 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.118e-06/0.2504, allocations: 8.062 kB / 437.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.187e-05/0.2504, allocations: 3.984 kB / 437.8 MB, free: 15.76 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.727e-06/0.2504, allocations: 3.938 kB / 437.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.986e-06/0.2504, allocations: 4 kB / 437.8 MB, free: 15.75 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005409/0.251, allocations: 320.4 kB / 438.1 MB, free: 15.42 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.47e-05/0.251, allocations: 11.91 kB / 438.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.893e-05/0.251, allocations: 0 / 438.1 MB, free: 15.41 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001065/0.2511, allocations: 16.03 kB / 438.2 MB, free: 15.39 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.567e-05/0.2512, allocations: 11.97 kB / 438.2 MB, free: 15.38 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.281e-05/0.2512, allocations: 16 kB / 438.2 MB, free: 15.36 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.859e-05/0.2513, allocations: 112.1 kB / 438.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of sort global known variables: time 8e-08/0.2513, allocations: 7.875 kB / 438.3 MB, free: 15.25 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002467/0.2515, allocations: 27.92 kB / 438.3 MB, free: 15.22 MB / 350.1 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.0008701/0.2524, allocations: 0.8352 MB / 439.2 MB, free: 14.35 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003518/0.2527, allocations: 128 kB / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.134e-06/0.2527, allocations: 0 / 439.3 MB, free: 14.23 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001607/0.2529, allocations: 59.91 kB / 439.3 MB, free: 14.17 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003853/0.2533, allocations: 35.97 kB / 439.4 MB, free: 14.13 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002425/0.2557, allocations: 1.952 MB / 441.3 MB, free: 12.07 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003182/0.256, allocations: 0.7123 MB / 442 MB, free: 11.33 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.375e-05/0.2561, allocations: 13.42 kB / 442.1 MB, free: 11.31 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.304e-05/0.2562, allocations: 39.42 kB / 442.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of SimCode: time 3.61e-07/0.2562, allocations: 0 / 442.1 MB, free: 11.27 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03201/0.2882, allocations: 3.546 MB / 445.6 MB, free: 7.84 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 10.56/10.84, allocations: 4 kB / 445.6 MB, free: 7.836 MB / 350.1 MB " [Timeout remaining time 649] (rm -f Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; mkfifo Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe ; head -c 1048576 < Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe >> ../files/Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.mat --tempDir=temp_Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter_fmu --startTime=0 --stopTime=1 --stepSize=0.001 --timeout=50 --tolerance=1e-06 Modelica_trunk_Modelica_Blocks_Examples_SlewRateLimiter.fmu > Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_trunk_Modelica.Blocks.Examples.SlewRateLimiter_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_trunk_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: 13.191630660090595]