Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001219/0.001219, allocations: 80.36 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.000908/0.000908, allocations: 160.9 kB / 23.95 MB, free: 0.6133 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.9307/0.9307, allocations: 177 MB / 204.1 MB, free: 5.75 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2396/0.2396, allocations: 34.23 MB / 294.8 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.433e-06/1.433e-06, allocations: 0 / 442.1 MB, free: 1.609 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.091e-05/1.234e-05, allocations: 2.281 kB / 442.1 MB, free: 1.605 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2946/0.2946, allocations: 132.8 MB / 0.5615 GB, free: 11.62 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.00115/0.2957, allocations: 1.297 MB / 0.5628 GB, free: 10.32 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.218e-05/0.2958, allocations: 4 kB / 0.5628 GB, free: 10.32 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003137/0.2961, allocations: 43.75 kB / 0.5628 GB, free: 10.28 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001769/0.2978, allocations: 1.102 MB / 0.5639 GB, free: 9.176 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 3.977e-06/0.2978, allocations: 0 / 0.5639 GB, free: 9.176 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 9.793e-05/0.2979, allocations: 67.59 kB / 0.5639 GB, free: 9.109 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.648e-05/0.298, allocations: 3.984 kB / 0.5639 GB, free: 9.105 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.677e-05/0.298, allocations: 35.84 kB / 0.564 GB, free: 9.07 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.66e-05/0.2981, allocations: 27.95 kB / 0.564 GB, free: 9.043 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.045e-05/0.2981, allocations: 3.938 kB / 0.564 GB, free: 9.039 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.00158/0.2997, allocations: 1.625 MB / 0.5656 GB, free: 7.41 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 4.726e-05/0.2997, allocations: 23.92 kB / 0.5656 GB, free: 7.387 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.394e-05/0.2997, allocations: 11.94 kB / 0.5656 GB, free: 7.375 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0008891/0.3006, allocations: 1.033 MB / 0.5666 GB, free: 6.34 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.026e-06/0.3006, allocations: 0 / 0.5666 GB, free: 6.34 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.603e-06/0.3006, allocations: 0 / 0.5666 GB, free: 6.34 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.16e-06/0.3006, allocations: 4 kB / 0.5666 GB, free: 6.336 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.0007402/0.3014, allocations: 437.2 kB / 0.5671 GB, free: 5.883 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.331e-05/0.3014, allocations: 8.031 kB / 0.5671 GB, free: 5.875 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.817e-05/0.3014, allocations: 38.73 kB / 0.5671 GB, free: 5.828 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.383e-05/0.3015, allocations: 9.734 kB / 0.5671 GB, free: 5.82 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 6.551e-05/0.3015, allocations: 117.5 kB / 0.5672 GB, free: 5.68 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.476e-06/0.3015, allocations: 0 / 0.5672 GB, free: 5.68 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.707e-06/0.3015, allocations: 4 kB / 0.5672 GB, free: 5.676 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00012/0.3017, allocations: 85.61 kB / 0.5673 GB, free: 5.586 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.194e-06/0.3017, allocations: 3.984 kB / 0.5673 GB, free: 5.582 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.116e-06/0.3017, allocations: 4 kB / 0.5673 GB, free: 5.578 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.661e-05/0.3017, allocations: 5.406 kB / 0.5673 GB, free: 5.574 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.203e-05/0.3018, allocations: 67.95 kB / 0.5674 GB, free: 5.508 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003536/0.3021, allocations: 287.7 kB / 0.5677 GB, free: 5.184 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.918e-05/0.3022, allocations: 34.56 kB / 0.5677 GB, free: 5.141 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.275e-05/0.3022, allocations: 20.98 kB / 0.5677 GB, free: 5.117 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.365e-05/0.3023, allocations: 27.97 kB / 0.5677 GB, free: 5.09 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.741e-05/0.3023, allocations: 34.56 kB / 0.5678 GB, free: 5.047 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 9.62e-07/0.3023, allocations: 0 / 0.5678 GB, free: 5.047 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001459/0.3025, allocations: 73.52 kB / 0.5678 GB, free: 4.969 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.819e-05/0.3025, allocations: 51.41 kB / 0.5679 GB, free: 4.906 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.994e-05/0.3026, allocations: 112.6 kB / 0.568 GB, free: 4.789 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.149e-05/0.3026, allocations: 33.7 kB / 0.568 GB, free: 4.75 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.927e-05/0.3026, allocations: 92.03 kB / 0.5681 GB, free: 4.656 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.052e-05/0.3026, allocations: 19.84 kB / 0.5681 GB, free: 4.637 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.795e-05/0.3027, allocations: 29.66 kB / 0.5682 GB, free: 4.602 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.841e-05/0.3027, allocations: 324.6 kB / 0.5685 GB, free: 4.277 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.996e-05/0.3028, allocations: 12 kB / 0.5685 GB, free: 4.266 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.631e-05/0.3028, allocations: 39.42 kB / 0.5685 GB, free: 4.215 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.607e-05/0.3029, allocations: 51.36 kB / 0.5686 GB, free: 4.152 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.374e-06/0.3029, allocations: 4 kB / 0.5686 GB, free: 4.148 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.377e-05/0.3029, allocations: 77.61 kB / 0.5687 GB, free: 4.066 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.3e-05/0.303, allocations: 12.09 kB / 0.5687 GB, free: 4.055 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.791e-06/0.303, allocations: 3.938 kB / 0.5687 GB, free: 4.051 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.132e-05/0.303, allocations: 0 / 0.5687 GB, free: 4.051 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.499e-05/0.303, allocations: 15.94 kB / 0.5687 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.342e-06/0.3031, allocations: 0 / 0.5687 GB, free: 4.035 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.054e-05/0.3031, allocations: 4 kB / 0.5687 GB, free: 4.031 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.187e-05/0.3031, allocations: 4 kB / 0.5687 GB, free: 4.027 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 6.08e-05/0.3031, allocations: 117.8 kB / 0.5688 GB, free: 3.902 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.499e-05/0.3032, allocations: 7.953 kB / 0.5688 GB, free: 3.895 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00013/0.3033, allocations: 89.89 kB / 0.5689 GB, free: 3.805 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.583e-06/0.3033, allocations: 4 kB / 0.5689 GB, free: 3.801 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.609e-06/0.3033, allocations: 112 / 0.5689 GB, free: 3.801 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.106e-06/0.3033, allocations: 3.938 kB / 0.5689 GB, free: 3.797 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001188/0.3034, allocations: 136.7 kB / 0.569 GB, free: 3.621 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.3034, allocations: 0 / 0.569 GB, free: 3.621 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.957e-05/0.3034, allocations: 7.984 kB / 0.569 GB, free: 3.613 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.182e-06/0.3034, allocations: 0 / 0.569 GB, free: 3.613 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.536e-06/0.3035, allocations: 11.94 kB / 0.5691 GB, free: 3.602 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.61e-07/0.3035, allocations: 4 kB / 0.5691 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.21e-07/0.3035, allocations: 0 / 0.5691 GB, free: 3.598 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.244e-05/0.3035, allocations: 159.5 kB / 0.5692 GB, free: 3.426 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.923e-06/0.3036, allocations: 7.062 kB / 0.5692 GB, free: 3.422 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.278e-05/0.3036, allocations: 3.938 kB / 0.5692 GB, free: 3.418 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.023e-05/0.3036, allocations: 0 / 0.5692 GB, free: 3.418 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.575e-05/0.3036, allocations: 7.984 kB / 0.5692 GB, free: 3.41 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.448e-06/0.3036, allocations: 4 kB / 0.5692 GB, free: 3.406 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.939e-05/0.3036, allocations: 83.28 kB / 0.5693 GB, free: 3.324 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3036, allocations: 0 / 0.5693 GB, free: 3.324 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003057/0.304, allocations: 155.5 kB / 0.5695 GB, free: 3.172 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.0007416/0.3047, allocations: 0.9305 MB / 0.5704 GB, free: 2.215 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.101e-05/0.3048, allocations: 39.86 kB / 0.5704 GB, free: 2.176 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.292e-06/0.3048, allocations: 0 / 0.5704 GB, free: 2.176 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.754e-05/0.3048, allocations: 19.94 kB / 0.5704 GB, free: 2.156 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002015/0.305, allocations: 10.42 kB / 0.5704 GB, free: 2.148 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004434/0.3054, allocations: 245.2 kB / 0.5707 GB, free: 1.875 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.725e-05/0.3055, allocations: 71.33 kB / 0.5707 GB, free: 1.785 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.999e-05/0.3055, allocations: 21.8 kB / 0.5708 GB, free: 1.77 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.926e-05/0.3056, allocations: 32.47 kB / 0.5708 GB, free: 1.742 MB / 474.7 MB Notification: Performance of SimCode: time 3.91e-07/0.3056, allocations: 0 / 0.5708 GB, free: 1.742 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01673/0.3223, allocations: 5.72 MB / 0.5764 GB, free: 12.15 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.807/7.129, allocations: 4.938 kB / 0.5764 GB, free: 12.15 MB / 490.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_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_trunk_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_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_trunk_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_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable p from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! Error: Could not read variable s in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable s from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! Error: Could not read variable u in file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable u from file ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.279911051504314]