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.001409/0.001409, allocations: 80.8 kB / 21.49 MB, free: 2.992 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.001589/0.001589, allocations: 168.7 kB / 24.91 MB, free: 9.199 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.021/1.021, 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.2921/0.2921, allocations: 34.26 MB / 296.1 MB, free: 0.7266 MB / 266.7 MB " [Timeout remaining time 180] 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 1.954e-06/1.954e-06, allocations: 0 / 325.3 MB, free: 7.621 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.641e-05/2.836e-05, allocations: 5.578 kB / 325.3 MB, free: 7.617 MB / 298.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.IncompleteMedia.ReferenceAir_dT): time 0.01633/0.01636, allocations: 11.32 MB / 336.7 MB, free: 12.25 MB / 314.7 MB Notification: Performance of NFInst.instExpressions: time 0.01029/0.02665, allocations: 11.73 MB / 348.4 MB, free: 488 kB / 314.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.000136/0.02679, allocations: 4 kB / 348.4 MB, free: 484 kB / 314.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002651/0.02705, allocations: 79.45 kB / 348.5 MB, free: 404 kB / 314.7 MB Notification: Performance of NFTyping.typeBindings: time 0.007469/0.03452, allocations: 3.096 MB / 351.6 MB, free: 13.28 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003204/0.03484, allocations: 155.7 kB / 351.7 MB, free: 13.13 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.00329/0.03813, allocations: 4.018 MB / 355.7 MB, free: 9.105 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.667e-05/0.03819, allocations: 18.53 kB / 355.7 MB, free: 9.086 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001994/0.03839, allocations: 199.6 kB / 355.9 MB, free: 8.891 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.005018/0.0434, allocations: 7.301 MB / 363.2 MB, free: 1.582 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 4.277e-05/0.04345, allocations: 8 kB / 363.2 MB, free: 1.574 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.003816/0.04726, allocations: 2.126 MB / 365.4 MB, free: 15.45 MB / 346.7 MB Notification: Performance of NFScalarize.scalarize: time 7.696e-05/0.04734, allocations: 47.7 kB / 365.4 MB, free: 15.4 MB / 346.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001122/0.04745, allocations: 99.75 kB / 365.5 MB, free: 15.3 MB / 346.7 MB Notification: Performance of NFConvertDAE.convert: time 0.003352/0.0508, allocations: 1.746 MB / 367.3 MB, free: 13.55 MB / 346.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.519e-06/0.05081, allocations: 4 kB / 367.3 MB, free: 13.55 MB / 346.7 MB Notification: Performance of FrontEnd: time 2.044e-06/0.05081, allocations: 0 / 367.3 MB, free: 13.55 MB / 346.7 MB Notification: Performance of Transformations before backend: time 4.699e-06/0.05082, allocations: 0 / 367.3 MB, free: 13.55 MB / 346.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.00144/0.05226, allocations: 0.8566 MB / 368.1 MB, free: 12.66 MB / 346.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.456e-05/0.05229, allocations: 12.03 kB / 368.1 MB, free: 12.65 MB / 346.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004442/0.05273, allocations: 160.4 kB / 368.3 MB, free: 12.5 MB / 346.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002143/0.05295, allocations: 177.4 kB / 368.5 MB, free: 12.3 MB / 346.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.739e-05/0.05297, allocations: 21.03 kB / 368.5 MB, free: 12.28 MB / 346.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.83e-05/0.05299, allocations: 28.38 kB / 368.5 MB, free: 12.25 MB / 346.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005182/0.05351, allocations: 429.3 kB / 368.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.818e-06/0.05352, allocations: 192 / 368.9 MB, free: 11.79 MB / 346.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.324e-05/0.05355, allocations: 20.12 kB / 369 MB, free: 11.77 MB / 346.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.614e-06/0.05355, allocations: 7.984 kB / 369 MB, free: 11.76 MB / 346.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004877/0.05404, allocations: 395.7 kB / 369.3 MB, free: 11.37 MB / 346.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003789/0.05783, allocations: 2.571 MB / 371.9 MB, free: 8.742 MB / 346.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004067/0.05824, allocations: 179.2 kB / 372.1 MB, free: 8.559 MB / 346.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.443e-05/0.05829, allocations: 45.39 kB / 372.1 MB, free: 8.512 MB / 346.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.03109/0.08938, allocations: 19.69 MB / 391.8 MB, free: 4.789 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0005227/0.0899, allocations: 323.3 kB / 392.1 MB, free: 4.41 MB / 362.7 MB Notification: Performance of pre-optimization done (n=35): time 2.364e-06/0.0899, allocations: 0 / 392.1 MB, free: 4.41 MB / 362.7 MB Notification: Performance of matching and sorting (n=35): time 0.00106/0.09096, allocations: 0.5095 MB / 392.7 MB, free: 3.895 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001607/0.09112, allocations: 482.6 kB / 393.1 MB, free: 3.312 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001056/0.09123, allocations: 169.9 kB / 393.3 MB, free: 3.137 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.112e-05/0.09125, allocations: 33.7 kB / 393.3 MB, free: 3.098 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.909e-05/0.09132, allocations: 164.4 kB / 393.5 MB, free: 2.934 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.579e-05/0.09139, allocations: 130.8 kB / 393.6 MB, free: 2.805 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.268e-05/0.09146, allocations: 86.08 kB / 393.7 MB, free: 2.711 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 8.619e-05/0.09154, allocations: 342.7 kB / 394 MB, free: 2.367 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 3.892e-05/0.09158, allocations: 32.97 kB / 394.1 MB, free: 2.336 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001524/0.09174, allocations: 285.5 kB / 394.3 MB, free: 1.941 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002821/0.09202, allocations: 395.9 kB / 394.7 MB, free: 1.438 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.12e-06/0.09202, allocations: 4 kB / 394.7 MB, free: 1.434 MB / 362.7 MB Notification: Performance of matching and sorting (n=54) (initialization): time 0.0002964/0.09232, allocations: 304.5 kB / 395 MB, free: 1.129 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.09234, allocations: 8 kB / 395 MB, free: 1.121 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.162e-05/0.09235, allocations: 11.98 kB / 395 MB, free: 1.109 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0005194/0.09287, allocations: 136.7 kB / 395.2 MB, free: 0.9727 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001766/0.09304, allocations: 103.8 kB / 395.3 MB, free: 0.8711 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002632/0.09331, allocations: 0.6056 MB / 395.9 MB, free: 248 kB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001372/0.09344, allocations: 43.72 kB / 395.9 MB, free: 204 kB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.14e-05/0.09347, allocations: 24 kB / 396 MB, free: 180 kB / 362.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 (53): * Single equations (assignments): 52 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.0001024/0.09358, allocations: 160.3 kB / 396.1 MB, free: 8 kB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.937e-05/0.09364, allocations: 31.97 kB / 396.1 MB, free: 15.98 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005729/0.09421, allocations: 0.6366 MB / 396.8 MB, free: 15.3 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.633e-06/0.09422, allocations: 4 kB / 396.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.874e-06/0.09422, allocations: 0 / 396.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.3e-06/0.09422, allocations: 4 kB / 396.8 MB, free: 15.29 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005563/0.09478, allocations: 0.6772 MB / 397.5 MB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.159e-06/0.09478, allocations: 3.938 kB / 397.5 MB, free: 14.57 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.077e-05/0.09487, allocations: 47.91 kB / 397.5 MB, free: 14.53 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0003974/0.09526, allocations: 116.7 kB / 397.6 MB, free: 14.41 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.236e-05/0.09528, allocations: 12 kB / 397.6 MB, free: 14.4 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0001972/0.09547, allocations: 0.59 MB / 398.2 MB, free: 13.79 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.216e-06/0.09548, allocations: 11.88 kB / 398.2 MB, free: 13.77 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000486/0.09596, allocations: 396.8 kB / 398.6 MB, free: 13.33 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 2.56e-05/0.09599, allocations: 27.78 kB / 398.7 MB, free: 13.3 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.258e-05/0.09603, allocations: 47.56 kB / 398.7 MB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001153/0.09615, allocations: 15.97 kB / 398.7 MB, free: 13.24 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.314e-05/0.09617, allocations: 27.91 kB / 398.7 MB, free: 13.21 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.152e-05/0.09618, allocations: 8 kB / 398.8 MB, free: 13.2 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0001115/0.09629, allocations: 160.7 kB / 398.9 MB, free: 13.05 MB / 378.7 MB Notification: Performance of sort global known variables: time 6.1e-08/0.09629, allocations: 4.031 kB / 398.9 MB, free: 13.04 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.000956/0.09725, allocations: 434.6 kB / 399.3 MB, free: 12.62 MB / 378.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 (25): * Single equations (assignments): 23 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * 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): 1 system {2} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0008813/0.09813, allocations: 0.6959 MB / 400 MB, free: 11.91 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0002597/0.09839, allocations: 221.1 kB / 400.3 MB, free: 11.69 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.068e-05/0.0984, allocations: 8 kB / 400.3 MB, free: 11.68 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 7.902e-05/0.09848, allocations: 97.45 kB / 400.4 MB, free: 11.58 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000403/0.09888, allocations: 151.4 kB / 400.5 MB, free: 11.43 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.8176/0.9165, allocations: 485.3 MB / 0.865 GB, free: 76.68 MB / 458.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.557e-05/0.9166, allocations: 104.8 kB / 0.8651 GB, free: 76.55 MB / 458.7 MB Notification: Performance of simCode: alias equations: time 0.0003084/0.9169, allocations: 164 kB / 0.8653 GB, free: 76.43 MB / 458.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001545/0.917, allocations: 131.3 kB / 0.8654 GB, free: 76.3 MB / 458.7 MB Notification: Performance of SimCode: time 1.723e-06/0.917, allocations: 0 / 0.8654 GB, free: 76.3 MB / 458.7 MB Notification: Performance of Templates: time 0.01536/0.9324, allocations: 17.38 MB / 0.8824 GB, free: 59.16 MB / 458.7 MB " [Timeout remaining time 659] 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 -s gbode -gbm=radauIIA3 -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: 4.737576231826097]