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.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001958/0.001958, allocations: 113.9 kB / 17.13 MB, free: 5.754 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.00186/0.00186, allocations: 191.7 kB / 20.08 MB, free: 2.852 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.455/1.455, allocations: 207.6 MB / 230.5 MB, free: 3.98 MB / 174.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.3159/0.3159, allocations: 44.23 MB / 326.6 MB, free: 6.801 MB / 254.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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.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.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002136/0.002136, allocations: 75.88 kB / 462.2 MB, free: 0.9453 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.27/0.2722, allocations: 60.99 MB / 0.5109 GB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4575/0.7297, allocations: 152.7 MB / 0.66 GB, free: 296 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.001363/0.731, allocations: 1.218 MB / 0.6612 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 3.246e-05/0.7311, allocations: 0.7812 kB / 0.6612 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0002922/0.7314, allocations: 41.83 kB / 0.6612 GB, free: 284 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002339/0.7337, allocations: 0.8776 MB / 0.6621 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 5.11e-06/0.7337, allocations: 0 / 0.6621 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.000121/0.7338, allocations: 46.72 kB / 0.6621 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 4.528e-05/0.7339, allocations: 1.781 kB / 0.6621 GB, free: 260 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.89e-05/0.7339, allocations: 21.86 kB / 0.6621 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 6.85e-05/0.734, allocations: 25.62 kB / 0.6622 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 7.724e-06/0.734, allocations: 0 / 0.6622 GB, free: 256 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002804/0.7368, allocations: 1.676 MB / 0.6638 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 4.991e-05/0.7368, allocations: 10.19 kB / 0.6638 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.719e-05/0.7369, allocations: 19.08 kB / 0.6638 GB, free: 244 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001332/0.7382, allocations: 0.7769 MB / 0.6646 GB, free: 204 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 4.408e-06/0.7382, allocations: 0 / 0.6646 GB, free: 204 kB / 0.4981 GB Notification: Performance of FrontEnd: time 1.834e-06/0.7382, allocations: 1.094 kB / 0.6646 GB, free: 204 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.902e-06/0.7382, allocations: 6.938 kB / 0.6646 GB, free: 204 kB / 0.4981 GB 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.000673/0.7389, allocations: 471.7 kB / 0.665 GB, free: 15.77 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.432e-05/0.7389, allocations: 13.77 kB / 0.665 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.603e-05/0.739, allocations: 35.28 kB / 0.6651 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.982e-05/0.739, allocations: 8.734 kB / 0.6651 GB, free: 15.72 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001256/0.7392, allocations: 171 kB / 0.6653 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.425e-05/0.7392, allocations: 5.75 kB / 0.6653 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 8.456e-06/0.7392, allocations: 3 kB / 0.6653 GB, free: 15.52 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001359/0.7393, allocations: 71 kB / 0.6653 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.055e-05/0.7393, allocations: 7.984 kB / 0.6653 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.928e-06/0.7393, allocations: 0 / 0.6653 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.134e-05/0.7394, allocations: 8.109 kB / 0.6653 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.46e-05/0.7394, allocations: 45.89 kB / 0.6654 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004492/0.7399, allocations: 294.3 kB / 0.6657 GB, free: 15.21 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 7.856e-05/0.74, allocations: 32.55 kB / 0.6657 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.597e-05/0.74, allocations: 14.27 kB / 0.6657 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001311/0.7401, allocations: 96.59 kB / 0.6658 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.85e-05/0.7402, allocations: 30.56 kB / 0.6658 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.7402, allocations: 0 / 0.6658 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0001601/0.7403, allocations: 55.36 kB / 0.6659 GB, free: 15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.262e-05/0.7404, allocations: 51.41 kB / 0.6659 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.989e-05/0.7404, allocations: 101.3 kB / 0.666 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 2.384e-05/0.7405, allocations: 29.02 kB / 0.6661 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 6.506e-05/0.7405, allocations: 101 kB / 0.6662 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.141e-05/0.7405, allocations: 12.8 kB / 0.6662 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.54e-05/0.7406, allocations: 21.42 kB / 0.6662 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001391/0.7407, allocations: 313 kB / 0.6665 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.633e-05/0.7407, allocations: 5.906 kB / 0.6665 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.522e-05/0.7408, allocations: 31.3 kB / 0.6665 GB, free: 14.35 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 7.186e-05/0.7408, allocations: 49.28 kB / 0.6666 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.643e-06/0.7408, allocations: 0 / 0.6666 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.238e-05/0.7409, allocations: 69.19 kB / 0.6666 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.155e-05/0.7409, allocations: 2.875 kB / 0.6666 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.364e-06/0.7409, allocations: 6.344 kB / 0.6666 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.512e-05/0.741, allocations: 0 / 0.6666 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.203e-05/0.741, allocations: 19.06 kB / 0.6667 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.741, allocations: 0 / 0.6667 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.889e-05/0.7411, allocations: 6 kB / 0.6667 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.036e-05/0.7411, allocations: 2.75 kB / 0.6667 GB, free: 14.27 MB / 0.5137 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 (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.391e-05/0.7412, allocations: 121 kB / 0.6668 GB, free: 14.16 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.585e-05/0.7412, allocations: 4.453 kB / 0.6668 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001328/0.7413, allocations: 69.48 kB / 0.6669 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.7413, allocations: 2.344 kB / 0.6669 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.428e-06/0.7413, allocations: 0 / 0.6669 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.7413, allocations: 3.094 kB / 0.6669 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002032/0.7415, allocations: 160.5 kB / 0.667 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.12e-07/0.7415, allocations: 48 / 0.667 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.724e-05/0.7416, allocations: 8.984 kB / 0.667 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 1.633e-06/0.7416, allocations: 0 / 0.667 GB, free: 13.92 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.001e-05/0.7416, allocations: 3.938 kB / 0.667 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.7416, allocations: 128 / 0.667 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.417e-06/0.7416, allocations: 8.75 kB / 0.667 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001215/0.7417, allocations: 140 kB / 0.6672 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.868e-05/0.7418, allocations: 82.59 kB / 0.6672 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.463e-05/0.7418, allocations: 7.125 kB / 0.6673 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.426e-05/0.7418, allocations: 1.75 kB / 0.6673 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.273e-05/0.7418, allocations: 3.25 kB / 0.6673 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.108e-06/0.7418, allocations: 0 / 0.6673 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 5.023e-05/0.7419, allocations: 86.81 kB / 0.6673 GB, free: 13.61 MB / 0.5137 GB Notification: Performance of sort global known variables: time 1.1e-07/0.7419, allocations: 4 kB / 0.6673 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004604/0.7423, allocations: 100.2 kB / 0.6674 GB, free: 13.57 MB / 0.5137 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 (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.0009453/0.7433, allocations: 0.8265 MB / 0.6682 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 9.235e-05/0.7434, allocations: 21.19 kB / 0.6683 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 5.05e-06/0.7434, allocations: 6.75 kB / 0.6683 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.426e-05/0.7434, allocations: 15.14 kB / 0.6683 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002498/0.7437, allocations: 2.875 kB / 0.6683 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005424/0.7442, allocations: 211.5 kB / 0.6685 GB, free: 12.71 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000352/0.7445, allocations: 0.6786 MB / 0.6692 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.633e-05/0.7446, allocations: 14.14 kB / 0.6692 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.335e-05/0.7446, allocations: 17.5 kB / 0.6692 GB, free: 12 MB / 0.5137 GB Notification: Performance of SimCode: time 2.9e-07/0.7446, allocations: 0 / 0.6692 GB, free: 12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02475/0.7694, allocations: 3.791 MB / 0.6729 GB, free: 11.36 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 7.934/8.704, allocations: 4.094 kB / 0.6729 GB, free: 11.36 MB / 0.5137 GB " [Timeout remaining time 651] (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 & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 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.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 11.455882969778031]