Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.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.00193/0.00193, allocations: 104.3 kB / 19.7 MB, free: 2.059 MB / 14.72 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.002329/0.002329, allocations: 214.2 kB / 22.99 MB, free: 4.879 MB / 14.72 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 1.415/1.415, allocations: 207.7 MB / 233.8 MB, free: 9.789 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2215/0.2215, allocations: 44.26 MB / 330.3 MB, free: 9.293 MB / 270.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/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: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",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.002615/0.002615, allocations: 67.91 kB / 467.5 MB, free: 4.352 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1098/0.1124, allocations: 61.05 MB / 0.5161 GB, free: 7.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.396/0.5084, allocations: 130.9 MB / 0.644 GB, free: 15.45 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001705/0.5101, allocations: 1.077 MB / 0.6451 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 2.935e-05/0.5101, allocations: 0 / 0.6451 GB, free: 14.38 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002937/0.5104, allocations: 35.81 kB / 0.6451 GB, free: 14.34 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002275/0.5127, allocations: 0.893 MB / 0.646 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 4.738e-06/0.5127, allocations: 0 / 0.646 GB, free: 13.47 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001157/0.5128, allocations: 43.78 kB / 0.646 GB, free: 13.43 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.087e-05/0.5129, allocations: 4 kB / 0.646 GB, free: 13.42 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.534e-05/0.5129, allocations: 19.86 kB / 0.646 GB, free: 13.4 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.308e-05/0.513, allocations: 23.91 kB / 0.6461 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 7.134e-06/0.513, allocations: 0 / 0.6461 GB, free: 13.38 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002406/0.5154, allocations: 1.376 MB / 0.6474 GB, free: 12 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 4.759e-05/0.5155, allocations: 7.984 kB / 0.6474 GB, free: 11.99 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 3.345e-05/0.5155, allocations: 19.88 kB / 0.6474 GB, free: 11.97 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001172/0.5167, allocations: 0.7464 MB / 0.6482 GB, free: 11.23 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.687e-06/0.5167, allocations: 4 kB / 0.6482 GB, free: 11.23 MB / 494.1 MB Notification: Performance of FrontEnd: time 1.783e-06/0.5167, allocations: 0 / 0.6482 GB, free: 11.23 MB / 494.1 MB Notification: Performance of Transformations before backend: time 5.43e-06/0.5167, allocations: 0 / 0.6482 GB, free: 11.23 MB / 494.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 10 * Number of variables: 10 Notification: Performance of Generate backend data structure: time 0.0006422/0.5173, allocations: 385 kB / 0.6485 GB, free: 10.82 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.787e-05/0.5174, allocations: 8.031 kB / 0.6485 GB, free: 10.81 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.937e-05/0.5174, allocations: 42.73 kB / 0.6486 GB, free: 10.76 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.455e-05/0.5174, allocations: 8.828 kB / 0.6486 GB, free: 10.75 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001058/0.5175, allocations: 110.3 kB / 0.6487 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.429e-05/0.5176, allocations: 4 kB / 0.6487 GB, free: 10.62 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.016e-05/0.5176, allocations: 4 kB / 0.6487 GB, free: 10.61 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001656/0.5177, allocations: 69.61 kB / 0.6488 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.786e-06/0.5177, allocations: 0 / 0.6488 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.5177, allocations: 7.938 kB / 0.6488 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.246e-05/0.5178, allocations: 7.984 kB / 0.6488 GB, free: 10.53 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.918e-05/0.5179, allocations: 47.98 kB / 0.6488 GB, free: 10.48 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000432/0.5183, allocations: 275.7 kB / 0.6491 GB, free: 10.17 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 7.861e-05/0.5184, allocations: 26.58 kB / 0.6491 GB, free: 10.13 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.845e-05/0.5184, allocations: 17.41 kB / 0.6491 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 8.251e-05/0.5185, allocations: 8 kB / 0.6491 GB, free: 10.11 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.211e-05/0.5185, allocations: 38.55 kB / 0.6492 GB, free: 10.06 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 9.82e-07/0.5185, allocations: 0 / 0.6492 GB, free: 10.06 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001779/0.5187, allocations: 57.66 kB / 0.6492 GB, free: 9.996 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.538e-05/0.5187, allocations: 55.41 kB / 0.6493 GB, free: 9.93 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.692e-05/0.5188, allocations: 93.86 kB / 0.6494 GB, free: 9.828 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.544e-05/0.5188, allocations: 25.7 kB / 0.6494 GB, free: 9.797 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.761e-05/0.5189, allocations: 108 kB / 0.6495 GB, free: 9.688 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.032e-05/0.5189, allocations: 7.906 kB / 0.6495 GB, free: 9.68 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.204e-05/0.519, allocations: 21.28 kB / 0.6495 GB, free: 9.656 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001522/0.5191, allocations: 318.8 kB / 0.6498 GB, free: 9.336 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.104e-05/0.5191, allocations: 8 kB / 0.6498 GB, free: 9.328 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.336e-05/0.5192, allocations: 36.11 kB / 0.6499 GB, free: 9.281 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.445e-05/0.5193, allocations: 43.38 kB / 0.6499 GB, free: 9.227 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.794e-06/0.5193, allocations: 0 / 0.6499 GB, free: 9.227 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001079/0.5194, allocations: 74.92 kB / 0.65 GB, free: 9.148 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.219e-05/0.5194, allocations: 7.938 kB / 0.65 GB, free: 9.141 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.557e-06/0.5194, allocations: 7.938 kB / 0.65 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.249e-05/0.5194, allocations: 0 / 0.65 GB, free: 9.133 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.238e-05/0.5195, allocations: 8 kB / 0.65 GB, free: 9.125 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.205e-06/0.5195, allocations: 4 kB / 0.65 GB, free: 9.121 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.881e-05/0.5195, allocations: 3.953 kB / 0.65 GB, free: 9.117 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.338e-05/0.5195, allocations: 4.938 kB / 0.65 GB, free: 9.113 MB / 494.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (6): * Single equations (assignments): 6 * 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.799e-05/0.5196, allocations: 121.8 kB / 0.6501 GB, free: 8.984 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.16e-05/0.5196, allocations: 8.031 kB / 0.6502 GB, free: 8.977 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001313/0.5198, allocations: 67.05 kB / 0.6502 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.453e-06/0.5198, allocations: 0 / 0.6502 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.188e-06/0.5198, allocations: 480 / 0.6502 GB, free: 8.91 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.609e-06/0.5198, allocations: 3.984 kB / 0.6502 GB, free: 8.906 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001656/0.5199, allocations: 127.4 kB / 0.6503 GB, free: 8.742 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.946e-06/0.5199, allocations: 3.984 kB / 0.6503 GB, free: 8.738 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.529e-05/0.52, allocations: 4 kB / 0.6503 GB, free: 8.734 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.563e-06/0.52, allocations: 4 kB / 0.6504 GB, free: 8.73 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.558e-06/0.52, allocations: 7.938 kB / 0.6504 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.102e-06/0.52, allocations: 0 / 0.6504 GB, free: 8.723 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.026e-06/0.52, allocations: 3.984 kB / 0.6504 GB, free: 8.719 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001288/0.5201, allocations: 143.5 kB / 0.6505 GB, free: 8.562 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.093e-05/0.5201, allocations: 7.953 kB / 0.6505 GB, free: 8.555 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.357e-05/0.5201, allocations: 3.938 kB / 0.6505 GB, free: 8.551 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.489e-05/0.5202, allocations: 0 / 0.6505 GB, free: 8.551 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.387e-05/0.5202, allocations: 3.984 kB / 0.6505 GB, free: 8.547 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.715e-06/0.5202, allocations: 4 kB / 0.6505 GB, free: 8.543 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.551e-05/0.5203, allocations: 87.22 kB / 0.6506 GB, free: 8.457 MB / 494.1 MB Notification: Performance of sort global known variables: time 7e-08/0.5203, allocations: 4 kB / 0.6506 GB, free: 8.453 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0003957/0.5206, allocations: 95.61 kB / 0.6507 GB, free: 8.359 MB / 494.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 simulation (3): * Single equations (assignments): 3 * 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.0009063/0.5216, allocations: 0.8175 MB / 0.6515 GB, free: 7.516 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001002/0.5217, allocations: 27.92 kB / 0.6515 GB, free: 7.488 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.693e-06/0.5217, allocations: 3.938 kB / 0.6515 GB, free: 7.484 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.577e-05/0.5217, allocations: 7.984 kB / 0.6515 GB, free: 7.477 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002512/0.5219, allocations: 7.938 kB / 0.6515 GB, free: 7.469 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005239/0.5224, allocations: 209.7 kB / 0.6517 GB, free: 7.223 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 7.076e-05/0.5225, allocations: 63.34 kB / 0.6518 GB, free: 7.141 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 4.848e-05/0.5226, allocations: 9.641 kB / 0.6518 GB, free: 7.133 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.449e-05/0.5226, allocations: 23.42 kB / 0.6518 GB, free: 7.109 MB / 494.1 MB Notification: Performance of SimCode: time 2.71e-07/0.5226, allocations: 0 / 0.6518 GB, free: 7.109 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03029/0.5529, allocations: 4.335 MB / 0.6561 GB, free: 2.773 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12, allocations: 8 kB / 0.6561 GB, free: 2.766 MB / 494.1 MB " [Timeout remaining time 648] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.csv --start-time 0 --stop-time 1 --timeout 50 --relative-tolerance 1e-06 --interface-type ModelExchange --solver CVode --output-interval 0.00019992 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable u in file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable u from file ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 14.971268696244806]