Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.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.00115/0.00115, allocations: 83.59 kB / 21.18 MB, free: 3.383 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.001354/0.001354, allocations: 165 kB / 24.56 MB, free: 16 kB / 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 1.008/1.008, allocations: 177.1 MB / 205 MB, free: 5.617 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.2898/0.2898, allocations: 32.81 MB / 294.3 MB, free: 1.195 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: translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|eps_h_is|eps|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 2.594e-06/2.594e-06, allocations: 0 / 376.1 MB, free: 4.609 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.459e-05/3.718e-05, allocations: 5.406 kB / 376.1 MB, free: 4.605 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.0313/0.03134, allocations: 24.13 MB / 400.2 MB, free: 12.38 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.007838/0.03917, allocations: 9.25 MB / 409.4 MB, free: 3.102 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.796e-05/0.03924, allocations: 3.938 kB / 409.4 MB, free: 3.098 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.000373/0.03961, allocations: 83.56 kB / 409.5 MB, free: 3.016 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01752/0.05714, allocations: 8.714 MB / 418.2 MB, free: 10.27 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007013/0.05784, allocations: 358.9 kB / 418.6 MB, free: 9.914 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005696/0.05841, allocations: 0.5061 MB / 419.1 MB, free: 9.406 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.039e-05/0.05846, allocations: 12.59 kB / 419.1 MB, free: 9.395 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000281/0.05874, allocations: 259.4 kB / 419.4 MB, free: 9.141 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007958/0.0667, allocations: 6.046 MB / 425.4 MB, free: 3.09 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.78e-05/0.06675, allocations: 12 kB / 425.4 MB, free: 3.078 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01876/0.0855, allocations: 11.16 MB / 436.6 MB, free: 7.902 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001125/0.08561, allocations: 99.69 kB / 436.7 MB, free: 7.805 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001494/0.08576, allocations: 107.8 kB / 436.8 MB, free: 7.699 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0133/0.09906, allocations: 7.514 MB / 444.3 MB, free: 172 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.878e-06/0.09906, allocations: 3.938 kB / 444.3 MB, free: 168 kB / 410.7 MB Notification: Performance of FrontEnd: time 1.673e-06/0.09907, allocations: 0 / 444.3 MB, free: 168 kB / 410.7 MB Notification: Performance of Transformations before backend: time 5.771e-06/0.09907, allocations: 0 / 444.3 MB, free: 168 kB / 410.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 73 * Number of variables: 73 Notification: Performance of Generate backend data structure: time 0.1915/0.2906, allocations: 1.535 MB / 445.8 MB, free: 67.07 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.599e-05/0.2906, allocations: 9.156 kB / 445.8 MB, free: 67.07 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002373/0.2909, allocations: 61.06 kB / 445.9 MB, free: 67.05 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002492/0.2911, allocations: 190.6 kB / 446.1 MB, free: 66.91 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.289e-05/0.2911, allocations: 21.19 kB / 446.1 MB, free: 66.91 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.804e-05/0.2912, allocations: 29.28 kB / 446.1 MB, free: 66.91 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005039/0.2917, allocations: 470.8 kB / 446.6 MB, free: 66.65 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.222e-05/0.2917, allocations: 0.7188 kB / 446.6 MB, free: 66.65 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.918e-05/0.2917, allocations: 14.31 kB / 446.6 MB, free: 66.65 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.288e-05/0.2918, allocations: 25.23 kB / 446.6 MB, free: 66.65 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004534/0.2922, allocations: 499.3 kB / 447.1 MB, free: 66.64 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001213/0.2934, allocations: 1.827 MB / 449 MB, free: 65.4 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004859/0.2939, allocations: 250.3 kB / 449.2 MB, free: 65.37 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.27e-05/0.294, allocations: 78.19 kB / 449.3 MB, free: 65.36 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.005882/0.2999, allocations: 3.674 MB / 452.9 MB, free: 64.94 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002823/0.3002, allocations: 284.9 kB / 453.2 MB, free: 64.75 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 1.773e-06/0.3002, allocations: 0 / 453.2 MB, free: 64.75 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001332/0.3015, allocations: 0.7702 MB / 454 MB, free: 64.43 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.789e-05/0.3016, allocations: 273 kB / 454.3 MB, free: 64.12 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001383/0.3017, allocations: 289.4 kB / 454.5 MB, free: 63.92 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.3017, allocations: 32.52 kB / 454.6 MB, free: 63.89 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.355e-05/0.3018, allocations: 250.6 kB / 454.8 MB, free: 63.68 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.451e-05/0.3018, allocations: 135.3 kB / 455 MB, free: 63.59 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.286e-05/0.3019, allocations: 131.9 kB / 455.1 MB, free: 63.57 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 6.731e-05/0.302, allocations: 0.5035 MB / 455.6 MB, free: 63.07 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.044e-05/0.3021, allocations: 70.84 kB / 455.7 MB, free: 63.07 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002603/0.3023, allocations: 463.5 kB / 456.1 MB, free: 62.57 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004638/0.3028, allocations: 0.5707 MB / 456.7 MB, free: 62.07 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.867e-06/0.3028, allocations: 3.062 kB / 456.7 MB, free: 62.07 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007363/0.3035, allocations: 0.4944 MB / 457.2 MB, free: 62 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3036, allocations: 10.31 kB / 457.2 MB, free: 62 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.204e-05/0.3036, allocations: 9.938 kB / 457.2 MB, free: 62 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.879e-05/0.3036, allocations: 15.84 kB / 457.2 MB, free: 62 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003412/0.3039, allocations: 197.8 kB / 457.4 MB, free: 62 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003386/0.3043, allocations: 1.802 MB / 459.2 MB, free: 60.2 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001572/0.3044, allocations: 24.14 kB / 459.2 MB, free: 60.2 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.931e-05/0.3045, allocations: 46.78 kB / 459.3 MB, free: 60.2 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (67): * Single equations (assignments): 65 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001105/0.3046, allocations: 198.5 kB / 459.5 MB, free: 60.03 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001185/0.3047, allocations: 61.28 kB / 459.5 MB, free: 60 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005421/0.3053, allocations: 497.7 kB / 460 MB, free: 59.78 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.926e-06/0.3053, allocations: 3.156 kB / 460 MB, free: 59.78 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.981e-06/0.3053, allocations: 7.062 kB / 460 MB, free: 59.77 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.937e-06/0.3053, allocations: 3.469 kB / 460 MB, free: 59.77 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005079/0.3058, allocations: 0.5724 MB / 460.6 MB, free: 59.43 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.114e-06/0.3058, allocations: 0 / 460.6 MB, free: 59.43 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002002/0.306, allocations: 84.88 kB / 460.7 MB, free: 59.43 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.202e-06/0.306, allocations: 6.188 kB / 460.7 MB, free: 59.43 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.625e-05/0.306, allocations: 13.12 kB / 460.7 MB, free: 59.43 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0003185/0.3063, allocations: 1.792 MB / 462.5 MB, free: 57.62 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.332e-06/0.3063, allocations: 0 / 462.5 MB, free: 57.62 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003432/0.3067, allocations: 386.1 kB / 462.9 MB, free: 57.35 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.171e-05/0.3067, allocations: 27.86 kB / 462.9 MB, free: 57.34 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.1e-05/0.3067, allocations: 10.53 kB / 462.9 MB, free: 57.34 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001054/0.3068, allocations: 12.73 kB / 462.9 MB, free: 57.34 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.081e-05/0.3068, allocations: 18.62 kB / 462.9 MB, free: 57.34 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.168e-05/0.3069, allocations: 24.94 kB / 463 MB, free: 57.33 MB / 410.7 MB Notification: Performance of sorting global known variables: time 8.777e-05/0.307, allocations: 196.5 kB / 463.2 MB, free: 57.21 MB / 410.7 MB Notification: Performance of sort global known variables: time 7e-08/0.307, allocations: 0 / 463.2 MB, free: 57.21 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00369/0.3106, allocations: 1.644 MB / 464.8 MB, free: 56.93 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 1 ($whenCondition1) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (24): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 2 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 2 systems {1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.004983/0.3156, allocations: 2.438 MB / 467.2 MB, free: 56.51 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005799/0.3162, allocations: 305.4 kB / 467.5 MB, free: 56.49 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.579e-06/0.3162, allocations: 4.969 kB / 467.5 MB, free: 56.49 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002093/0.3164, allocations: 122.7 kB / 467.7 MB, free: 56.48 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004141/0.3168, allocations: 127.2 kB / 467.8 MB, free: 56.46 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.1217/0.4386, allocations: 141.8 MB / 0.5953 GB, free: 4.957 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000104/0.4387, allocations: 92.19 kB / 0.5954 GB, free: 4.848 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.000478/0.4392, allocations: 134.5 kB / 0.5955 GB, free: 4.727 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001659/0.4393, allocations: 56.47 kB / 0.5956 GB, free: 4.672 MB / 458.7 MB Notification: Performance of SimCode: time 3.126e-06/0.4393, allocations: 0 / 0.5956 GB, free: 4.672 MB / 458.7 MB Notification: Performance of Templates: time 0.2367/0.676, allocations: 55.49 MB / 0.6498 GB, free: 100.5 MB / 458.7 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.makefile [Timeout 660] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceMoistAir/ReferenceMoistAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 7.905363263562322]