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.001598/0.001598, allocations: 120.4 kB / 18.5 MB, free: 4.578 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.001691/0.001691, allocations: 208.9 kB / 21.46 MB, free: 1.625 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.414/1.414, allocations: 230.2 MB / 254.5 MB, free: 15.26 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.002946/0.002946, allocations: 59.91 kB / 373.3 MB, free: 10.43 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.1161, allocations: 53.32 MB / 426.7 MB, free: 5.012 MB / 350.1 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.003252/0.1194, allocations: 1.696 MB / 428.4 MB, free: 3.309 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001098/0.1205, allocations: 0.5065 MB / 428.9 MB, free: 2.797 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001268/0.1206, allocations: 4 kB / 428.9 MB, free: 2.793 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000173/0.1208, allocations: 11.81 kB / 428.9 MB, free: 2.781 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001304/0.1209, allocations: 31.78 kB / 428.9 MB, free: 2.75 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001933/0.1211, allocations: 51.88 kB / 429 MB, free: 2.699 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002231/0.1213, allocations: 119.5 kB / 429.1 MB, free: 2.582 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001227/0.1215, allocations: 17.12 kB / 429.1 MB, free: 2.562 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.99e-05/0.1215, allocations: 43.78 kB / 429.1 MB, free: 2.52 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001019/0.1216, allocations: 43.72 kB / 429.2 MB, free: 2.477 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.494e-05/0.1217, allocations: 11.94 kB / 429.2 MB, free: 2.465 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 1.761e-05/0.1217, allocations: 8 kB / 429.2 MB, free: 2.457 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.254e-05/0.1217, allocations: 27.91 kB / 429.2 MB, free: 2.43 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.857e-05/0.1218, allocations: 39.73 kB / 429.3 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002435/0.122, allocations: 95.45 kB / 429.4 MB, free: 2.297 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.96e-06/0.122, allocations: 4 kB / 429.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.473e-06/0.122, allocations: 0 / 429.4 MB, free: 2.293 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.625e-06/0.122, allocations: 0 / 429.4 MB, free: 2.293 MB / 350.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.0007144/0.1227, allocations: 426.9 kB / 429.8 MB, free: 1.828 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.512e-05/0.1228, allocations: 8.031 kB / 429.8 MB, free: 1.82 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.831e-05/0.1229, allocations: 46.73 kB / 429.8 MB, free: 1.766 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.204e-05/0.1229, allocations: 16.78 kB / 429.9 MB, free: 1.75 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003599/0.1233, allocations: 220.7 kB / 430.1 MB, free: 1.496 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.31e-05/0.1233, allocations: 8.375 kB / 430.1 MB, free: 1.488 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.753e-05/0.1233, allocations: 19.89 kB / 430.1 MB, free: 1.469 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003051/0.1236, allocations: 123 kB / 430.2 MB, free: 1.336 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.362e-05/0.1236, allocations: 4 kB / 430.2 MB, free: 1.332 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.622e-05/0.1236, allocations: 8 kB / 430.2 MB, free: 1.324 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.314e-06/0.1237, allocations: 3.984 kB / 430.2 MB, free: 1.32 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001985/0.1239, allocations: 67.89 kB / 430.3 MB, free: 1.254 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0008727/0.1247, allocations: 0.5516 MB / 430.8 MB, free: 0.6445 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000339/0.1251, allocations: 134.4 kB / 431 MB, free: 0.5039 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001881/0.1253, allocations: 60.81 kB / 431 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.076e-05/0.1253, allocations: 0 / 431 MB, free: 452 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.295e-05/0.1253, allocations: 34.56 kB / 431.1 MB, free: 408 kB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 9.42e-07/0.1253, allocations: 0 / 431.1 MB, free: 408 kB / 350.1 MB Notification: Performance of matching and sorting (n=12): time 0.001175/0.1265, allocations: 0.51 MB / 431.6 MB, free: 15.84 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.978e-05/0.1265, allocations: 51.41 kB / 431.6 MB, free: 15.77 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001555/0.1267, allocations: 150.2 kB / 431.8 MB, free: 15.62 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.271e-05/0.1267, allocations: 29.7 kB / 431.8 MB, free: 15.58 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.509e-05/0.1268, allocations: 123.9 kB / 431.9 MB, free: 15.46 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.932e-05/0.1268, allocations: 39.64 kB / 432 MB, free: 15.42 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.733e-05/0.1269, allocations: 33.72 kB / 432 MB, free: 15.38 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001529/0.127, allocations: 326.8 kB / 432.3 MB, free: 15.05 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001698/0.1272, allocations: 52.03 kB / 432.4 MB, free: 15 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000159/0.1274, allocations: 83.39 kB / 432.5 MB, free: 14.91 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003078/0.1277, allocations: 133.2 kB / 432.6 MB, free: 14.77 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.052e-06/0.1277, allocations: 4 kB / 432.6 MB, free: 14.76 MB / 366.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0003846/0.1281, allocations: 177.4 kB / 432.8 MB, free: 14.58 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.259e-05/0.1281, allocations: 14.12 kB / 432.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.1281, allocations: 0 / 432.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.941e-05/0.1281, allocations: 4 kB / 432.8 MB, free: 14.57 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001693/0.1283, allocations: 40.06 kB / 432.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.416e-06/0.1283, allocations: 0 / 432.8 MB, free: 14.53 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.479e-05/0.1284, allocations: 15.98 kB / 432.8 MB, free: 14.51 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.046e-05/0.1284, allocations: 4 kB / 432.8 MB, free: 14.51 MB / 366.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 0.0001069/0.1285, allocations: 121.8 kB / 433 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.964e-05/0.1285, allocations: 19.84 kB / 433 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.168e-05/0.1286, allocations: 16.7 kB / 433 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.318e-06/0.1286, allocations: 4 kB / 433 MB, free: 14.34 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.672e-06/0.1286, allocations: 8 kB / 433 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.755e-06/0.1286, allocations: 0 / 433 MB, free: 14.33 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007779/0.1294, allocations: 496 kB / 433.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.987e-06/0.1294, allocations: 4 kB / 433.5 MB, free: 13.78 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001585/0.1295, allocations: 35.91 kB / 433.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1295, allocations: 0 / 433.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.278e-05/0.1295, allocations: 4.75 kB / 433.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.034e-06/0.1296, allocations: 0 / 433.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.062e-06/0.1296, allocations: 0 / 433.5 MB, free: 13.74 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005552/0.1301, allocations: 321.1 kB / 433.8 MB, free: 13.4 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.885e-05/0.1302, allocations: 93.05 kB / 433.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.1302, allocations: 8 kB / 433.9 MB, free: 13.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001045/0.1303, allocations: 19.92 kB / 434 MB, free: 13.27 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.532e-05/0.1303, allocations: 15.92 kB / 434 MB, free: 13.25 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.223e-06/0.1303, allocations: 4 kB / 434 MB, free: 13.25 MB / 366.1 MB Notification: Performance of sorting global known variables: time 9.646e-05/0.1304, allocations: 119.9 kB / 434.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1304, allocations: 0 / 434.1 MB, free: 13.13 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.1307, allocations: 19.94 kB / 434.1 MB, free: 13.11 MB / 366.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.0009326/0.1316, allocations: 0.8448 MB / 435 MB, free: 12.23 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0003344/0.132, allocations: 127.9 kB / 435.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.723e-06/0.132, allocations: 0 / 435.1 MB, free: 12.11 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001643/0.1321, allocations: 63.89 kB / 435.2 MB, free: 12.05 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003886/0.1325, allocations: 39.42 kB / 435.2 MB, free: 12.01 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002559/0.1351, allocations: 1.936 MB / 437.1 MB, free: 9.961 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003485/0.1354, allocations: 0.7122 MB / 437.8 MB, free: 9.223 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.902e-05/0.1355, allocations: 17.59 kB / 437.9 MB, free: 9.207 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.634e-05/0.1356, allocations: 39.38 kB / 437.9 MB, free: 9.168 MB / 366.1 MB Notification: Performance of SimCode: time 3.41e-07/0.1356, allocations: 4 kB / 437.9 MB, free: 9.164 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02718/0.1627, allocations: 3.339 MB / 441.2 MB, free: 5.898 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.838/8, allocations: 8 kB / 441.2 MB, free: 5.891 MB / 366.1 MB " [Timeout remaining time 652] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Blocks/Examples/SlewRateLimiter/SlewRateLimiter.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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: 10.483917723409832]