Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) 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 ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") translateModel(ModelicaTest.Media.TestAllProperties.MoistAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|eps_h_is|eta|lambda|Pr|p|T|d|h|u|s|g|f|cp|cp2|cv|cv2|h_is|a|beta|beta2|kappa|kappa2|ddpT|ddTp|dddX.1.|dddX.2.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001802/0.001802, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.47/1.47, allocations: 222.9 MB / 241.6 MB, free: 10.99 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001016/0.001016, allocations: 106.4 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.353/0.353, allocations: 44.13 MB / 386.1 MB, free: 38.05 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001016/0.001016, allocations: 51.92 kB / 457.7 MB, free: 2.293 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3369/0.3379, allocations: 60.8 MB / 0.5064 GB, free: 38.31 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.MoistAir): time 0.1626/0.5005, allocations: 150 MB / 0.6529 GB, free: 9.578 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.01174/0.5124, allocations: 10.78 MB / 0.6634 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002526/0.5127, allocations: 4 kB / 0.6634 GB, free: 14.77 MB / 490.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004685/0.5131, allocations: 71.67 kB / 0.6635 GB, free: 14.7 MB / 490.7 MB Notification: Performance of NFTyping.typeBindings: time 0.00798/0.5212, allocations: 2.679 MB / 0.6661 GB, free: 12.02 MB / 490.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003834/0.5216, allocations: 150.5 kB / 0.6663 GB, free: 11.88 MB / 490.7 MB Notification: Performance of NFFlatten.flatten: time 0.0008746/0.5225, allocations: 0.7674 MB / 0.667 GB, free: 11.11 MB / 490.7 MB Notification: Performance of NFFlatten.resolveConnections: time 6.336e-05/0.5226, allocations: 16.41 kB / 0.667 GB, free: 11.09 MB / 490.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003236/0.5229, allocations: 223 kB / 0.6672 GB, free: 10.87 MB / 490.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0006699/0.5236, allocations: 403 kB / 0.6676 GB, free: 10.47 MB / 490.7 MB Notification: Performance of NFPackage.collectConstants: time 3.866e-05/0.5236, allocations: 11.94 kB / 0.6676 GB, free: 10.46 MB / 490.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.008616/0.5323, allocations: 5.123 MB / 0.6726 GB, free: 5.328 MB / 490.7 MB Notification: Performance of NFScalarize.scalarize: time 0.0001561/0.5325, allocations: 91.62 kB / 0.6727 GB, free: 5.238 MB / 490.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0002473/0.5327, allocations: 155.3 kB / 0.6729 GB, free: 5.086 MB / 490.7 MB Notification: Performance of NFConvertDAE.convert: time 0.006736/0.5395, allocations: 2.565 MB / 0.6754 GB, free: 2.516 MB / 490.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.803e-06/0.5395, allocations: 8 kB / 0.6754 GB, free: 2.508 MB / 490.7 MB Notification: Performance of FrontEnd: time 1.432e-06/0.5395, allocations: 0 / 0.6754 GB, free: 2.508 MB / 490.7 MB Notification: Performance of Transformations before backend: time 1.286e-05/0.5395, allocations: 0 / 0.6754 GB, free: 2.508 MB / 490.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 81 * Number of variables: 81 Notification: Performance of Generate backend data structure: time 0.002928/0.5425, allocations: 1.049 MB / 0.6764 GB, free: 1.41 MB / 490.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.608e-05/0.5425, allocations: 12.03 kB / 0.6764 GB, free: 1.398 MB / 490.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000185/0.5427, allocations: 36.03 kB / 0.6765 GB, free: 1.363 MB / 490.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002993/0.543, allocations: 258.6 kB / 0.6767 GB, free: 1.07 MB / 490.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001194/0.5431, allocations: 127.5 kB / 0.6768 GB, free: 0.9219 MB / 490.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.912e-05/0.5432, allocations: 28 kB / 0.6769 GB, free: 0.8945 MB / 490.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007259/0.5439, allocations: 0.5603 MB / 0.6774 GB, free: 308 kB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.224e-05/0.5439, allocations: 4 kB / 0.6774 GB, free: 304 kB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.789e-05/0.544, allocations: 16 kB / 0.6774 GB, free: 288 kB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.348e-05/0.544, allocations: 28.48 kB / 0.6774 GB, free: 260 kB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.2288/0.7728, allocations: 1.255 MB / 0.6787 GB, free: 145.3 MB / 490.7 MB Warning: The model contains alias variables with redundant start and/or conflicting nominal values. It is recommended to resolve the conflicts, because otherwise the system could be hard to solve. To print the conflicting alias sets and the chosen candidates please use -d=aliasConflicts. Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001995/0.7748, allocations: 1.967 MB / 0.6806 GB, free: 143.9 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006487/0.7755, allocations: 266.5 kB / 0.6808 GB, free: 143.8 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001619/0.7757, allocations: 119 kB / 0.681 GB, free: 143.7 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002417/0.7781, allocations: 3.095 MB / 0.684 GB, free: 140.7 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.714e-05/0.7781, allocations: 40.12 kB / 0.684 GB, free: 140.6 MB / 490.7 MB Notification: Performance of pre-optimization done (n=42): time 2.034e-06/0.7781, allocations: 0 / 0.684 GB, free: 140.6 MB / 490.7 MB Notification: Performance of matching and sorting (n=44): time 0.001567/0.7797, allocations: 0.7086 MB / 0.6847 GB, free: 140.3 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.086e-05/0.7798, allocations: 58.22 kB / 0.6848 GB, free: 140.3 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001379/0.7799, allocations: 206 kB / 0.685 GB, free: 140.1 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 2.469e-05/0.7799, allocations: 32.67 kB / 0.685 GB, free: 140.1 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 6.051e-05/0.78, allocations: 192.9 kB / 0.6852 GB, free: 139.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.771e-05/0.7801, allocations: 159.5 kB / 0.6853 GB, free: 139.8 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000124/0.7802, allocations: 130.1 kB / 0.6855 GB, free: 139.8 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 4.906e-05/0.7803, allocations: 346.3 kB / 0.6858 GB, free: 139.4 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001532/0.7804, allocations: 101.9 kB / 0.6859 GB, free: 139.4 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002812/0.7807, allocations: 412.5 kB / 0.6863 GB, free: 139 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004771/0.7812, allocations: 0.5672 MB / 0.6868 GB, free: 138.5 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.208e-06/0.7812, allocations: 6.719 kB / 0.6868 GB, free: 138.5 MB / 490.7 MB Notification: Performance of matching and sorting (n=74) (initialization): time 0.0007759/0.782, allocations: 0.5495 MB / 0.6874 GB, free: 138.3 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.896e-05/0.782, allocations: 9.406 kB / 0.6874 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.413e-05/0.782, allocations: 11.98 kB / 0.6874 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.332e-05/0.7821, allocations: 19.69 kB / 0.6874 GB, free: 138.3 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005822/0.7826, allocations: 198.9 kB / 0.6876 GB, free: 138.2 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003719/0.783, allocations: 1.188 MB / 0.6888 GB, free: 137.1 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002936/0.7833, allocations: 37.23 kB / 0.6888 GB, free: 137 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.983e-05/0.7834, allocations: 56.55 kB / 0.6889 GB, free: 137 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 48 * 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 (73): * Single equations (assignments): 70 * Array equations: 1 * 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.0001307/0.7836, allocations: 174.9 kB / 0.689 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.575e-05/0.7836, allocations: 27.25 kB / 0.689 GB, free: 136.9 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001026/0.7847, allocations: 0.6333 MB / 0.6897 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.248e-05/0.7847, allocations: 5.844 kB / 0.6897 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.589e-06/0.7847, allocations: 0 / 0.6897 GB, free: 136.6 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.344e-06/0.7847, allocations: 9.375 kB / 0.6897 GB, free: 136.5 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008549/0.7856, allocations: 0.8128 MB / 0.6905 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.216e-06/0.7856, allocations: 1.344 kB / 0.6905 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003971/0.786, allocations: 103.1 kB / 0.6906 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.871e-06/0.786, allocations: 8.234 kB / 0.6906 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.136e-05/0.786, allocations: 18.3 kB / 0.6906 GB, free: 135.9 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0002895/0.7863, allocations: 1.17 MB / 0.6917 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.355e-06/0.7863, allocations: 5.5 kB / 0.6917 GB, free: 134.7 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006638/0.787, allocations: 1.017 MB / 0.6927 GB, free: 133.9 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.806e-05/0.7871, allocations: 124.1 kB / 0.6929 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.524e-05/0.7872, allocations: 17.88 kB / 0.6929 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002484/0.7874, allocations: 13.08 kB / 0.6929 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.099e-05/0.7875, allocations: 22.39 kB / 0.6929 GB, free: 133.7 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.864e-05/0.7875, allocations: 17.52 kB / 0.6929 GB, free: 133.7 MB / 490.7 MB Notification: Performance of sorting global known variables: time 0.0001156/0.7876, allocations: 172.1 kB / 0.6931 GB, free: 133.6 MB / 490.7 MB Notification: Performance of sort global known variables: time 2.01e-07/0.7876, allocations: 0 / 0.6931 GB, free: 133.6 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.001365/0.789, allocations: 0.4991 MB / 0.6936 GB, free: 133.5 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * 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 simulation (35): * Single equations (assignments): 32 * Array equations: 1 * 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.001591/0.7906, allocations: 0.7408 MB / 0.6943 GB, free: 133.4 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0007179/0.7913, allocations: 366.7 kB / 0.6947 GB, free: 133.3 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.166e-06/0.7914, allocations: 0 / 0.6947 GB, free: 133.3 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003364/0.7917, allocations: 146.8 kB / 0.6948 GB, free: 133.2 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007585/0.7925, allocations: 132.8 kB / 0.6949 GB, free: 133.2 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006831/0.7993, allocations: 5.724 MB / 0.7005 GB, free: 130.6 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001957/0.7995, allocations: 0.7751 MB / 0.7013 GB, free: 129.9 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0007375/0.8003, allocations: 197.8 kB / 0.7015 GB, free: 129.8 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001973/0.8005, allocations: 69.7 kB / 0.7015 GB, free: 129.8 MB / 490.7 MB Notification: Performance of SimCode: time 9.12e-07/0.8005, allocations: 0 / 0.7015 GB, free: 129.8 MB / 490.7 MB Notification: Performance of Templates: time 0.02364/0.8241, allocations: 14.94 MB / 0.7161 GB, free: 127.2 MB / 490.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/MoistAir/MoistAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.MoistAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches