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.001094/0.001094, allocations: 105.5 kB / 18.95 MB, free: 1.184 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.001175/0.001175, allocations: 210.5 kB / 22.25 MB, free: 3.723 MB / 13.93 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.9385/0.9385, allocations: 207.7 MB / 233.1 MB, free: 11.46 MB / 186.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.006904/0.006904, allocations: 1.97 MB / 287.3 MB, free: 5.066 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: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001677/0.001677, allocations: 81.05 kB / 403.3 MB, free: 13.58 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07014/0.07182, allocations: 49.7 MB / 453 MB, free: 6.945 MB / 314.7 MB Notification: Performance of NFInst.instantiate(MEV.Test.TestCylinder): time 0.002985/0.07481, allocations: 2.256 MB / 455.3 MB, free: 4.672 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.0009233/0.07573, allocations: 0.5619 MB / 455.8 MB, free: 4.105 MB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001022/0.07583, allocations: 0 / 455.8 MB, free: 4.105 MB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0001233/0.07595, allocations: 31.7 kB / 455.9 MB, free: 4.074 MB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0001246/0.07608, allocations: 67.41 kB / 455.9 MB, free: 4.008 MB / 314.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001568/0.07624, allocations: 51.88 kB / 456 MB, free: 3.957 MB / 314.7 MB Notification: Performance of NFFlatten.flatten: time 0.0002194/0.07645, allocations: 238.9 kB / 456.2 MB, free: 3.723 MB / 314.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001418/0.0766, allocations: 28.58 kB / 456.3 MB, free: 3.691 MB / 314.7 MB Notification: Performance of NFEvalConstants.evaluate: time 9.89e-05/0.0767, allocations: 99.62 kB / 456.3 MB, free: 3.594 MB / 314.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001244/0.07682, allocations: 79.56 kB / 456.4 MB, free: 3.516 MB / 314.7 MB Notification: Performance of NFPackage.collectConstants: time 2.456e-05/0.07684, allocations: 16 kB / 456.4 MB, free: 3.5 MB / 314.7 MB Notification: Performance of NFFlatten.collectFunctions: time 2.42e-05/0.07687, allocations: 16 kB / 456.5 MB, free: 3.484 MB / 314.7 MB Notification: Performance of NFScalarize.scalarize: time 3.077e-05/0.0769, allocations: 35.8 kB / 456.5 MB, free: 3.449 MB / 314.7 MB Notification: Performance of NFVerifyModel.verify: time 6.481e-05/0.07696, allocations: 83.66 kB / 456.6 MB, free: 3.367 MB / 314.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0002355/0.0772, allocations: 200.1 kB / 456.8 MB, free: 3.176 MB / 314.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.358e-06/0.0772, allocations: 0 / 456.8 MB, free: 3.176 MB / 314.7 MB Notification: Performance of FrontEnd: time 1.744e-06/0.07721, allocations: 3.938 kB / 456.8 MB, free: 3.172 MB / 314.7 MB Notification: Performance of Transformations before backend: time 7.754e-06/0.07721, allocations: 0 / 456.8 MB, free: 3.172 MB / 314.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.0005963/0.07781, allocations: 433.6 kB / 457.2 MB, free: 2.715 MB / 314.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.335e-05/0.07785, allocations: 11.98 kB / 457.2 MB, free: 2.703 MB / 314.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.206e-05/0.0779, allocations: 50.73 kB / 457.3 MB, free: 2.645 MB / 314.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.053e-05/0.07794, allocations: 24.8 kB / 457.3 MB, free: 2.621 MB / 314.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001982/0.07813, allocations: 162.2 kB / 457.4 MB, free: 2.438 MB / 314.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.437e-05/0.07815, allocations: 16.7 kB / 457.5 MB, free: 2.422 MB / 314.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.905e-05/0.07818, allocations: 19.94 kB / 457.5 MB, free: 2.402 MB / 314.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002549/0.07843, allocations: 203.6 kB / 457.7 MB, free: 2.188 MB / 314.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.955e-06/0.07844, allocations: 0 / 457.7 MB, free: 2.188 MB / 314.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.542e-05/0.07846, allocations: 8 kB / 457.7 MB, free: 2.18 MB / 314.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.232e-06/0.07846, allocations: 4 kB / 457.7 MB, free: 2.176 MB / 314.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001614/0.07862, allocations: 112.5 kB / 457.8 MB, free: 2.066 MB / 314.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006952/0.07932, allocations: 499 kB / 458.3 MB, free: 1.535 MB / 314.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001529/0.07947, allocations: 94.53 kB / 458.4 MB, free: 1.434 MB / 314.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.842e-05/0.07954, allocations: 52.83 kB / 458.4 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.011e-05/0.07955, allocations: 0 / 458.4 MB, free: 1.379 MB / 314.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.976e-05/0.07957, allocations: 34.56 kB / 458.5 MB, free: 1.336 MB / 314.7 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.07957, allocations: 0 / 458.5 MB, free: 1.336 MB / 314.7 MB Notification: Performance of matching and sorting (n=17): time 0.001049/0.08062, allocations: 0.554 MB / 459 MB, free: 0.75 MB / 314.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.818e-05/0.08065, allocations: 55.41 kB / 459.1 MB, free: 0.6836 MB / 314.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001329/0.08078, allocations: 199 kB / 459.3 MB, free: 488 kB / 314.7 MB Notification: Performance of collectPreVariables (initialization): time 1.344e-05/0.08079, allocations: 29.64 kB / 459.3 MB, free: 452 kB / 314.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.164e-05/0.08086, allocations: 132.4 kB / 459.4 MB, free: 316 kB / 314.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.041e-05/0.08089, allocations: 59.48 kB / 459.5 MB, free: 256 kB / 314.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.592e-05/0.08093, allocations: 41.66 kB / 459.5 MB, free: 208 kB / 314.7 MB Notification: Performance of setup shared object (initialization): time 9.513e-05/0.08103, allocations: 322.8 kB / 459.8 MB, free: 15.88 MB / 330.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.386e-05/0.0811, allocations: 47.97 kB / 459.9 MB, free: 15.83 MB / 330.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.157e-05/0.08118, allocations: 69.69 kB / 460 MB, free: 15.76 MB / 330.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001549/0.08134, allocations: 133.5 kB / 460.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.62e-07/0.08134, allocations: 0 / 460.1 MB, free: 15.62 MB / 330.7 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0002002/0.08154, allocations: 177.8 kB / 460.3 MB, free: 15.44 MB / 330.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.437e-05/0.08155, allocations: 7.938 kB / 460.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.08156, allocations: 0 / 460.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.551e-05/0.08157, allocations: 7.922 kB / 460.3 MB, free: 15.43 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001149/0.08169, allocations: 43.95 kB / 460.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.0817, allocations: 4 kB / 460.3 MB, free: 15.38 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.146e-05/0.08175, allocations: 11.98 kB / 460.3 MB, free: 15.37 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.757e-06/0.08176, allocations: 4 kB / 460.3 MB, free: 15.36 MB / 330.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 8.734e-05/0.08184, allocations: 129.8 kB / 460.5 MB, free: 15.23 MB / 330.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002572/0.0821, allocations: 19.86 kB / 460.5 MB, free: 15.21 MB / 330.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.612e-05/0.08214, allocations: 29.73 kB / 460.5 MB, free: 15.18 MB / 330.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.297e-06/0.08214, allocations: 4 kB / 460.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.649e-06/0.08214, allocations: 0 / 460.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.226e-06/0.08215, allocations: 0 / 460.5 MB, free: 15.17 MB / 330.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005066/0.08265, allocations: 0.5353 MB / 461 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.176e-06/0.08266, allocations: 4 kB / 461.1 MB, free: 14.56 MB / 330.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001037/0.08276, allocations: 39.91 kB / 461.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.368e-06/0.08277, allocations: 4 kB / 461.1 MB, free: 14.52 MB / 330.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.057e-05/0.08278, allocations: 8.25 kB / 461.1 MB, free: 14.51 MB / 330.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.786e-06/0.08278, allocations: 8 kB / 461.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.365e-06/0.08278, allocations: 3.938 kB / 461.1 MB, free: 14.5 MB / 330.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003152/0.0831, allocations: 372.8 kB / 461.5 MB, free: 14.09 MB / 330.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.653e-05/0.08315, allocations: 35.91 kB / 461.5 MB, free: 14.06 MB / 330.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.786e-05/0.08317, allocations: 4 kB / 461.5 MB, free: 14.05 MB / 330.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.784e-05/0.08325, allocations: 15.98 kB / 461.5 MB, free: 14.04 MB / 330.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.973e-05/0.08329, allocations: 12.08 kB / 461.5 MB, free: 14.03 MB / 330.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.446e-06/0.0833, allocations: 19.94 kB / 461.6 MB, free: 14.01 MB / 330.7 MB Notification: Performance of sorting global known variables: time 7.792e-05/0.08337, allocations: 144.6 kB / 461.7 MB, free: 13.87 MB / 330.7 MB Notification: Performance of sort global known variables: time 5e-08/0.08337, allocations: 0 / 461.7 MB, free: 13.87 MB / 330.7 MB Notification: Performance of remove unused functions: time 0.0001905/0.08357, allocations: 40 kB / 461.7 MB, free: 13.83 MB / 330.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.0004655/0.08403, allocations: 0.8985 MB / 462.6 MB, free: 12.88 MB / 330.7 MB Notification: Performance of simCode: created initialization part: time 0.0002033/0.08423, allocations: 131.7 kB / 462.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of simCode: created event and clocks part: time 2.014e-06/0.08424, allocations: 0 / 462.8 MB, free: 12.75 MB / 330.7 MB Notification: Performance of simCode: created simulation system equations: time 7.8e-05/0.08431, allocations: 67.8 kB / 462.8 MB, free: 12.68 MB / 330.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002761/0.08459, allocations: 40.61 kB / 462.9 MB, free: 12.64 MB / 330.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001743/0.08633, allocations: 2.221 MB / 465.1 MB, free: 10.29 MB / 330.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.194e-05/0.08641, allocations: 124.8 kB / 465.2 MB, free: 10.14 MB / 330.7 MB Notification: Performance of simCode: alias equations: time 6.867e-05/0.08648, allocations: 17.41 kB / 465.2 MB, free: 10.13 MB / 330.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.829e-05/0.08656, allocations: 55.42 kB / 465.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of SimCode: time 1.212e-06/0.08656, allocations: 0 / 465.3 MB, free: 10.07 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.084/0.1706, allocations: 4.289 MB / 469.6 MB, free: 5.734 MB / 330.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.592/7.762, allocations: 7.969 kB / 469.6 MB, free: 5.727 MB / 330.7 MB " [Timeout remaining time 652] (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: 10.30144242849201]