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.00112/0.00112, allocations: 79.59 kB / 21.18 MB, free: 3.387 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.001216/0.001216, allocations: 161 kB / 24.55 MB, free: 20 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.027/1.027, allocations: 177.1 MB / 205 MB, free: 5.637 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.2872/0.2872, allocations: 32.81 MB / 294.3 MB, free: 1.285 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 1.613e-06/1.613e-06, allocations: 0 / 376.1 MB, free: 4.641 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.399e-05/2.561e-05, allocations: 2.312 kB / 376.1 MB, free: 4.637 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceMoistAir): time 0.02189/0.02191, allocations: 24.14 MB / 400.2 MB, free: 12.41 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.009105/0.03102, allocations: 9.253 MB / 409.4 MB, free: 3.125 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001299/0.03115, allocations: 4 kB / 409.4 MB, free: 3.121 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004158/0.03156, allocations: 75.58 kB / 409.5 MB, free: 3.047 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01846/0.05003, allocations: 8.717 MB / 418.2 MB, free: 10.3 MB / 394.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007056/0.05073, allocations: 354.9 kB / 418.6 MB, free: 9.949 MB / 394.7 MB Notification: Performance of NFFlatten.flatten: time 0.0006154/0.05135, allocations: 0.5139 MB / 419.1 MB, free: 9.434 MB / 394.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.212e-05/0.0514, allocations: 12.59 kB / 419.1 MB, free: 9.422 MB / 394.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002913/0.05169, allocations: 263.4 kB / 419.4 MB, free: 9.164 MB / 394.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00801/0.0597, allocations: 6.03 MB / 425.4 MB, free: 3.129 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 4.309e-05/0.05974, allocations: 12 kB / 425.4 MB, free: 3.117 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01924/0.07899, allocations: 11.15 MB / 436.6 MB, free: 7.945 MB / 410.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001329/0.07912, allocations: 91.7 kB / 436.7 MB, free: 7.855 MB / 410.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001798/0.0793, allocations: 107.8 kB / 436.8 MB, free: 7.75 MB / 410.7 MB Notification: Performance of NFConvertDAE.convert: time 0.01574/0.09504, allocations: 7.525 MB / 444.3 MB, free: 212 kB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.25e-06/0.09504, allocations: 0 / 444.3 MB, free: 212 kB / 410.7 MB Notification: Performance of FrontEnd: time 2.245e-06/0.09505, allocations: 0 / 444.3 MB, free: 212 kB / 410.7 MB Notification: Performance of Transformations before backend: time 6.903e-06/0.09505, allocations: 0 / 444.3 MB, free: 212 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.2063/0.3013, allocations: 1.524 MB / 445.8 MB, free: 66.98 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.777e-05/0.3014, allocations: 12.19 kB / 445.8 MB, free: 66.98 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002715/0.3016, allocations: 65.59 kB / 445.9 MB, free: 66.96 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003888/0.302, allocations: 189.9 kB / 446.1 MB, free: 66.82 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.318e-05/0.3021, allocations: 19.88 kB / 446.1 MB, free: 66.82 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.141e-05/0.3021, allocations: 30 kB / 446.1 MB, free: 66.82 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005983/0.3027, allocations: 469.8 kB / 446.6 MB, free: 66.56 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.524e-05/0.3027, allocations: 0 / 446.6 MB, free: 66.56 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.237e-05/0.3027, allocations: 12.95 kB / 446.6 MB, free: 66.56 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.419e-05/0.3028, allocations: 26.08 kB / 446.6 MB, free: 66.56 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005046/0.3033, allocations: 0.4931 MB / 447.1 MB, free: 66.56 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001341/0.3046, allocations: 1.816 MB / 448.9 MB, free: 65.32 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005547/0.3052, allocations: 255.2 kB / 449.2 MB, free: 65.28 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.333e-05/0.3053, allocations: 74.02 kB / 449.2 MB, free: 65.27 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.00668/0.312, allocations: 3.681 MB / 452.9 MB, free: 64.86 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0003263/0.3123, allocations: 289.3 kB / 453.2 MB, free: 64.67 MB / 410.7 MB Notification: Performance of pre-optimization done (n=34): time 2.495e-06/0.3123, allocations: 0 / 453.2 MB, free: 64.67 MB / 410.7 MB Notification: Performance of matching and sorting (n=36): time 0.001574/0.3139, allocations: 0.7771 MB / 454 MB, free: 64.35 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.336e-05/0.3139, allocations: 266.8 kB / 454.2 MB, free: 64.04 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001734/0.3141, allocations: 287.2 kB / 454.5 MB, free: 63.84 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.427e-05/0.3141, allocations: 29.52 kB / 454.6 MB, free: 63.81 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 7.662e-05/0.3142, allocations: 254.9 kB / 454.8 MB, free: 63.6 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.387e-05/0.3143, allocations: 133.6 kB / 454.9 MB, free: 63.52 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.994e-05/0.3144, allocations: 131.1 kB / 455.1 MB, free: 63.49 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 7.307e-05/0.3144, allocations: 0.5063 MB / 455.6 MB, free: 63 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.082e-05/0.3145, allocations: 67.95 kB / 455.6 MB, free: 63 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002606/0.3148, allocations: 465 kB / 456.1 MB, free: 62.5 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004883/0.3153, allocations: 0.5789 MB / 456.7 MB, free: 61.99 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.32e-06/0.3153, allocations: 0 / 456.7 MB, free: 61.99 MB / 410.7 MB Notification: Performance of matching and sorting (n=67) (initialization): time 0.0007923/0.3161, allocations: 0.4887 MB / 457.2 MB, free: 61.93 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.974e-05/0.3161, allocations: 13.91 kB / 457.2 MB, free: 61.93 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.396e-05/0.3161, allocations: 13.62 kB / 457.2 MB, free: 61.92 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.465e-05/0.3162, allocations: 12.78 kB / 457.2 MB, free: 61.92 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004182/0.3166, allocations: 180.5 kB / 457.4 MB, free: 61.92 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000491/0.3171, allocations: 1.808 MB / 459.2 MB, free: 60.12 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001975/0.3173, allocations: 25.03 kB / 459.2 MB, free: 60.12 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.244e-05/0.3173, allocations: 46.47 kB / 459.3 MB, free: 60.12 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.0001275/0.3174, allocations: 203 kB / 459.4 MB, free: 59.95 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001417/0.3176, allocations: 60.94 kB / 459.5 MB, free: 59.93 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0006149/0.3182, allocations: 493.2 kB / 460 MB, free: 59.7 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.793e-06/0.3182, allocations: 3.094 kB / 460 MB, free: 59.7 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.75e-06/0.3182, allocations: 3.938 kB / 460 MB, free: 59.7 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.3182, allocations: 0 / 460 MB, free: 59.7 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006382/0.3189, allocations: 0.5738 MB / 460.6 MB, free: 59.36 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.618e-06/0.3189, allocations: 7.188 kB / 460.6 MB, free: 59.35 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002305/0.3191, allocations: 85.36 kB / 460.7 MB, free: 59.35 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.322e-06/0.3191, allocations: 2.969 kB / 460.7 MB, free: 59.35 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.647e-05/0.3191, allocations: 12.8 kB / 460.7 MB, free: 59.35 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00033/0.3194, allocations: 1.788 MB / 462.5 MB, free: 57.55 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.893e-06/0.3194, allocations: 3.656 kB / 462.5 MB, free: 57.55 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003975/0.3198, allocations: 385.8 kB / 462.8 MB, free: 57.28 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.651e-05/0.3199, allocations: 28.09 kB / 462.9 MB, free: 57.26 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.457e-05/0.3199, allocations: 14.84 kB / 462.9 MB, free: 57.25 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000114/0.32, allocations: 15.34 kB / 462.9 MB, free: 57.25 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.398e-05/0.3201, allocations: 26.39 kB / 462.9 MB, free: 57.25 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.254e-05/0.3201, allocations: 9.719 kB / 462.9 MB, free: 57.25 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001007/0.3202, allocations: 200.5 kB / 463.1 MB, free: 57.13 MB / 410.7 MB Notification: Performance of sort global known variables: time 5.1e-08/0.3202, allocations: 0 / 463.1 MB, free: 57.13 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.004099/0.3243, allocations: 1.641 MB / 464.8 MB, free: 56.86 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.007507/0.3318, allocations: 2.446 MB / 467.2 MB, free: 56.43 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.001131/0.3329, allocations: 299.2 kB / 467.5 MB, free: 56.42 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 7.213e-06/0.3329, allocations: 4.062 kB / 467.5 MB, free: 56.41 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003336/0.3333, allocations: 124.1 kB / 467.6 MB, free: 56.4 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007039/0.334, allocations: 127.8 kB / 467.8 MB, free: 56.39 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.151/0.4849, allocations: 141.8 MB / 0.5953 GB, free: 4.977 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 8.28e-05/0.485, allocations: 88.19 kB / 0.5954 GB, free: 4.871 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004418/0.4855, allocations: 134.2 kB / 0.5955 GB, free: 4.75 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001277/0.4856, allocations: 52.48 kB / 0.5956 GB, free: 4.699 MB / 458.7 MB Notification: Performance of SimCode: time 2.695e-06/0.4856, allocations: 0 / 0.5956 GB, free: 4.699 MB / 458.7 MB Notification: Performance of Templates: time 0.2329/0.7185, allocations: 46.48 MB / 0.6409 GB, free: 105.3 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.894874664954841]