Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.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.001232/0.001232, allocations: 83.69 kB / 20.67 MB, free: 3.887 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.001293/0.001293, allocations: 170 kB / 23.95 MB, free: 0.6094 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.9372/0.9372, allocations: 177.1 MB / 204.3 MB, free: 5.719 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2549/0.2549, allocations: 32.79 MB / 293.5 MB, free: 1.219 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.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_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.703e-06/1.703e-06, allocations: 0 / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.541e-05/1.711e-05, allocations: 4.812 kB / 439.6 MB, free: 4.27 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2863/0.2863, allocations: 132.8 MB / 0.5589 GB, free: 15.84 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001129/0.2874, allocations: 1.203 MB / 0.5601 GB, free: 14.63 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.632e-05/0.2875, allocations: 0 / 0.5601 GB, free: 14.63 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002865/0.2878, allocations: 35.77 kB / 0.5601 GB, free: 14.6 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002062/0.2898, allocations: 1.065 MB / 0.5612 GB, free: 13.53 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 4.288e-06/0.2898, allocations: 0 / 0.5612 GB, free: 13.53 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001059/0.2899, allocations: 55.66 kB / 0.5612 GB, free: 13.48 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.29, allocations: 7.984 kB / 0.5612 GB, free: 13.47 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 4.184e-05/0.29, allocations: 15.98 kB / 0.5613 GB, free: 13.45 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.022e-05/0.2901, allocations: 27.91 kB / 0.5613 GB, free: 13.43 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 9.798e-06/0.2901, allocations: 0 / 0.5613 GB, free: 13.43 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001803/0.2919, allocations: 1.59 MB / 0.5628 GB, free: 11.83 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.009e-05/0.2919, allocations: 15.92 kB / 0.5629 GB, free: 11.82 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 2.748e-05/0.292, allocations: 8 kB / 0.5629 GB, free: 11.81 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001162/0.2931, allocations: 1.013 MB / 0.5638 GB, free: 10.79 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.506e-06/0.2931, allocations: 0 / 0.5638 GB, free: 10.79 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.303e-06/0.2931, allocations: 4 kB / 0.5639 GB, free: 10.79 MB / 474.7 MB Notification: Performance of Transformations before backend: time 4.919e-06/0.2931, allocations: 0 / 0.5639 GB, free: 10.79 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.0005584/0.2937, allocations: 435.9 kB / 0.5643 GB, free: 10.34 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.2937, allocations: 8.031 kB / 0.5643 GB, free: 10.33 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.707e-05/0.2938, allocations: 38.75 kB / 0.5643 GB, free: 10.28 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.35e-05/0.2938, allocations: 6.25 kB / 0.5643 GB, free: 10.28 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 5.044e-05/0.2938, allocations: 105.8 kB / 0.5644 GB, free: 10.15 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.072e-05/0.2939, allocations: 11.86 kB / 0.5644 GB, free: 10.14 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.488e-06/0.2939, allocations: 8 kB / 0.5644 GB, free: 10.13 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001145/0.294, allocations: 69.67 kB / 0.5645 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.383e-06/0.294, allocations: 0 / 0.5645 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.747e-06/0.294, allocations: 4 kB / 0.5645 GB, free: 10.05 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.737e-05/0.294, allocations: 9.484 kB / 0.5645 GB, free: 10.04 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.613e-05/0.2941, allocations: 59.91 kB / 0.5646 GB, free: 9.984 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000326/0.2944, allocations: 267.8 kB / 0.5648 GB, free: 9.68 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 5.293e-05/0.2945, allocations: 34.56 kB / 0.5649 GB, free: 9.637 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.941e-05/0.2945, allocations: 12.8 kB / 0.5649 GB, free: 9.621 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001014/0.2946, allocations: 32.05 kB / 0.5649 GB, free: 9.59 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.843e-05/0.2946, allocations: 34.56 kB / 0.5649 GB, free: 9.547 MB / 474.7 MB Notification: Performance of pre-optimization done (n=4): time 1.322e-06/0.2946, allocations: 0 / 0.5649 GB, free: 9.547 MB / 474.7 MB Notification: Performance of matching and sorting (n=4): time 0.0001447/0.2947, allocations: 61.8 kB / 0.565 GB, free: 9.48 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001154/0.2949, allocations: 51.41 kB / 0.565 GB, free: 9.418 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.792e-05/0.2949, allocations: 101.8 kB / 0.5651 GB, free: 9.309 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 1.053e-05/0.2949, allocations: 33.7 kB / 0.5652 GB, free: 9.27 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.03e-05/0.295, allocations: 88.05 kB / 0.5653 GB, free: 9.18 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.775e-06/0.295, allocations: 15.84 kB / 0.5653 GB, free: 9.164 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.803e-05/0.295, allocations: 21.7 kB / 0.5653 GB, free: 9.137 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.687e-05/0.2951, allocations: 318.8 kB / 0.5656 GB, free: 8.816 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.471e-05/0.2951, allocations: 10.28 kB / 0.5656 GB, free: 8.809 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.87e-05/0.2951, allocations: 35.42 kB / 0.5656 GB, free: 8.762 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.35e-05/0.2952, allocations: 51.36 kB / 0.5657 GB, free: 8.699 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.235e-06/0.2952, allocations: 4.109 kB / 0.5657 GB, free: 8.695 MB / 474.7 MB Notification: Performance of matching and sorting (n=7) (initialization): time 6.88e-05/0.2952, allocations: 73.56 kB / 0.5658 GB, free: 8.617 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.148e-05/0.2952, allocations: 5.25 kB / 0.5658 GB, free: 8.613 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.91e-06/0.2952, allocations: 0 / 0.5658 GB, free: 8.613 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.182e-05/0.2953, allocations: 7.938 kB / 0.5658 GB, free: 8.605 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.291e-05/0.2953, allocations: 11.98 kB / 0.5658 GB, free: 8.594 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.769e-06/0.2953, allocations: 4 kB / 0.5658 GB, free: 8.59 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.877e-05/0.2953, allocations: 3.953 kB / 0.5658 GB, free: 8.586 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.438e-06/0.2953, allocations: 8 kB / 0.5658 GB, free: 8.578 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 (7): * Single equations (assignments): 7 * 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 4.975e-05/0.2954, allocations: 119 kB / 0.5659 GB, free: 8.453 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.441e-05/0.2954, allocations: 7.984 kB / 0.5659 GB, free: 8.445 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.648e-05/0.2955, allocations: 68.52 kB / 0.566 GB, free: 8.375 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.475e-06/0.2955, allocations: 4.875 kB / 0.566 GB, free: 8.371 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.839e-06/0.2955, allocations: 3.625 kB / 0.566 GB, free: 8.371 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.2955, allocations: 3.984 kB / 0.566 GB, free: 8.367 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.691e-05/0.2956, allocations: 136.7 kB / 0.5661 GB, free: 8.191 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.2956, allocations: 4 kB / 0.5661 GB, free: 8.188 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.416e-05/0.2956, allocations: 4 kB / 0.5661 GB, free: 8.184 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.81e-07/0.2956, allocations: 0 / 0.5661 GB, free: 8.184 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.392e-06/0.2956, allocations: 7.938 kB / 0.5662 GB, free: 8.176 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.493e-06/0.2956, allocations: 3.938 kB / 0.5662 GB, free: 8.172 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.52e-07/0.2956, allocations: 0 / 0.5662 GB, free: 8.172 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 6.853e-05/0.2957, allocations: 145.8 kB / 0.5663 GB, free: 8.016 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 6.732e-06/0.2957, allocations: 3.984 kB / 0.5663 GB, free: 8.012 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.846e-06/0.2957, allocations: 4 kB / 0.5663 GB, free: 8.008 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.53e-05/0.2958, allocations: 3.938 kB / 0.5663 GB, free: 8.004 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.152e-05/0.2958, allocations: 0 / 0.5663 GB, free: 8.004 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.857e-06/0.2958, allocations: 8 kB / 0.5663 GB, free: 7.996 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.393e-05/0.2958, allocations: 87.59 kB / 0.5664 GB, free: 7.91 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2958, allocations: 0 / 0.5664 GB, free: 7.91 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003128/0.2961, allocations: 143.5 kB / 0.5665 GB, free: 7.77 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 (4): * Single equations (assignments): 4 * 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.0006789/0.2968, allocations: 0.9189 MB / 0.5674 GB, free: 6.824 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 8.174e-05/0.2969, allocations: 27.92 kB / 0.5675 GB, free: 6.797 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.232e-06/0.2969, allocations: 0 / 0.5675 GB, free: 6.797 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.088e-05/0.2969, allocations: 12 kB / 0.5675 GB, free: 6.785 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000191/0.2971, allocations: 16.11 kB / 0.5675 GB, free: 6.77 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003761/0.2974, allocations: 233.2 kB / 0.5677 GB, free: 6.508 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.567e-05/0.2975, allocations: 63.34 kB / 0.5678 GB, free: 6.426 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 3.97e-05/0.2975, allocations: 15.92 kB / 0.5678 GB, free: 6.41 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.439e-05/0.2976, allocations: 20.5 kB / 0.5678 GB, free: 6.395 MB / 474.7 MB Notification: Performance of SimCode: time 4.81e-07/0.2976, allocations: 0 / 0.5678 GB, free: 6.395 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0178/0.3154, allocations: 5.31 MB / 0.573 GB, free: 1.234 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.8/7.115, allocations: 8.5 kB / 0.573 GB, free: 1.227 MB / 474.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.sim & python3 -m fmpy simulate --output-file ModelicaTest_4.0.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_0_0_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "Error: Could not read variable s in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable s from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! Error: Could not read variable u in file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv. Warning: Get data of variable u from file ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.MoistAir_res.csv failed! " [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 9.308136252686381]