Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr MEV_MEV.Test.TestCylinder.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.0009697/0.0009697, allocations: 84.44 kB / 19.18 MB, free: 0.7383 MB / 13.93 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.0009498/0.0009498, allocations: 174.3 kB / 22.46 MB, free: 2.102 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.8592/0.8592, allocations: 158.6 MB / 184.2 MB, free: 3.055 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo): time 0.005768/0.005768, allocations: 1.436 MB / 237.9 MB, free: 13.93 MB / 234.7 MB " [Timeout remaining time 180] Using package MEV with version 1.1.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/MEV 1.1.1/package.mo) 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: setCommandLineOptions("--fmiFlags=s:cvode") Running command: "" <> buildModelFMU(MEV.Test.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",fmuType="me_cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(MEV.Test.TestCylinder,fileNamePrefix="MEV_MEV_Test_TestCylinder",fmuType="me_cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.543e-06/1.543e-06, allocations: 0 / 354 MB, free: 15.05 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.579e-05/1.733e-05, allocations: 2.281 kB / 354 MB, free: 15.05 MB / 282.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002842/0.002859, allocations: 2.258 MB / 356.3 MB, free: 12.77 MB / 282.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008354/0.003694, allocations: 0.5465 MB / 356.8 MB, free: 12.21 MB / 282.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001159/0.00381, allocations: 0 / 356.8 MB, free: 12.21 MB / 282.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000124/0.003934, allocations: 35.7 kB / 356.9 MB, free: 12.18 MB / 282.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001485/0.004083, allocations: 75.33 kB / 356.9 MB, free: 12.11 MB / 282.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001642/0.004247, allocations: 43.94 kB / 357 MB, free: 12.06 MB / 282.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002239/0.004471, allocations: 246.7 kB / 357.2 MB, free: 11.82 MB / 282.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001303/0.004601, allocations: 44.48 kB / 357.3 MB, free: 11.78 MB / 282.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001389/0.00474, allocations: 131.7 kB / 357.4 MB, free: 11.65 MB / 282.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001258/0.004866, allocations: 67.75 kB / 357.5 MB, free: 11.58 MB / 282.7 MB Notification: Performance of NFPackage.collectConstants: time 2.897e-05/0.004895, allocations: 20 kB / 357.5 MB, free: 11.56 MB / 282.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.763e-05/0.004923, allocations: 16 kB / 357.5 MB, free: 11.55 MB / 282.7 MB Notification: Performance of NFScalarize.scalarize: time 2.907e-05/0.004952, allocations: 31.84 kB / 357.5 MB, free: 11.52 MB / 282.7 MB Notification: Performance of NFVerifyModel.verify: time 6.326e-05/0.005015, allocations: 71.83 kB / 357.6 MB, free: 11.45 MB / 282.7 MB Notification: Performance of NFConvertDAE.convert: time 0.000206/0.005221, allocations: 191.3 kB / 357.8 MB, free: 11.26 MB / 282.7 MB Notification: Performance of FrontEnd - DAE generated: time 1.963e-06/0.005223, allocations: 0 / 357.8 MB, free: 11.26 MB / 282.7 MB Notification: Performance of FrontEnd: time 8.81e-07/0.005224, allocations: 0 / 357.8 MB, free: 11.26 MB / 282.7 MB Notification: Performance of Transformations before backend: time 4.598e-06/0.005228, allocations: 0 / 357.8 MB, free: 11.26 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: 39 * Number of variables: 39 Notification: Performance of Generate backend data structure: time 0.0005429/0.005771, allocations: 437.6 kB / 358.2 MB, free: 10.8 MB / 282.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.103e-05/0.005812, allocations: 15.98 kB / 358.2 MB, free: 10.78 MB / 282.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.93e-05/0.005852, allocations: 46.73 kB / 358.3 MB, free: 10.73 MB / 282.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.004e-05/0.005892, allocations: 24.8 kB / 358.3 MB, free: 10.7 MB / 282.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001742/0.006066, allocations: 173.4 kB / 358.5 MB, free: 10.51 MB / 282.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.456e-05/0.00608, allocations: 8.703 kB / 358.5 MB, free: 10.5 MB / 282.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.906e-05/0.006109, allocations: 16.38 kB / 358.5 MB, free: 10.48 MB / 282.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002719/0.006381, allocations: 207.9 kB / 358.7 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.969e-06/0.006391, allocations: 0 / 358.7 MB, free: 10.27 MB / 282.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.718e-05/0.006408, allocations: 12 kB / 358.7 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.022e-06/0.006414, allocations: 4 kB / 358.7 MB, free: 10.25 MB / 282.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002095/0.006624, allocations: 120.5 kB / 358.8 MB, free: 10.13 MB / 282.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007044/0.007328, allocations: 487.2 kB / 359.3 MB, free: 9.613 MB / 282.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001795/0.007508, allocations: 86.55 kB / 359.4 MB, free: 9.52 MB / 282.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.491e-05/0.007603, allocations: 56.83 kB / 359.4 MB, free: 9.461 MB / 282.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.166e-05/0.007615, allocations: 0 / 359.4 MB, free: 9.461 MB / 282.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.471e-05/0.007629, allocations: 38.5 kB / 359.5 MB, free: 9.414 MB / 282.7 MB Notification: Performance of pre-optimization done (n=13): time 1.373e-06/0.007631, allocations: 4 kB / 359.5 MB, free: 9.41 MB / 282.7 MB Notification: Performance of matching and sorting (n=17): time 0.00132/0.00895, allocations: 0.5426 MB / 360 MB, free: 8.836 MB / 282.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 1.781e-05/0.008968, allocations: 59.34 kB / 360.1 MB, free: 8.766 MB / 282.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001406/0.009109, allocations: 199 kB / 360.3 MB, free: 8.562 MB / 282.7 MB Notification: Performance of collectPreVariables (initialization): time 1.14e-05/0.00912, allocations: 33.7 kB / 360.3 MB, free: 8.523 MB / 282.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.089e-05/0.009171, allocations: 128.4 kB / 360.4 MB, free: 8.395 MB / 282.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.945e-05/0.0092, allocations: 59.47 kB / 360.5 MB, free: 8.336 MB / 282.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.162e-05/0.009252, allocations: 37.67 kB / 360.5 MB, free: 8.293 MB / 282.7 MB Notification: Performance of setup shared object (initialization): time 3.465e-05/0.009287, allocations: 326.8 kB / 360.9 MB, free: 7.965 MB / 282.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.5e-05/0.009382, allocations: 51.98 kB / 360.9 MB, free: 7.914 MB / 282.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001011/0.009483, allocations: 73.28 kB / 361 MB, free: 7.84 MB / 282.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001978/0.009681, allocations: 125.6 kB / 361.1 MB, free: 7.711 MB / 282.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.009682, allocations: 0 / 361.1 MB, free: 7.711 MB / 282.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002653/0.009947, allocations: 173.5 kB / 361.3 MB, free: 7.535 MB / 282.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.323e-05/0.00996, allocations: 8.031 kB / 361.3 MB, free: 7.527 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.16e-06/0.009965, allocations: 3.984 kB / 361.3 MB, free: 7.523 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.398e-05/0.009979, allocations: 4 kB / 361.3 MB, free: 7.52 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001607/0.01014, allocations: 43.91 kB / 361.3 MB, free: 7.477 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.531e-06/0.01015, allocations: 3.938 kB / 361.3 MB, free: 7.473 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.751e-05/0.01022, allocations: 8 kB / 361.3 MB, free: 7.465 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.247e-06/0.01023, allocations: 4 kB / 361.3 MB, free: 7.461 MB / 282.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (20): * Single equations (assignments): 20 * 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 7.317e-05/0.01031, allocations: 129.8 kB / 361.5 MB, free: 7.324 MB / 282.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.703e-05/0.01034, allocations: 23.86 kB / 361.5 MB, free: 7.301 MB / 282.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.647e-05/0.01038, allocations: 33.8 kB / 361.5 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.345e-06/0.01038, allocations: 0 / 361.5 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.418e-06/0.01039, allocations: 0 / 361.5 MB, free: 7.266 MB / 282.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.258e-06/0.01039, allocations: 3.938 kB / 361.5 MB, free: 7.262 MB / 282.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005973/0.01099, allocations: 0.5353 MB / 362.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.805e-06/0.01099, allocations: 256 / 362.1 MB, free: 6.652 MB / 282.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001505/0.01114, allocations: 51.91 kB / 362.1 MB, free: 6.602 MB / 282.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.647e-06/0.01114, allocations: 4 kB / 362.1 MB, free: 6.598 MB / 282.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.089e-05/0.01116, allocations: 0 / 362.1 MB, free: 6.598 MB / 282.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.01116, allocations: 4 kB / 362.1 MB, free: 6.594 MB / 282.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.186e-06/0.01116, allocations: 7.938 kB / 362.1 MB, free: 6.586 MB / 282.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000382/0.01154, allocations: 378 kB / 362.5 MB, free: 6.176 MB / 282.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.252e-05/0.01161, allocations: 35.91 kB / 362.5 MB, free: 6.141 MB / 282.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.303e-05/0.01163, allocations: 4.094 kB / 362.5 MB, free: 6.137 MB / 282.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001337/0.01176, allocations: 19.92 kB / 362.6 MB, free: 6.117 MB / 282.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.78e-05/0.01181, allocations: 23.91 kB / 362.6 MB, free: 6.094 MB / 282.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.043e-05/0.01182, allocations: 8 kB / 362.6 MB, free: 6.086 MB / 282.7 MB Notification: Performance of sorting global known variables: time 8.965e-05/0.01191, allocations: 148.4 kB / 362.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of sort global known variables: time 7e-08/0.01191, allocations: 0 / 362.7 MB, free: 5.941 MB / 282.7 MB Notification: Performance of remove unused functions: time 0.0003186/0.01223, allocations: 40 kB / 362.8 MB, free: 5.902 MB / 282.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 1 (cylinder.y) * 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 (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 Backend phase and start with SimCode phase: time 0.0004841/0.01271, allocations: 0.9054 MB / 363.7 MB, free: 4.949 MB / 282.7 MB Notification: Performance of simCode: created initialization part: time 0.0002457/0.01296, allocations: 119.8 kB / 363.8 MB, free: 4.832 MB / 282.7 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.01296, allocations: 0 / 363.8 MB, free: 4.832 MB / 282.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001101/0.01307, allocations: 64.47 kB / 363.9 MB, free: 4.77 MB / 282.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003957/0.01347, allocations: 39.92 kB / 363.9 MB, free: 4.73 MB / 282.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002067/0.01553, allocations: 2.167 MB / 366.1 MB, free: 2.43 MB / 282.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.581e-05/0.01561, allocations: 128.7 kB / 366.2 MB, free: 2.285 MB / 282.7 MB Notification: Performance of simCode: alias equations: time 7.745e-05/0.01569, allocations: 13.48 kB / 366.2 MB, free: 2.273 MB / 282.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.056e-05/0.01577, allocations: 56.48 kB / 366.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of SimCode: time 6.82e-07/0.01577, allocations: 0 / 366.3 MB, free: 2.219 MB / 282.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.07614/0.09191, allocations: 4.407 MB / 370.7 MB, free: 13.76 MB / 298.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.64/6.732, allocations: 11.97 kB / 370.7 MB, free: 13.75 MB / 298.7 MB " [Timeout remaining time 653] (rm -f MEV_MEV.Test.TestCylinder.pipe ; mkfifo MEV_MEV.Test.TestCylinder.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinder.pipe >> ../files/MEV_MEV.Test.TestCylinder.sim & (cd run_OMSimulator && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_MEV_MEV_Test_TestCylinder_fmu --startTime=0 --stopTime=5 --stepSize=0.060241 --mode=me --timeout=240 --tolerance=1e-06 ../MEV_MEV_Test_TestCylinder.fmu) > MEV_MEV.Test.TestCylinder.pipe 2>&1) [Timeout 252.0] (rm -f MEV_MEV.Test.TestCylinder_OMSimulator-cs-cvode.pipe ; mkfifo MEV_MEV.Test.TestCylinder_OMSimulator-cs-cvode.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinder_OMSimulator-cs-cvode.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/MEV_MEV.Test.TestCylinder_OMSimulator-cs-cvode.sim & (cd run_OMSimulator-cs-cvode && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_MEV_MEV_Test_TestCylinder_OMSimulator-cs-cvode_fmu --startTime=0 --stopTime=5 --stepSize=0.060241 --mode=cs --timeout=240 --tolerance=1e-06 ../MEV_MEV_Test_TestCylinder_OMSimulator-cs-cvode.fmu) > MEV_MEV.Test.TestCylinder_OMSimulator-cs-cvode.pipe 2>&1) [Timeout 252.0] (rm -f MEV_MEV.Test.TestCylinder_OMSimulator-cs-euler.pipe ; mkfifo MEV_MEV.Test.TestCylinder_OMSimulator-cs-euler.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinder_OMSimulator-cs-euler.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/MEV_MEV.Test.TestCylinder_OMSimulator-cs-euler.sim & (cd run_OMSimulator-cs-euler && /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --stripRoot --tempDir=temp_MEV_MEV_Test_TestCylinder_OMSimulator-cs-euler_fmu --startTime=0 --stopTime=5 --stepSize=0.060241 --mode=cs --timeout=240 --tolerance=1e-06 ../MEV_MEV_Test_TestCylinder_OMSimulator-cs-euler.fmu) > MEV_MEV.Test.TestCylinder_OMSimulator-cs-euler.pipe 2>&1) [Timeout 252.0] (rm -f MEV_MEV.Test.TestCylinder_fmpy.pipe ; mkfifo MEV_MEV.Test.TestCylinder_fmpy.pipe ; head -c 1048576 < MEV_MEV.Test.TestCylinder_fmpy.pipe >> /var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/MEV_MEV.Test.TestCylinder_fmpy.sim & (cd run_fmpy && python3 -m fmpy simulate --output-file ../MEV_MEV.Test.TestCylinder_fmpy_res.csv --start-time 0 --stop-time 5 --timeout 240 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.060241 ../MEV_MEV_Test_TestCylinder.fmu) > MEV_MEV.Test.TestCylinder_fmpy.pipe 2>&1) [Timeout 252.0] [Calling sys.exit(0), Time elapsed: 9.233327805064619]