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.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.001868/0.001868, allocations: 120.3 kB / 17.84 MB, free: 5.203 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.002713/0.002713, allocations: 211.9 kB / 20.8 MB, free: 2.258 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.571/1.571, allocations: 207.6 MB / 231.2 MB, free: 4.129 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.3354/0.3354, allocations: 44.23 MB / 327.3 MB, free: 6.715 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.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_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_MoistAir",fmuType="cs",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.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.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002282/0.002282, allocations: 68.45 kB / 462.9 MB, free: 0.918 MB / 382.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2678/0.2701, allocations: 61 MB / 0.5116 GB, free: 13.45 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4672/0.7373, allocations: 152.7 MB / 0.6607 GB, free: 292 kB / 0.4981 GB Notification: Performance of NFInst.instExpressions: time 0.00148/0.7387, allocations: 1.216 MB / 0.6619 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 4.132e-05/0.7388, allocations: 0.8438 kB / 0.6619 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFTyping.typeComponents: time 0.0003058/0.7391, allocations: 42.33 kB / 0.6619 GB, free: 280 kB / 0.4981 GB Notification: Performance of NFTyping.typeBindings: time 0.002525/0.7416, allocations: 0.882 MB / 0.6628 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFTyping.typeClassSections: time 5.4e-06/0.7416, allocations: 0 / 0.6628 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFFlatten.flatten: time 0.0001368/0.7418, allocations: 41.8 kB / 0.6628 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFFlatten.resolveConnections: time 5.374e-05/0.7418, allocations: 4.875 kB / 0.6628 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFEvalConstants.evaluate: time 3.882e-05/0.7419, allocations: 20.56 kB / 0.6629 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFSimplifyModel.simplify: time 7.517e-05/0.7419, allocations: 25 kB / 0.6629 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFPackage.collectConstants: time 8.396e-06/0.7419, allocations: 0.875 kB / 0.6629 GB, free: 252 kB / 0.4981 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002956/0.7449, allocations: 1.673 MB / 0.6645 GB, free: 240 kB / 0.4981 GB Notification: Performance of NFScalarize.scalarize: time 5.928e-05/0.745, allocations: 11.81 kB / 0.6645 GB, free: 236 kB / 0.4981 GB Notification: Performance of NFVerifyModel.verify: time 4.5e-05/0.745, allocations: 18.06 kB / 0.6646 GB, free: 236 kB / 0.4981 GB Notification: Performance of NFConvertDAE.convert: time 0.001507/0.7465, allocations: 0.7788 MB / 0.6653 GB, free: 196 kB / 0.4981 GB Notification: Performance of FrontEnd - DAE generated: time 6.352e-06/0.7465, allocations: 3.375 kB / 0.6653 GB, free: 196 kB / 0.4981 GB Notification: Performance of FrontEnd: time 2.194e-06/0.7465, allocations: 1.938 kB / 0.6653 GB, free: 196 kB / 0.4981 GB Notification: Performance of Transformations before backend: time 6.572e-06/0.7465, allocations: 0 / 0.6653 GB, free: 196 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.0007412/0.7473, allocations: 464.8 kB / 0.6658 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of prepare preOptimizeDAE: time 4.261e-05/0.7473, allocations: 20.36 kB / 0.6658 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 3.288e-05/0.7473, allocations: 3.375 kB / 0.6658 GB, free: 15.76 MB / 0.5137 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.7474, allocations: 40.94 kB / 0.6658 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.941e-05/0.7474, allocations: 7.422 kB / 0.6658 GB, free: 15.71 MB / 0.5137 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001302/0.7475, allocations: 170.2 kB / 0.666 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.236e-05/0.7475, allocations: 2.188 kB / 0.666 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt expandDerOperator (simulation): time 9.027e-06/0.7476, allocations: 3.406 kB / 0.666 GB, free: 15.51 MB / 0.5137 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001466/0.7477, allocations: 72.66 kB / 0.6661 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt findStateOrder (simulation): time 8.536e-06/0.7477, allocations: 1.094 kB / 0.6661 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.376e-06/0.7477, allocations: 0 / 0.6661 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.14e-05/0.7477, allocations: 7.328 kB / 0.6661 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.281e-05/0.7478, allocations: 46.3 kB / 0.6661 GB, free: 15.48 MB / 0.5137 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004343/0.7483, allocations: 297.5 kB / 0.6664 GB, free: 15.2 MB / 0.5137 GB Notification: Performance of preOpt comSubExp (simulation): time 8.407e-05/0.7483, allocations: 31.33 kB / 0.6664 GB, free: 15.18 MB / 0.5137 GB Notification: Performance of preOpt resolveLoops (simulation): time 2.575e-05/0.7484, allocations: 13.31 kB / 0.6664 GB, free: 15.17 MB / 0.5137 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0001319/0.7485, allocations: 87.25 kB / 0.6665 GB, free: 15.08 MB / 0.5137 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.822e-05/0.7485, allocations: 33.66 kB / 0.6666 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of pre-optimization done (n=3): time 1.042e-06/0.7485, allocations: 7.344 kB / 0.6666 GB, free: 15.04 MB / 0.5137 GB Notification: Performance of matching and sorting (n=3): time 0.0001701/0.7487, allocations: 57.12 kB / 0.6666 GB, free: 15 MB / 0.5137 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.637e-05/0.7487, allocations: 51.41 kB / 0.6667 GB, free: 14.94 MB / 0.5137 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.97e-05/0.7488, allocations: 103 kB / 0.6668 GB, free: 14.84 MB / 0.5137 GB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.7488, allocations: 25.7 kB / 0.6668 GB, free: 14.81 MB / 0.5137 GB Notification: Performance of collectInitialEqns (initialization): time 5.145e-05/0.7489, allocations: 98.14 kB / 0.6669 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of collectInitialBindings (initialization): time 1.311e-05/0.7489, allocations: 14.59 kB / 0.6669 GB, free: 14.71 MB / 0.5137 GB Notification: Performance of simplifyInitialFunctions (initialization): time 3.796e-05/0.7489, allocations: 17.94 kB / 0.6669 GB, free: 14.69 MB / 0.5137 GB Notification: Performance of setup shared object (initialization): time 0.0001371/0.7491, allocations: 320.4 kB / 0.6672 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of preBalanceInitialSystem (initialization): time 1.918e-05/0.7491, allocations: 9 kB / 0.6672 GB, free: 14.38 MB / 0.5137 GB Notification: Performance of partitionIndependentBlocks (initialization): time 3.708e-05/0.7491, allocations: 27.36 kB / 0.6673 GB, free: 14.34 MB / 0.5137 GB Notification: Performance of analyzeInitialSystem (initialization): time 5.861e-05/0.7492, allocations: 49.69 kB / 0.6673 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.422e-06/0.7492, allocations: 0 / 0.6673 GB, free: 14.31 MB / 0.5137 GB Notification: Performance of matching and sorting (n=6) (initialization): time 9.522e-05/0.7493, allocations: 68.53 kB / 0.6674 GB, free: 14.28 MB / 0.5137 GB Notification: Performance of prepare postOptimizeDAE: time 1.576e-05/0.7493, allocations: 9.406 kB / 0.6674 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.739e-06/0.7493, allocations: 0 / 0.6674 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.69e-05/0.7493, allocations: 2.719 kB / 0.6674 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.563e-05/0.7494, allocations: 13.53 kB / 0.6674 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.701e-06/0.7494, allocations: 3 kB / 0.6674 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.971e-05/0.7494, allocations: 3.188 kB / 0.6674 GB, free: 14.27 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.233e-05/0.7494, allocations: 11.22 kB / 0.6674 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 8.457e-05/0.7495, allocations: 119.3 kB / 0.6675 GB, free: 14.15 MB / 0.5137 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.455e-05/0.7496, allocations: 11.88 kB / 0.6675 GB, free: 14.14 MB / 0.5137 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001283/0.7497, allocations: 60.27 kB / 0.6676 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.873e-06/0.7497, allocations: 0 / 0.6676 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.7497, allocations: 0.75 kB / 0.6676 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.655e-06/0.7497, allocations: 0 / 0.6676 GB, free: 14.11 MB / 0.5137 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001753/0.7499, allocations: 159.8 kB / 0.6678 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.773e-06/0.7499, allocations: 6.188 kB / 0.6678 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.577e-05/0.7499, allocations: 5.781 kB / 0.6678 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt tearingSystem (simulation): time 4.478e-06/0.7499, allocations: 3.938 kB / 0.6678 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.119e-05/0.7499, allocations: 4 kB / 0.6678 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.934e-06/0.7499, allocations: 2.25 kB / 0.6678 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.51e-07/0.7499, allocations: 0 / 0.6678 GB, free: 13.91 MB / 0.5137 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001117/0.75, allocations: 139.5 kB / 0.6679 GB, free: 13.78 MB / 0.5137 GB Notification: Performance of postOpt removeConstants (simulation): time 4.639e-05/0.7501, allocations: 83.72 kB / 0.668 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.505e-05/0.7501, allocations: 3.938 kB / 0.668 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.58e-05/0.7501, allocations: 2.812 kB / 0.668 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.441e-05/0.7502, allocations: 10.41 kB / 0.668 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.942e-06/0.7502, allocations: 2.5 kB / 0.668 GB, free: 13.68 MB / 0.5137 GB Notification: Performance of sorting global known variables: time 4.554e-05/0.7502, allocations: 78.19 kB / 0.6681 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of sort global known variables: time 8e-08/0.7502, allocations: 0 / 0.6681 GB, free: 13.6 MB / 0.5137 GB Notification: Performance of remove unused functions: time 0.0004825/0.7507, allocations: 104 kB / 0.6682 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.0009557/0.7517, allocations: 0.829 MB / 0.669 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created initialization part: time 0.0001132/0.7518, allocations: 26.53 kB / 0.669 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created event and clocks part: time 1.753e-06/0.7518, allocations: 0 / 0.669 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created simulation system equations: time 1.888e-05/0.7518, allocations: 9.156 kB / 0.669 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.0002525/0.752, allocations: 2.781 kB / 0.669 GB, free: 12.88 MB / 0.5137 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005548/0.7526, allocations: 214.8 kB / 0.6692 GB, free: 12.7 MB / 0.5137 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003125/0.7529, allocations: 0.6813 MB / 0.6699 GB, free: 12.01 MB / 0.5137 GB Notification: Performance of simCode: alias equations: time 5.843e-05/0.753, allocations: 18.27 kB / 0.6699 GB, free: 12 MB / 0.5137 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.584e-05/0.753, allocations: 14.59 kB / 0.6699 GB, free: 12 MB / 0.5137 GB Notification: Performance of SimCode: time 3.01e-07/0.753, allocations: 0 / 0.6699 GB, free: 12 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01908/0.7721, allocations: 3.83 MB / 0.6737 GB, free: 11.32 MB / 0.5137 GB Notification: Performance of buildModelFMU: Generate platform static: time 8.238/9.01, allocations: 5.281 kB / 0.6737 GB, free: 11.32 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/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/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: 12.021040819992777]