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.001883/0.001883, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.002191/0.002191, allocations: 202.9 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.42/1.42, allocations: 230.6 MB / 257.5 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] 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.2158/0.2158, allocations: 46.96 MB / 360.9 MB, free: 4.039 MB / 286.1 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 0.001943/0.001943, allocations: 67.89 kB / 0.4961 GB, free: 8.246 MB / 414.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3116/0.3135, allocations: 66.02 MB / 0.5606 GB, free: 33.33 MB / 446.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.1573/0.4709, allocations: 132.8 MB / 0.6903 GB, free: 1.391 MB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001906/0.4728, allocations: 1.301 MB / 0.6915 GB, free: 88 kB / 0.5137 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.746e-05/0.4728, allocations: 4 kB / 0.6915 GB, free: 84 kB / 0.5137 GB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.4731, allocations: 35.81 kB / 0.6916 GB, free: 48 kB / 0.5137 GB Notification: Performance of NFTyping.typeBindings: time 0.002781/0.4759, allocations: 1.091 MB / 0.6926 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 4.93e-06/0.4759, allocations: 0 / 0.6926 GB, free: 14.96 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0001235/0.476, allocations: 67.62 kB / 0.6927 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 3.549e-05/0.4761, allocations: 4 kB / 0.6927 GB, free: 14.89 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 4.405e-05/0.4761, allocations: 31.86 kB / 0.6927 GB, free: 14.86 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 7.558e-05/0.4762, allocations: 35.83 kB / 0.6928 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.207e-05/0.4762, allocations: 4 kB / 0.6928 GB, free: 14.82 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002988/0.4792, allocations: 1.653 MB / 0.6944 GB, free: 13.16 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.992e-05/0.4792, allocations: 11.92 kB / 0.6944 GB, free: 13.15 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 4.189e-05/0.4793, allocations: 23.86 kB / 0.6944 GB, free: 13.12 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001561/0.4808, allocations: 0.8806 MB / 0.6953 GB, free: 12.24 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 6.512e-06/0.4809, allocations: 7.984 kB / 0.6953 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.683e-06/0.4809, allocations: 0 / 0.6953 GB, free: 12.23 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 7.244e-06/0.4809, allocations: 4 kB / 0.6953 GB, free: 12.23 MB / 0.5294 GB 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.0007328/0.4816, allocations: 436.5 kB / 0.6957 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.93e-05/0.4816, allocations: 8.031 kB / 0.6957 GB, free: 11.77 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.254e-05/0.4817, allocations: 38.73 kB / 0.6957 GB, free: 11.72 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.295e-05/0.4817, allocations: 16.83 kB / 0.6958 GB, free: 11.7 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001056/0.4818, allocations: 105.5 kB / 0.6959 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.589e-05/0.4818, allocations: 7.938 kB / 0.6959 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 1.022e-05/0.4818, allocations: 0 / 0.6959 GB, free: 11.57 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001686/0.482, allocations: 89.66 kB / 0.696 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 9.448e-06/0.482, allocations: 0 / 0.696 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.276e-06/0.482, allocations: 0 / 0.696 GB, free: 11.47 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.013e-05/0.4821, allocations: 15.98 kB / 0.696 GB, free: 11.46 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001016/0.4822, allocations: 63.91 kB / 0.696 GB, free: 11.39 MB / 0.5294 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004866/0.4826, allocations: 291.7 kB / 0.6963 GB, free: 11.07 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 8.565e-05/0.4827, allocations: 38.56 kB / 0.6963 GB, free: 11.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 3.114e-05/0.4828, allocations: 12.98 kB / 0.6964 GB, free: 11 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001331/0.4829, allocations: 35.92 kB / 0.6964 GB, free: 10.97 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.818e-05/0.4829, allocations: 34.55 kB / 0.6964 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=5): time 1.172e-06/0.4829, allocations: 0 / 0.6964 GB, free: 10.93 MB / 0.5294 GB Notification: Performance of matching and sorting (n=5): time 0.0002041/0.4831, allocations: 65.62 kB / 0.6965 GB, free: 10.86 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.718e-05/0.4832, allocations: 59.41 kB / 0.6965 GB, free: 10.79 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.924e-05/0.4833, allocations: 109.8 kB / 0.6966 GB, free: 10.67 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 2.264e-05/0.4833, allocations: 25.7 kB / 0.6967 GB, free: 10.64 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 5.345e-05/0.4833, allocations: 88.05 kB / 0.6968 GB, free: 10.55 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 2.292e-05/0.4834, allocations: 27.78 kB / 0.6968 GB, free: 10.52 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 4.12e-05/0.4834, allocations: 21.72 kB / 0.6968 GB, free: 10.49 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001484/0.4836, allocations: 314.8 kB / 0.6971 GB, free: 10.18 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 2.952e-05/0.4836, allocations: 12 kB / 0.6971 GB, free: 10.16 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 5.454e-05/0.4836, allocations: 43.41 kB / 0.6972 GB, free: 10.11 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 9.209e-05/0.4837, allocations: 59.36 kB / 0.6972 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.865e-06/0.4837, allocations: 0.5 kB / 0.6972 GB, free: 10.04 MB / 0.5294 GB Notification: Performance of matching and sorting (n=8) (initialization): time 0.0001428/0.4839, allocations: 85.56 kB / 0.6973 GB, free: 9.949 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.508e-05/0.4839, allocations: 4 kB / 0.6973 GB, free: 9.945 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.286e-06/0.4839, allocations: 4 kB / 0.6973 GB, free: 9.941 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 2.012e-05/0.4839, allocations: 7.984 kB / 0.6973 GB, free: 9.934 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.567e-05/0.484, allocations: 8 kB / 0.6973 GB, free: 9.926 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.255e-06/0.484, allocations: 4 kB / 0.6973 GB, free: 9.922 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.111e-05/0.484, allocations: 3.953 kB / 0.6973 GB, free: 9.918 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.543e-05/0.4841, allocations: 8.094 kB / 0.6973 GB, free: 9.91 MB / 0.5294 GB 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 9.424e-05/0.4842, allocations: 125.8 kB / 0.6975 GB, free: 9.777 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.845e-05/0.4842, allocations: 8.047 kB / 0.6975 GB, free: 9.77 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000187/0.4844, allocations: 85.22 kB / 0.6975 GB, free: 9.68 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.213e-06/0.4844, allocations: 4 kB / 0.6975 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.388e-06/0.4844, allocations: 0 / 0.6975 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.4844, allocations: 0 / 0.6975 GB, free: 9.676 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001997/0.4846, allocations: 136.8 kB / 0.6977 GB, free: 9.5 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.967e-06/0.4846, allocations: 3.938 kB / 0.6977 GB, free: 9.496 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.113e-05/0.4846, allocations: 8 kB / 0.6977 GB, free: 9.488 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 8.947e-06/0.4846, allocations: 4 kB / 0.6977 GB, free: 9.484 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.033e-05/0.4846, allocations: 3.984 kB / 0.6977 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.242e-06/0.4846, allocations: 0 / 0.6977 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-06/0.4846, allocations: 0 / 0.6977 GB, free: 9.48 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001662/0.4848, allocations: 159.4 kB / 0.6978 GB, free: 9.309 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 9.527e-06/0.4848, allocations: 3.938 kB / 0.6979 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.501e-05/0.4848, allocations: 0 / 0.6979 GB, free: 9.305 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.32e-05/0.4849, allocations: 8 kB / 0.6979 GB, free: 9.297 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.669e-05/0.4849, allocations: 7.984 kB / 0.6979 GB, free: 9.289 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.025e-06/0.4849, allocations: 4 kB / 0.6979 GB, free: 9.285 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.96e-05/0.485, allocations: 83.41 kB / 0.698 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of sort global known variables: time 6e-08/0.485, allocations: 0 / 0.698 GB, free: 9.203 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0005529/0.4855, allocations: 155.5 kB / 0.6981 GB, free: 9.051 MB / 0.5294 GB 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.001065/0.4866, allocations: 0.9147 MB / 0.699 GB, free: 8.109 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0001251/0.4867, allocations: 35.98 kB / 0.699 GB, free: 8.074 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 4.218e-06/0.4867, allocations: 4 kB / 0.699 GB, free: 8.07 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 3.145e-05/0.4867, allocations: 19.92 kB / 0.699 GB, free: 8.051 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002946/0.487, allocations: 20.2 kB / 0.6991 GB, free: 8.035 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006304/0.4877, allocations: 257.8 kB / 0.6993 GB, free: 7.742 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.668e-05/0.4877, allocations: 71.28 kB / 0.6994 GB, free: 7.652 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 6.503e-05/0.4878, allocations: 24.25 kB / 0.6994 GB, free: 7.629 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.861e-05/0.4879, allocations: 31.31 kB / 0.6994 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of SimCode: time 3.11e-07/0.4879, allocations: 0 / 0.6994 GB, free: 7.598 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03112/0.519, allocations: 5.583 MB / 0.7049 GB, free: 2.145 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate platform static: time 10.89/11.41, allocations: 18.41 kB / 0.7049 GB, free: 2.133 MB / 0.5294 GB " [Timeout remaining time 648] (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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/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: 14.40233205902041]