Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.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.0009673/0.0009673, allocations: 78.66 kB / 21.42 MB, free: 3.078 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.00131/0.00131, allocations: 172.1 kB / 24.82 MB, free: 9.305 MB / 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.07/1.07, allocations: 177.1 MB / 205.3 MB, free: 5.496 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.3555/0.3555, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 179] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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.ReferenceAir_dT,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|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") translateModel(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT,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|beta|beta2|kappa|kappa2|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 5.59e-06/5.59e-06, allocations: 3.984 kB / 378.5 MB, free: 2.348 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.706e-05/4.265e-05, allocations: 2.312 kB / 378.5 MB, free: 2.344 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01212/0.01216, allocations: 11.17 MB / 389.7 MB, free: 7.125 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.01022/0.02238, allocations: 11.58 MB / 401.3 MB, free: 11.5 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002229/0.0226, allocations: 4 kB / 401.3 MB, free: 11.5 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003744/0.02297, allocations: 75.45 kB / 401.4 MB, free: 11.42 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 0.01017/0.03315, allocations: 3.212 MB / 404.6 MB, free: 8.191 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004103/0.03356, allocations: 155.7 kB / 404.7 MB, free: 8.039 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 0.005016/0.03857, allocations: 4.076 MB / 408.8 MB, free: 3.957 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 7.953e-05/0.03865, allocations: 16.58 kB / 408.8 MB, free: 3.938 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002862/0.03894, allocations: 203.5 kB / 409 MB, free: 3.738 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.007334/0.04627, allocations: 7.395 MB / 416.4 MB, free: 12.34 MB / 394.7 MB Notification: Performance of NFPackage.collectConstants: time 9.394e-05/0.04637, allocations: 11.94 kB / 416.4 MB, free: 12.32 MB / 394.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.005715/0.05208, allocations: 2.021 MB / 418.5 MB, free: 10.3 MB / 394.7 MB Notification: Performance of NFScalarize.scalarize: time 0.000126/0.05221, allocations: 43.83 kB / 418.5 MB, free: 10.26 MB / 394.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002391/0.05245, allocations: 91.78 kB / 418.6 MB, free: 10.17 MB / 394.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006783/0.05923, allocations: 1.761 MB / 420.4 MB, free: 8.402 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 9.618e-06/0.05924, allocations: 0 / 420.4 MB, free: 8.402 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.973e-06/0.05924, allocations: 0 / 420.4 MB, free: 8.402 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.743e-06/0.05925, allocations: 0 / 420.4 MB, free: 8.402 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 67 * Number of variables: 67 Notification: Performance of Generate backend data structure: time 0.002044/0.06129, allocations: 0.9696 MB / 421.3 MB, free: 7.395 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.473e-05/0.06136, allocations: 8.031 kB / 421.3 MB, free: 7.387 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005068/0.06186, allocations: 152.3 kB / 421.5 MB, free: 7.238 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003095/0.06217, allocations: 200.1 kB / 421.7 MB, free: 7.016 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.16e-05/0.06219, allocations: 17.03 kB / 421.7 MB, free: 7 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.575e-05/0.06223, allocations: 32.38 kB / 421.7 MB, free: 6.969 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0006364/0.06287, allocations: 443.9 kB / 422.2 MB, free: 6.477 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.06288, allocations: 4.188 kB / 422.2 MB, free: 6.473 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.628e-05/0.06291, allocations: 16.12 kB / 422.2 MB, free: 6.457 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.746e-06/0.06291, allocations: 4 kB / 422.2 MB, free: 6.453 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005271/0.06344, allocations: 408.9 kB / 422.6 MB, free: 6.059 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003984/0.06743, allocations: 2.799 MB / 425.4 MB, free: 3.184 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004245/0.06785, allocations: 187.7 kB / 425.6 MB, free: 2.988 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.117e-05/0.06791, allocations: 64.16 kB / 425.6 MB, free: 2.922 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.3079/0.3758, allocations: 19.94 MB / 445.6 MB, free: 86.33 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0006275/0.3765, allocations: 382.8 kB / 445.9 MB, free: 86.08 MB / 410.7 MB Notification: Performance of pre-optimization done (n=35): time 4.068e-06/0.3765, allocations: 0 / 445.9 MB, free: 86.08 MB / 410.7 MB Notification: Performance of matching and sorting (n=37): time 0.002034/0.3785, allocations: 0.7108 MB / 446.7 MB, free: 86.02 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001171/0.3786, allocations: 485.7 kB / 447.1 MB, free: 85.46 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001424/0.3788, allocations: 228.1 kB / 447.3 MB, free: 85.29 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.641e-05/0.3788, allocations: 32.48 kB / 447.4 MB, free: 85.26 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 9.37e-05/0.3789, allocations: 214.4 kB / 447.6 MB, free: 85.08 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.795e-05/0.379, allocations: 142.2 kB / 447.7 MB, free: 85.01 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000104/0.3791, allocations: 102.5 kB / 447.8 MB, free: 84.98 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001083/0.3792, allocations: 0.5106 MB / 448.3 MB, free: 84.49 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.378e-05/0.3792, allocations: 45.53 kB / 448.4 MB, free: 84.49 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001965/0.3794, allocations: 400.8 kB / 448.8 MB, free: 84.04 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003472/0.3798, allocations: 0.503 MB / 449.3 MB, free: 83.6 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.437e-06/0.3798, allocations: 0 / 449.3 MB, free: 83.6 MB / 410.7 MB Notification: Performance of matching and sorting (n=56) (initialization): time 0.0005613/0.3803, allocations: 430.1 kB / 449.7 MB, free: 83.54 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.064e-05/0.3804, allocations: 9.25 kB / 449.7 MB, free: 83.54 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.565e-05/0.3804, allocations: 9.594 kB / 449.7 MB, free: 83.54 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001142/0.3815, allocations: 331.4 kB / 450 MB, free: 83.51 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000204/0.3817, allocations: 103.8 kB / 450.1 MB, free: 83.51 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003706/0.3821, allocations: 0.9289 MB / 451.1 MB, free: 82.61 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001732/0.3823, allocations: 17.84 kB / 451.1 MB, free: 82.61 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.83e-05/0.3823, allocations: 28.53 kB / 451.1 MB, free: 82.61 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 38 * 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 (54): * Single equations (assignments): 52 * 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001516/0.3825, allocations: 202.5 kB / 451.3 MB, free: 82.45 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.931e-05/0.3825, allocations: 41.3 kB / 451.4 MB, free: 82.43 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009009/0.3834, allocations: 0.8037 MB / 452.2 MB, free: 82.16 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.345e-05/0.3834, allocations: 9.156 kB / 452.2 MB, free: 82.16 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.563e-06/0.3835, allocations: 2.875 kB / 452.2 MB, free: 82.16 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.839e-06/0.3835, allocations: 3.422 kB / 452.2 MB, free: 82.16 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009802/0.3844, allocations: 0.9013 MB / 453.1 MB, free: 81.8 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.858e-06/0.3845, allocations: 6.531 kB / 453.1 MB, free: 81.8 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.564e-05/0.3846, allocations: 40.92 kB / 453.1 MB, free: 81.8 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0006627/0.3852, allocations: 218.8 kB / 453.3 MB, free: 81.77 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.839e-05/0.3852, allocations: 10.19 kB / 453.3 MB, free: 81.77 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.000272/0.3855, allocations: 0.9092 MB / 454.3 MB, free: 80.87 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.788e-06/0.3855, allocations: 2.875 kB / 454.3 MB, free: 80.87 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004799/0.386, allocations: 0.5597 MB / 454.8 MB, free: 80.5 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.305e-05/0.386, allocations: 27.72 kB / 454.8 MB, free: 80.49 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.39e-05/0.3861, allocations: 52.34 kB / 454.9 MB, free: 80.48 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00013/0.3862, allocations: 15 kB / 454.9 MB, free: 80.48 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.718e-05/0.3862, allocations: 35.45 kB / 454.9 MB, free: 80.47 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.9e-05/0.3863, allocations: 16.11 kB / 455 MB, free: 80.47 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001698/0.3864, allocations: 289.5 kB / 455.2 MB, free: 80.34 MB / 410.7 MB Notification: Performance of sort global known variables: time 5e-08/0.3864, allocations: 0 / 455.2 MB, free: 80.34 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.00133/0.3878, allocations: 445.8 kB / 455.7 MB, free: 80.34 MB / 410.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 11 * 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 (27): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * 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): 1 system {(2,100.0%)} * Non-linear Jacobian (size): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001164/0.3889, allocations: 0.7265 MB / 456.4 MB, free: 80.16 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005221/0.3894, allocations: 306.7 kB / 456.7 MB, free: 80.11 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 4.188e-06/0.3895, allocations: 0 / 456.7 MB, free: 80.11 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0001553/0.3896, allocations: 160.8 kB / 456.9 MB, free: 80.07 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005253/0.3901, allocations: 161.9 kB / 457 MB, free: 80.04 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.9529/1.343, allocations: 0.494 GB / 0.9403 GB, free: 5.801 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001103/1.343, allocations: 109.8 kB / 0.9404 GB, free: 5.672 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0004002/1.344, allocations: 167.3 kB / 0.9406 GB, free: 5.543 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001957/1.344, allocations: 166.1 kB / 0.9408 GB, free: 5.387 MB / 458.7 MB Notification: Performance of SimCode: time 1.473e-06/1.344, allocations: 0 / 0.9408 GB, free: 5.387 MB / 458.7 MB Notification: Performance of Templates: time 0.2442/1.588, allocations: 18.87 MB / 0.9592 GB, free: 131.1 MB / 458.7 MB " [Timeout remaining time 658] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestAllProperties/IncompleteMedia/ReferenceAir_dT/ReferenceAir_dT.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: 6.039388761855662]