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.001808/0.001808, allocations: 97.91 kB / 20.48 MB, free: 1.367 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.002177/0.002177, allocations: 213 kB / 23.78 MB, free: 4.523 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.513/1.513, allocations: 207.7 MB / 234.6 MB, free: 9.773 MB / 190.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.2133/0.2133, allocations: 44.27 MB / 331.1 MB, free: 9.301 MB / 270.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.002113/0.002113, allocations: 67.91 kB / 468.3 MB, free: 4.375 MB / 334.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1429/0.145, allocations: 61.05 MB / 0.5169 GB, free: 7.199 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.4701/0.6151, allocations: 130.9 MB / 0.6447 GB, free: 15.56 MB / 494.1 MB Notification: Performance of NFInst.instExpressions: time 0.001784/0.6169, allocations: 1.078 MB / 0.6458 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.585e-05/0.617, allocations: 0 / 0.6458 GB, free: 14.48 MB / 494.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003714/0.6173, allocations: 23.89 kB / 0.6458 GB, free: 14.46 MB / 494.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003129/0.6205, allocations: 0.903 MB / 0.6467 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFTyping.typeClassSections: time 8.887e-06/0.6205, allocations: 0 / 0.6467 GB, free: 13.57 MB / 494.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001691/0.6206, allocations: 47.72 kB / 0.6467 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.801e-05/0.6207, allocations: 0 / 0.6467 GB, free: 13.53 MB / 494.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.922e-05/0.6207, allocations: 19.92 kB / 0.6467 GB, free: 13.51 MB / 494.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.467e-05/0.6208, allocations: 19.92 kB / 0.6467 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFPackage.collectConstants: time 1.024e-05/0.6208, allocations: 0 / 0.6467 GB, free: 13.49 MB / 494.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002889/0.6237, allocations: 1.423 MB / 0.6481 GB, free: 12.06 MB / 494.1 MB Notification: Performance of NFScalarize.scalarize: time 5.428e-05/0.6238, allocations: 7.984 kB / 0.6481 GB, free: 12.05 MB / 494.1 MB Notification: Performance of NFVerifyModel.verify: time 4.037e-05/0.6238, allocations: 19.92 kB / 0.6482 GB, free: 12.04 MB / 494.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001613/0.6254, allocations: 0.7423 MB / 0.6489 GB, free: 11.29 MB / 494.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.863e-06/0.6254, allocations: 0 / 0.6489 GB, free: 11.29 MB / 494.1 MB Notification: Performance of FrontEnd: time 2.214e-06/0.6254, allocations: 0 / 0.6489 GB, free: 11.29 MB / 494.1 MB Notification: Performance of Transformations before backend: time 7.133e-06/0.6254, allocations: 0 / 0.6489 GB, free: 11.29 MB / 494.1 MB 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.0008072/0.6262, allocations: 385.1 kB / 0.6493 GB, free: 10.89 MB / 494.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.105e-05/0.6263, allocations: 12.02 kB / 0.6493 GB, free: 10.88 MB / 494.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.595e-05/0.6263, allocations: 8.188 kB / 0.6493 GB, free: 10.87 MB / 494.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.972e-05/0.6263, allocations: 34.69 kB / 0.6493 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.092e-05/0.6264, allocations: 8.891 kB / 0.6493 GB, free: 10.82 MB / 494.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.808e-05/0.6264, allocations: 110.1 kB / 0.6494 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.2e-05/0.6265, allocations: 3.938 kB / 0.6494 GB, free: 10.68 MB / 494.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.524e-05/0.6265, allocations: 7.984 kB / 0.6494 GB, free: 10.67 MB / 494.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001463/0.6266, allocations: 67.55 kB / 0.6495 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.845e-06/0.6266, allocations: 0 / 0.6495 GB, free: 10.6 MB / 494.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.358e-05/0.6266, allocations: 11.98 kB / 0.6495 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.584e-05/0.6267, allocations: 4 kB / 0.6495 GB, free: 10.59 MB / 494.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.655e-05/0.6268, allocations: 47.97 kB / 0.6496 GB, free: 10.54 MB / 494.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000445/0.6272, allocations: 267.8 kB / 0.6498 GB, free: 10.23 MB / 494.1 MB Notification: Performance of preOpt comSubExp (simulation): time 9.218e-05/0.6273, allocations: 34.56 kB / 0.6498 GB, free: 10.19 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.588e-05/0.6273, allocations: 12.92 kB / 0.6499 GB, free: 10.18 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 9.749e-05/0.6274, allocations: 11.98 kB / 0.6499 GB, free: 10.16 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.672e-05/0.6274, allocations: 30.66 kB / 0.6499 GB, free: 10.12 MB / 494.1 MB Notification: Performance of pre-optimization done (n=3): time 1.072e-06/0.6274, allocations: 3.938 kB / 0.6499 GB, free: 10.12 MB / 494.1 MB Notification: Performance of matching and sorting (n=3): time 0.0001776/0.6276, allocations: 57.62 kB / 0.65 GB, free: 10.06 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.028e-05/0.6277, allocations: 51.41 kB / 0.65 GB, free: 9.996 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.555e-05/0.6277, allocations: 97.84 kB / 0.6501 GB, free: 9.891 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 1.642e-05/0.6278, allocations: 33.7 kB / 0.6501 GB, free: 9.852 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.816e-05/0.6278, allocations: 95.98 kB / 0.6502 GB, free: 9.754 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.209e-05/0.6278, allocations: 15.64 kB / 0.6502 GB, free: 9.742 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.089e-05/0.6279, allocations: 21.72 kB / 0.6503 GB, free: 9.715 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001347/0.628, allocations: 314.8 kB / 0.6506 GB, free: 9.398 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.147e-05/0.628, allocations: 7.984 kB / 0.6506 GB, free: 9.391 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.976e-05/0.6281, allocations: 31.44 kB / 0.6506 GB, free: 9.348 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.892e-05/0.6281, allocations: 47.36 kB / 0.6506 GB, free: 9.289 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.603e-06/0.6281, allocations: 4 kB / 0.6506 GB, free: 9.285 MB / 494.1 MB Notification: Performance of matching and sorting (n=6) (initialization): time 0.0001085/0.6283, allocations: 69.56 kB / 0.6507 GB, free: 9.211 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.487e-05/0.6283, allocations: 7.938 kB / 0.6507 GB, free: 9.203 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.358e-06/0.6283, allocations: 4 kB / 0.6507 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.255e-05/0.6283, allocations: 0 / 0.6507 GB, free: 9.199 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.15e-05/0.6284, allocations: 11.98 kB / 0.6507 GB, free: 9.188 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.434e-06/0.6284, allocations: 4 kB / 0.6507 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.804e-05/0.6284, allocations: 0 / 0.6507 GB, free: 9.184 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.644e-05/0.6284, allocations: 9.688 kB / 0.6507 GB, free: 9.176 MB / 494.1 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 (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.311e-05/0.6285, allocations: 121.8 kB / 0.6509 GB, free: 9.047 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.85e-05/0.6285, allocations: 7.891 kB / 0.6509 GB, free: 9.039 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001359/0.6287, allocations: 67.28 kB / 0.6509 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.004e-06/0.6287, allocations: 0 / 0.6509 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.907e-06/0.6287, allocations: 0 / 0.6509 GB, free: 8.973 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.32e-06/0.6287, allocations: 4.031 kB / 0.6509 GB, free: 8.969 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001635/0.6288, allocations: 128.8 kB / 0.6511 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.002e-06/0.6288, allocations: 0 / 0.6511 GB, free: 8.801 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.637e-05/0.6289, allocations: 4 kB / 0.6511 GB, free: 8.797 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.31e-06/0.6289, allocations: 11.94 kB / 0.6511 GB, free: 8.785 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.834e-06/0.6289, allocations: 3.984 kB / 0.6511 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.172e-06/0.6289, allocations: 0 / 0.6511 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.01e-07/0.6289, allocations: 0 / 0.6511 GB, free: 8.781 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001246/0.629, allocations: 144.7 kB / 0.6512 GB, free: 8.625 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 1.084e-05/0.629, allocations: 4 kB / 0.6512 GB, free: 8.621 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.491e-05/0.629, allocations: 3.938 kB / 0.6512 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.584e-05/0.6291, allocations: 0 / 0.6512 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.146e-05/0.6291, allocations: 0 / 0.6512 GB, free: 8.617 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 9.368e-06/0.6291, allocations: 8 kB / 0.6512 GB, free: 8.609 MB / 494.1 MB Notification: Performance of sorting global known variables: time 4.554e-05/0.6291, allocations: 83.27 kB / 0.6513 GB, free: 8.527 MB / 494.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6291, allocations: 4.938 kB / 0.6513 GB, free: 8.523 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004365/0.6296, allocations: 95.62 kB / 0.6514 GB, free: 8.43 MB / 494.1 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 (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.0009371/0.6305, allocations: 0.8252 MB / 0.6522 GB, free: 7.578 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0001043/0.6306, allocations: 27.92 kB / 0.6522 GB, free: 7.551 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 1.623e-06/0.6306, allocations: 0 / 0.6522 GB, free: 7.551 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 1.719e-05/0.6306, allocations: 7.938 kB / 0.6522 GB, free: 7.543 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002697/0.6309, allocations: 11.92 kB / 0.6523 GB, free: 7.531 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005345/0.6314, allocations: 217.7 kB / 0.6525 GB, free: 7.281 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.801e-05/0.6315, allocations: 67.33 kB / 0.6525 GB, free: 7.195 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 5.487e-05/0.6316, allocations: 9.172 kB / 0.6525 GB, free: 7.188 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.38e-05/0.6316, allocations: 15.44 kB / 0.6526 GB, free: 7.172 MB / 494.1 MB Notification: Performance of SimCode: time 4.41e-07/0.6316, allocations: 0 / 0.6526 GB, free: 7.172 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02421/0.6558, allocations: 4.017 MB / 0.6565 GB, free: 3.16 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.44/12.09, allocations: 0 / 0.6565 GB, free: 3.16 MB / 494.1 MB " [Timeout remaining time 648] (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: 15.16025295900181]