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.001222/0.001222, allocations: 87.62 kB / 21.43 MB, free: 3.125 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.004257/0.004257, allocations: 154 kB / 24.69 MB, free: 9.418 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.8287/0.8287, allocations: 158.6 MB / 186.5 MB, free: 3.043 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 1.493e-06/1.493e-06, allocations: 0 / 298.4 MB, free: 3.527 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 9.478e-06/1.097e-05, allocations: 2.281 kB / 298.4 MB, free: 3.523 MB / 282.7 MB Notification: Performance of NFInst.instantiate(Modelica.Blocks.Examples.SlewRateLimiter): time 0.001695/0.001706, allocations: 1.632 MB / 300.1 MB, free: 1.871 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0005909/0.002297, allocations: 0.4964 MB / 300.6 MB, free: 1.367 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.82e-05/0.002365, allocations: 4 kB / 300.6 MB, free: 1.363 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 9.189e-05/0.002457, allocations: 15.8 kB / 300.6 MB, free: 1.348 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 6.07e-05/0.002518, allocations: 23.78 kB / 300.6 MB, free: 1.324 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001297/0.002648, allocations: 55.88 kB / 300.7 MB, free: 1.27 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001289/0.002776, allocations: 119.6 kB / 300.8 MB, free: 1.152 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 9.38e-05/0.00287, allocations: 21.28 kB / 300.8 MB, free: 1.133 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 6.059e-05/0.002931, allocations: 59.83 kB / 300.9 MB, free: 1.074 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.222e-05/0.002993, allocations: 39.83 kB / 300.9 MB, free: 1.035 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.209e-05/0.003015, allocations: 8 kB / 300.9 MB, free: 1.027 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 1.2e-05/0.003027, allocations: 8 kB / 300.9 MB, free: 1.02 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 1.898e-05/0.003046, allocations: 19.86 kB / 300.9 MB, free: 1 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 2.707e-05/0.003073, allocations: 27.92 kB / 301 MB, free: 0.9727 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001077/0.003181, allocations: 91.62 kB / 301 MB, free: 0.8828 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.593e-06/0.003182, allocations: 4 kB / 301 MB, free: 0.8789 MB / 282.7 MB Notification: Performance of FrontEnd: time 7.21e-07/0.003183, allocations: 3.938 kB / 301 MB, free: 0.875 MB / 282.7 MB Notification: Performance of Transformations before backend: time 3.206e-06/0.003186, allocations: 0 / 301 MB, free: 0.875 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.0003859/0.003572, allocations: 353.7 kB / 301.4 MB, free: 0.5 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.299e-05/0.003605, allocations: 11.98 kB / 301.4 MB, free: 500 kB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.968e-05/0.003635, allocations: 42.73 kB / 301.4 MB, free: 448 kB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.275e-05/0.003658, allocations: 16.83 kB / 301.5 MB, free: 432 kB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001795/0.003837, allocations: 162.1 kB / 301.6 MB, free: 244 kB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.381e-05/0.003851, allocations: 8.375 kB / 301.6 MB, free: 236 kB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.975e-05/0.003871, allocations: 12.38 kB / 301.6 MB, free: 224 kB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001767/0.004047, allocations: 136.5 kB / 301.8 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.004057, allocations: 0 / 301.8 MB, free: 72 kB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.347e-06/0.004066, allocations: 4 kB / 301.8 MB, free: 68 kB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.119e-06/0.004071, allocations: 4 kB / 301.8 MB, free: 64 kB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001135/0.004185, allocations: 63.95 kB / 301.8 MB, free: 0 / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.1141/0.1183, allocations: 0.5014 MB / 302.3 MB, free: 13.71 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002302/0.1185, allocations: 124.8 kB / 302.5 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.28e-05/0.1186, allocations: 55.98 kB / 302.5 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.191e-05/0.1186, allocations: 1.094 kB / 302.5 MB, free: 13.68 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.418e-05/0.1186, allocations: 36 kB / 302.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/0.1186, allocations: 4.25 kB / 302.6 MB, free: 13.64 MB / 282.7 MB Notification: Performance of matching and sorting (n=12): time 0.0007176/0.1193, allocations: 443 kB / 303 MB, free: 13.48 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.077e-05/0.1194, allocations: 55.25 kB / 303.1 MB, free: 13.41 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.506e-05/0.1195, allocations: 148.1 kB / 303.2 MB, free: 13.32 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 8.366e-06/0.1195, allocations: 30.08 kB / 303.2 MB, free: 13.29 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.246e-05/0.1195, allocations: 115.3 kB / 303.3 MB, free: 13.2 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.118e-05/0.1195, allocations: 43.11 kB / 303.4 MB, free: 13.17 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.85e-05/0.1196, allocations: 34.14 kB / 303.4 MB, free: 13.16 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.497e-05/0.1196, allocations: 327.1 kB / 303.7 MB, free: 12.84 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.807e-05/0.1197, allocations: 57.62 kB / 303.8 MB, free: 12.84 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.86e-05/0.1198, allocations: 82.09 kB / 303.9 MB, free: 12.8 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001728/0.1199, allocations: 134 kB / 304 MB, free: 12.77 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.783e-06/0.1199, allocations: 1.328 kB / 304 MB, free: 12.77 MB / 282.7 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.0002202/0.1202, allocations: 181.7 kB / 304.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.466e-05/0.1202, allocations: 6.438 kB / 304.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.48e-06/0.1202, allocations: 1.156 kB / 304.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.315e-05/0.1202, allocations: 4.906 kB / 304.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001044/0.1203, allocations: 35.53 kB / 304.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.592e-06/0.1203, allocations: 8.875 kB / 304.2 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.223e-05/0.1204, allocations: 16.47 kB / 304.3 MB, free: 12.73 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.895e-06/0.1204, allocations: 11.53 kB / 304.3 MB, free: 12.73 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.064e-05/0.1204, allocations: 126.2 kB / 304.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.903e-05/0.1204, allocations: 14.03 kB / 304.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.82e-05/0.1205, allocations: 16.42 kB / 304.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.485e-06/0.1205, allocations: 2.156 kB / 304.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.549e-06/0.1205, allocations: 0 / 304.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.967e-06/0.1205, allocations: 2.516 kB / 304.4 MB, free: 12.61 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004168/0.1209, allocations: 453.2 kB / 304.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.903e-06/0.1209, allocations: 0.6094 kB / 304.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.048e-05/0.121, allocations: 32.05 kB / 304.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.534e-06/0.121, allocations: 1.188 kB / 304.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.467e-06/0.121, allocations: 8.812 kB / 304.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.144e-06/0.121, allocations: 9.922 kB / 304.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.162e-06/0.121, allocations: 1.156 kB / 304.9 MB, free: 12.32 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003045/0.1213, allocations: 312.9 kB / 305.2 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.426e-05/0.1213, allocations: 13.45 kB / 305.2 MB, free: 12.16 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.519e-05/0.1213, allocations: 10.03 kB / 305.2 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.635e-05/0.1214, allocations: 16.17 kB / 305.3 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.957e-05/0.1214, allocations: 15.89 kB / 305.3 MB, free: 12.15 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.46e-06/0.1214, allocations: 4.234 kB / 305.3 MB, free: 12.15 MB / 282.7 MB Notification: Performance of sorting global known variables: time 4.087e-05/0.1215, allocations: 111.9 kB / 305.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.1215, allocations: 1.156 kB / 305.4 MB, free: 12.07 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0001623/0.1216, allocations: 19.72 kB / 305.4 MB, free: 12.07 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.0003739/0.122, allocations: 0.8511 MB / 306.3 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002016/0.1222, allocations: 117.8 kB / 306.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.182e-06/0.1222, allocations: 0.9375 kB / 306.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 9.054e-05/0.1223, allocations: 68.95 kB / 306.4 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002724/0.1226, allocations: 44.19 kB / 306.5 MB, free: 11.39 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001368/0.1239, allocations: 1.936 MB / 308.4 MB, free: 10 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.915e-05/0.124, allocations: 103.1 kB / 308.5 MB, free: 9.922 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 4.373e-05/0.1241, allocations: 14.02 kB / 308.5 MB, free: 9.914 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.374e-05/0.1241, allocations: 40.55 kB / 308.6 MB, free: 9.887 MB / 282.7 MB Notification: Performance of SimCode: time 6.41e-07/0.1241, allocations: 0 / 308.6 MB, free: 9.887 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01569/0.1398, allocations: 4.206 MB / 312.8 MB, free: 8.621 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.902/7.042, allocations: 9.141 kB / 312.8 MB, free: 8.613 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 & python3 -m fmpy simulate --output-file Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.001 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.csv","/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] "Error: Could not read variable limit_a.y in file Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.csv. Warning: Get data of variable limit_a.y from file Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.csv failed! Error: Could not read variable limit_v.y in file Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.csv. Warning: Get data of variable limit_v.y from file Modelica_3.2.3_Modelica.Blocks.Examples.SlewRateLimiter_res.csv failed! " [Timeout remaining time 660] "" Variables in the reference:time,limit_a.y,limit_v.y,positionSmoothed.y Variables in the result:time,a.u,positionSmoothed.y,v.u [Calling sys.exit(0), Time elapsed: 8.649849735200405]