Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.000927/0.000927, allocations: 80.34 kB / 20.67 MB, free: 3.891 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0008899/0.0008899, allocations: 156.9 kB / 23.94 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 0.8924/0.8924, allocations: 177 MB / 204.1 MB, free: 5.723 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2455/0.2455, allocations: 34.24 MB / 294.8 MB, free: 0.707 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.MoistAir,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.134e-06/2.134e-06, allocations: 3.938 kB / 442.1 MB, free: 1.59 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.796e-05/3.01e-05, allocations: 2.281 kB / 442.1 MB, free: 1.586 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MoistAir): time 0.2855/0.2856, allocations: 132.8 MB / 0.5615 GB, free: 11.71 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.001202/0.2868, allocations: 1.301 MB / 0.5628 GB, free: 10.41 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 3.975e-05/0.2868, allocations: 3.938 kB / 0.5628 GB, free: 10.4 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000319/0.2871, allocations: 35.83 kB / 0.5628 GB, free: 10.37 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002122/0.2893, allocations: 1.089 MB / 0.5639 GB, free: 9.273 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 5.62e-06/0.2893, allocations: 0 / 0.5639 GB, free: 9.273 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001127/0.2894, allocations: 79.56 kB / 0.5639 GB, free: 9.195 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.759e-05/0.2894, allocations: 0 / 0.5639 GB, free: 9.195 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 5.082e-05/0.2895, allocations: 43.77 kB / 0.564 GB, free: 9.152 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 5.564e-05/0.2895, allocations: 23.97 kB / 0.564 GB, free: 9.129 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.147e-05/0.2895, allocations: 7.938 kB / 0.564 GB, free: 9.121 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001876/0.2914, allocations: 1.618 MB / 0.5656 GB, free: 7.5 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.339e-05/0.2915, allocations: 19.92 kB / 0.5656 GB, free: 7.48 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 3.001e-05/0.2915, allocations: 15.94 kB / 0.5656 GB, free: 7.465 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.001179/0.2927, allocations: 1.033 MB / 0.5666 GB, free: 6.43 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.2927, allocations: 0 / 0.5666 GB, free: 6.43 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.493e-06/0.2927, allocations: 0 / 0.5666 GB, free: 6.43 MB / 474.7 MB Notification: Performance of Transformations before backend: time 7.163e-06/0.2927, allocations: 0 / 0.5666 GB, free: 6.43 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: 12 * Number of variables: 12 Notification: Performance of Generate backend data structure: time 0.0006748/0.2934, allocations: 437.2 kB / 0.567 GB, free: 5.977 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.26e-05/0.2934, allocations: 12.03 kB / 0.5671 GB, free: 5.965 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.067e-05/0.2934, allocations: 34.75 kB / 0.5671 GB, free: 5.922 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.862e-05/0.2935, allocations: 8.891 kB / 0.5671 GB, free: 5.914 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 8.386e-05/0.2935, allocations: 125.4 kB / 0.5672 GB, free: 5.766 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.2935, allocations: 3.094 kB / 0.5672 GB, free: 5.766 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.084e-05/0.2936, allocations: 8 kB / 0.5672 GB, free: 5.758 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001405/0.2937, allocations: 81.66 kB / 0.5673 GB, free: 5.672 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.225e-06/0.2937, allocations: 0 / 0.5673 GB, free: 5.672 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.005e-06/0.2937, allocations: 0 / 0.5673 GB, free: 5.672 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.755e-05/0.2937, allocations: 11.98 kB / 0.5673 GB, free: 5.66 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.673e-05/0.2938, allocations: 63.97 kB / 0.5674 GB, free: 5.598 MB / 474.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003923/0.2942, allocations: 287.7 kB / 0.5677 GB, free: 5.273 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 6.738e-05/0.2943, allocations: 34.56 kB / 0.5677 GB, free: 5.23 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.56e-05/0.2943, allocations: 20.97 kB / 0.5677 GB, free: 5.207 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001152/0.2944, allocations: 23.98 kB / 0.5677 GB, free: 5.184 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.99e-05/0.2944, allocations: 34.56 kB / 0.5678 GB, free: 5.141 MB / 474.7 MB Notification: Performance of pre-optimization done (n=5): time 1.222e-06/0.2944, allocations: 4 kB / 0.5678 GB, free: 5.137 MB / 474.7 MB Notification: Performance of matching and sorting (n=5): time 0.0001691/0.2946, allocations: 77.5 kB / 0.5678 GB, free: 5.055 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.767e-05/0.2946, allocations: 51.41 kB / 0.5679 GB, free: 4.992 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 6.018e-05/0.2947, allocations: 108.5 kB / 0.568 GB, free: 4.879 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 9.888e-06/0.2947, allocations: 25.7 kB / 0.568 GB, free: 4.848 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.033e-05/0.2947, allocations: 100 kB / 0.5681 GB, free: 4.746 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 9.768e-06/0.2948, allocations: 11.84 kB / 0.5681 GB, free: 4.734 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.873e-05/0.2948, allocations: 29.66 kB / 0.5682 GB, free: 4.699 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 7.245e-05/0.2949, allocations: 326.8 kB / 0.5685 GB, free: 4.371 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.764e-05/0.2949, allocations: 7.984 kB / 0.5685 GB, free: 4.363 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.299e-05/0.2949, allocations: 39.42 kB / 0.5685 GB, free: 4.312 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.553e-05/0.295, allocations: 59.36 kB / 0.5686 GB, free: 4.242 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.295, allocations: 0 / 0.5686 GB, free: 4.242 MB / 474.7 MB Notification: Performance of matching and sorting (n=8) (initialization): time 8.83e-05/0.2951, allocations: 81.55 kB / 0.5686 GB, free: 4.156 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.327e-05/0.2951, allocations: 9.969 kB / 0.5687 GB, free: 4.148 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.472e-06/0.2951, allocations: 7.938 kB / 0.5687 GB, free: 4.141 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.049e-05/0.2951, allocations: 0 / 0.5687 GB, free: 4.141 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.022e-05/0.2952, allocations: 15.98 kB / 0.5687 GB, free: 4.125 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.699e-06/0.2952, allocations: 0 / 0.5687 GB, free: 4.125 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 2.226e-05/0.2952, allocations: 12.73 kB / 0.5687 GB, free: 4.113 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.179e-05/0.2952, allocations: 4 kB / 0.5687 GB, free: 4.109 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 (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 5.385e-05/0.2952, allocations: 109.8 kB / 0.5688 GB, free: 3.992 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.357e-05/0.2953, allocations: 7.891 kB / 0.5688 GB, free: 3.984 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001245/0.2954, allocations: 86.98 kB / 0.5689 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.949e-06/0.2954, allocations: 0 / 0.5689 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.817e-06/0.2954, allocations: 112 / 0.5689 GB, free: 3.898 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.785e-06/0.2954, allocations: 9.531 kB / 0.5689 GB, free: 3.891 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001255/0.2955, allocations: 140.7 kB / 0.569 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.403e-06/0.2955, allocations: 0 / 0.569 GB, free: 3.711 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.162e-05/0.2956, allocations: 8 kB / 0.569 GB, free: 3.703 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.493e-06/0.2956, allocations: 0 / 0.569 GB, free: 3.703 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.502e-06/0.2956, allocations: 3.938 kB / 0.569 GB, free: 3.699 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.012e-06/0.2956, allocations: 8 kB / 0.569 GB, free: 3.691 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.91e-07/0.2956, allocations: 0 / 0.569 GB, free: 3.691 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.887e-05/0.2956, allocations: 158.7 kB / 0.5692 GB, free: 3.523 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.634e-06/0.2957, allocations: 7.984 kB / 0.5692 GB, free: 3.516 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.135e-05/0.2957, allocations: 7.938 kB / 0.5692 GB, free: 3.508 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 2.619e-05/0.2957, allocations: 0 / 0.5692 GB, free: 3.508 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.409e-05/0.2957, allocations: 4 kB / 0.5692 GB, free: 3.504 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.548e-06/0.2957, allocations: 0 / 0.5692 GB, free: 3.504 MB / 474.7 MB Notification: Performance of sorting global known variables: time 3.133e-05/0.2957, allocations: 87.27 kB / 0.5693 GB, free: 3.418 MB / 474.7 MB Notification: Performance of sort global known variables: time 5e-08/0.2957, allocations: 0 / 0.5693 GB, free: 3.418 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0003738/0.2961, allocations: 155.5 kB / 0.5695 GB, free: 3.266 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 (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.0007606/0.2969, allocations: 0.9359 MB / 0.5704 GB, free: 2.305 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 9.702e-05/0.297, allocations: 39.92 kB / 0.5704 GB, free: 2.266 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.243e-06/0.297, allocations: 0 / 0.5704 GB, free: 2.266 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 1.506e-05/0.297, allocations: 15.92 kB / 0.5704 GB, free: 2.25 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002127/0.2972, allocations: 12.19 kB / 0.5704 GB, free: 2.238 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004763/0.2977, allocations: 255.3 kB / 0.5707 GB, free: 1.957 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 4.987e-05/0.2977, allocations: 67.34 kB / 0.5707 GB, free: 1.871 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 4.953e-05/0.2978, allocations: 24.22 kB / 0.5708 GB, free: 1.852 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.804e-05/0.2978, allocations: 16.5 kB / 0.5708 GB, free: 1.84 MB / 474.7 MB Notification: Performance of SimCode: time 5.31e-07/0.2978, allocations: 0 / 0.5708 GB, free: 1.84 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01877/0.3166, allocations: 5.727 MB / 0.5764 GB, free: 12.25 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 6.913/7.229, allocations: 4.938 kB / 0.5764 GB, free: 12.24 MB / 490.7 MB " [Timeout remaining time 653] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Media_TestOnly_MoistAir.fmu > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MoistAir/MoistAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_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: 9.181338543072343]