Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_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.0009033/0.0009033, allocations: 79.7 kB / 20.67 MB, free: 3.879 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.0009328/0.0009328, allocations: 170 kB / 23.96 MB, free: 0.5938 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9384/0.9384, allocations: 177.1 MB / 204.2 MB, free: 5.73 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2502/0.2502, allocations: 34.25 MB / 294.9 MB, free: 0.7109 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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_4_1_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.934e-06/1.934e-06, allocations: 0 / 442.2 MB, free: 1.703 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.55e-05/2.743e-05, allocations: 2.281 kB / 442.2 MB, free: 1.699 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2953/0.2953, allocations: 132.8 MB / 0.5615 GB, free: 11.91 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001157/0.2965, allocations: 1.297 MB / 0.5628 GB, free: 10.61 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.159e-05/0.2965, allocations: 0 / 0.5628 GB, free: 10.61 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003705/0.2969, allocations: 39.81 kB / 0.5628 GB, free: 10.57 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002434/0.2993, allocations: 1.107 MB / 0.5639 GB, free: 9.469 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.44e-06/0.2993, allocations: 0 / 0.5639 GB, free: 9.469 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.000111/0.2994, allocations: 75.56 kB / 0.564 GB, free: 9.395 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.322e-05/0.2995, allocations: 7.938 kB / 0.564 GB, free: 9.387 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.963e-05/0.2995, allocations: 23.92 kB / 0.564 GB, free: 9.363 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 7.265e-05/0.2996, allocations: 35.88 kB / 0.564 GB, free: 9.328 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.401e-05/0.2996, allocations: 4 kB / 0.564 GB, free: 9.324 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001616/0.3012, allocations: 1.617 MB / 0.5656 GB, free: 7.703 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.787e-05/0.3013, allocations: 23.91 kB / 0.5656 GB, free: 7.68 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.473e-05/0.3013, allocations: 16 kB / 0.5656 GB, free: 7.664 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008934/0.3022, allocations: 1.036 MB / 0.5667 GB, free: 6.625 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.097e-06/0.3022, allocations: 0 / 0.5667 GB, free: 6.625 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.783e-06/0.3022, allocations: 3.469 kB / 0.5667 GB, free: 6.625 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.859e-06/0.3022, allocations: 0 / 0.5667 GB, free: 6.625 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0005379/0.3028, allocations: 437.2 kB / 0.5671 GB, free: 6.172 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.692e-05/0.3028, allocations: 12.03 kB / 0.5671 GB, free: 6.16 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.671e-05/0.3028, allocations: 30.75 kB / 0.5671 GB, free: 6.121 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.417e-05/0.3028, allocations: 12.89 kB / 0.5671 GB, free: 6.109 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 7.277e-05/0.3029, allocations: 113.4 kB / 0.5672 GB, free: 5.973 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.006e-05/0.3029, allocations: 8 kB / 0.5672 GB, free: 5.965 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.346e-06/0.3029, allocations: 4 kB / 0.5672 GB, free: 5.961 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001247/0.3031, allocations: 89.64 kB / 0.5673 GB, free: 5.867 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.253e-06/0.3031, allocations: 0 / 0.5673 GB, free: 5.867 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.743e-06/0.3031, allocations: 0 / 0.5673 GB, free: 5.867 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.967e-05/0.3031, allocations: 8 kB / 0.5673 GB, free: 5.859 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.492e-05/0.3032, allocations: 67.95 kB / 0.5674 GB, free: 5.793 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003619/0.3035, allocations: 275.8 kB / 0.5677 GB, free: 5.48 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.104e-05/0.3036, allocations: 38.67 kB / 0.5677 GB, free: 5.434 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.436e-05/0.3036, allocations: 24.91 kB / 0.5677 GB, free: 5.406 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.384e-05/0.3037, allocations: 27.98 kB / 0.5678 GB, free: 5.379 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.66e-05/0.3037, allocations: 30.56 kB / 0.5678 GB, free: 5.34 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 1.012e-06/0.3037, allocations: 0 / 0.5678 GB, free: 5.34 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001517/0.3039, allocations: 78.02 kB / 0.5679 GB, free: 5.258 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.616e-05/0.3039, allocations: 51.41 kB / 0.5679 GB, free: 5.195 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.172e-05/0.304, allocations: 112.9 kB / 0.568 GB, free: 5.078 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.081e-05/0.304, allocations: 29.7 kB / 0.568 GB, free: 5.043 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.625e-05/0.304, allocations: 96.03 kB / 0.5681 GB, free: 4.945 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.151e-05/0.304, allocations: 15.84 kB / 0.5681 GB, free: 4.93 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.714e-05/0.3041, allocations: 25.67 kB / 0.5682 GB, free: 4.898 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.203e-05/0.3041, allocations: 318.8 kB / 0.5685 GB, free: 4.578 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.905e-05/0.3041, allocations: 12 kB / 0.5685 GB, free: 4.566 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.483e-05/0.3042, allocations: 43.42 kB / 0.5685 GB, free: 4.512 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.295e-05/0.3042, allocations: 55.36 kB / 0.5686 GB, free: 4.445 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.255e-06/0.3042, allocations: 0 / 0.5686 GB, free: 4.445 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.064e-05/0.3043, allocations: 85.55 kB / 0.5687 GB, free: 4.355 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.172e-05/0.3043, allocations: 4 kB / 0.5687 GB, free: 4.352 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.3043, allocations: 7.938 kB / 0.5687 GB, free: 4.344 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.018e-05/0.3043, allocations: 5.125 kB / 0.5687 GB, free: 4.34 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.537e-05/0.3044, allocations: 12 kB / 0.5687 GB, free: 4.328 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.029e-06/0.3044, allocations: 0 / 0.5687 GB, free: 4.328 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.012e-05/0.3044, allocations: 4 kB / 0.5687 GB, free: 4.324 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.419e-05/0.3045, allocations: 7.984 kB / 0.5687 GB, free: 4.316 MB / 474.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: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (8): * Single equations (assignments): 7 * Array equations: 1 * 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.38e-05/0.3045, allocations: 118.9 kB / 0.5688 GB, free: 4.191 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.3045, allocations: 3.953 kB / 0.5688 GB, free: 4.188 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001115/0.3046, allocations: 87.56 kB / 0.5689 GB, free: 4.098 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.43e-06/0.3046, allocations: 0 / 0.5689 GB, free: 4.098 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.729e-06/0.3046, allocations: 1 kB / 0.5689 GB, free: 4.098 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.856e-06/0.3046, allocations: 0 / 0.5689 GB, free: 4.098 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001094/0.3048, allocations: 136.7 kB / 0.569 GB, free: 3.922 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.81e-07/0.3048, allocations: 0 / 0.569 GB, free: 3.922 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.736e-05/0.3048, allocations: 11.98 kB / 0.569 GB, free: 3.91 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.51e-07/0.3048, allocations: 0 / 0.569 GB, free: 3.91 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.3048, allocations: 10.88 kB / 0.5691 GB, free: 3.902 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.31e-07/0.3048, allocations: 3.938 kB / 0.5691 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.51e-07/0.3048, allocations: 8 kB / 0.5691 GB, free: 3.891 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.962e-05/0.3049, allocations: 155.4 kB / 0.5692 GB, free: 3.723 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.042e-06/0.3049, allocations: 4 kB / 0.5692 GB, free: 3.719 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.198e-05/0.3049, allocations: 7.922 kB / 0.5692 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.815e-05/0.3049, allocations: 3.984 kB / 0.5692 GB, free: 3.707 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.237e-05/0.3049, allocations: 4 kB / 0.5692 GB, free: 3.703 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.086e-06/0.3049, allocations: 0 / 0.5692 GB, free: 3.703 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.488e-05/0.3049, allocations: 91.2 kB / 0.5693 GB, free: 3.613 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3049, allocations: 0 / 0.5693 GB, free: 3.613 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002902/0.3052, allocations: 151.5 kB / 0.5695 GB, free: 3.465 MB / 474.7 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 (5): * Single equations (assignments): 4 * Array equations: 1 * 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.0007398/0.306, allocations: 0.9364 MB / 0.5704 GB, free: 2.504 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0001178/0.3061, allocations: 36.61 kB / 0.5704 GB, free: 2.469 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.064e-06/0.3061, allocations: 0 / 0.5704 GB, free: 2.469 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.632e-05/0.3061, allocations: 19.92 kB / 0.5704 GB, free: 2.449 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002392/0.3064, allocations: 17.7 kB / 0.5705 GB, free: 2.434 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007685/0.3071, allocations: 253.4 kB / 0.5707 GB, free: 2.152 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.929e-05/0.3072, allocations: 71.33 kB / 0.5708 GB, free: 2.062 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 5.663e-05/0.3072, allocations: 17.86 kB / 0.5708 GB, free: 2.051 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.54e-05/0.3073, allocations: 28.48 kB / 0.5708 GB, free: 2.027 MB / 474.7 MB Notification: Performance of SimCode: time 5.61e-07/0.3073, allocations: 0 / 0.5708 GB, free: 2.027 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01567/0.323, allocations: 5.717 MB / 0.5764 GB, free: 12.44 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.851/7.174, allocations: 11.06 kB / 0.5764 GB, free: 12.44 MB / 490.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.1.0_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_4_1_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable p in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable p from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! Error: Could not read variable s in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable s from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! Error: Could not read variable u in file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable u from file ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.41719405632466]