Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json 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/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,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.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir") translateModel(ModelicaTest.Media.TestAllProperties.SimpleAir,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.|MM|h2|d2|err_T|err_d|err_u|s_is|err_h_is|eps",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001588/0.001589, allocations: 102.2 kB / 15.98 MB, free: 6.355 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001805/0.001805, allocations: 190.6 kB / 16.91 MB, free: 6.191 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.735/1.735, allocations: 205.1 MB / 222.8 MB, free: 4.699 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.44/0.44, allocations: 43.5 MB / 313.6 MB, free: 8.523 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.002288/0.002289, allocations: 59.91 kB / 382.2 MB, free: 8.637 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1818/0.1841, allocations: 57.78 MB / 440 MB, free: 14.75 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.5186/0.7027, allocations: 134.2 MB / 0.5608 GB, free: 5.91 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.005013/0.7078, allocations: 4.692 MB / 0.5653 GB, free: 1.223 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001197/0.7079, allocations: 4 kB / 0.5653 GB, free: 1.219 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004507/0.7085, allocations: 47.72 kB / 0.5654 GB, free: 1.172 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002138/0.7106, allocations: 0.6727 MB / 0.566 GB, free: 0.4961 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004113/0.711, allocations: 158.1 kB / 0.5662 GB, free: 356 kB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005691/0.7116, allocations: 370.3 kB / 0.5666 GB, free: 15.98 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.194e-05/0.7117, allocations: 13.67 kB / 0.5666 GB, free: 15.97 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002075/0.7119, allocations: 159.3 kB / 0.5667 GB, free: 15.82 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002786/0.7122, allocations: 187.4 kB / 0.5669 GB, free: 15.63 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 2.996e-05/0.7122, allocations: 8 kB / 0.5669 GB, free: 15.62 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001265/0.7135, allocations: 0.7095 MB / 0.5676 GB, free: 14.91 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.017e-05/0.7136, allocations: 51.81 kB / 0.5676 GB, free: 14.86 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001112/0.7137, allocations: 111.5 kB / 0.5678 GB, free: 14.75 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006522/0.7144, allocations: 465 kB / 0.5682 GB, free: 14.3 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.107e-06/0.7144, allocations: 4 kB / 0.5682 GB, free: 14.3 MB / 446.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.7144, allocations: 0 / 0.5682 GB, free: 14.3 MB / 446.1 MB Notification: Performance of Transformations before backend: time 5.901e-06/0.7144, allocations: 0 / 0.5682 GB, free: 14.3 MB / 446.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 56 * Number of variables: 56 Notification: Performance of Generate backend data structure: time 0.001075/0.7155, allocations: 0.5927 MB / 0.5688 GB, free: 13.66 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.043e-05/0.7155, allocations: 11.89 kB / 0.5688 GB, free: 13.65 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001613/0.7157, allocations: 28.66 kB / 0.5688 GB, free: 13.62 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002369/0.716, allocations: 224.1 kB / 0.569 GB, free: 13.36 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001288/0.7161, allocations: 127.9 kB / 0.5692 GB, free: 13.21 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.18e-05/0.7161, allocations: 28.5 kB / 0.5692 GB, free: 13.19 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000505/0.7166, allocations: 322.7 kB / 0.5695 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.35e-05/0.7167, allocations: 0 / 0.5695 GB, free: 12.85 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.232e-05/0.7167, allocations: 16 kB / 0.5695 GB, free: 12.83 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.742e-05/0.7167, allocations: 8 kB / 0.5695 GB, free: 12.82 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007621/0.7175, allocations: 0.739 MB / 0.5702 GB, free: 12.09 MB / 446.1 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.001344/0.7189, allocations: 1.23 MB / 0.5714 GB, free: 10.74 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003829/0.7193, allocations: 167.8 kB / 0.5716 GB, free: 10.57 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001301/0.7194, allocations: 93.36 kB / 0.5717 GB, free: 10.48 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002161/0.7216, allocations: 2.707 MB / 0.5743 GB, free: 7.258 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.523e-05/0.7216, allocations: 38.56 kB / 0.5744 GB, free: 7.211 MB / 446.1 MB Notification: Performance of pre-optimization done (n=13): time 1.433e-06/0.7216, allocations: 0 / 0.5744 GB, free: 7.211 MB / 446.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006595/0.7223, allocations: 212 kB / 0.5746 GB, free: 7 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.833e-05/0.7223, allocations: 55.34 kB / 0.5746 GB, free: 6.934 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000177/0.7225, allocations: 218.9 kB / 0.5748 GB, free: 6.711 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 2.887e-05/0.7226, allocations: 25.7 kB / 0.5749 GB, free: 6.68 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000134/0.7227, allocations: 222.8 kB / 0.5751 GB, free: 6.457 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.86e-05/0.7228, allocations: 47.36 kB / 0.5751 GB, free: 6.41 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.063e-05/0.7228, allocations: 81.94 kB / 0.5752 GB, free: 6.324 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001173/0.723, allocations: 330.8 kB / 0.5755 GB, free: 5.992 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.867e-05/0.7231, allocations: 48.84 kB / 0.5755 GB, free: 5.945 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002711/0.7233, allocations: 328 kB / 0.5759 GB, free: 5.488 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004044/0.7237, allocations: 444.2 kB / 0.5763 GB, free: 4.918 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.7238, allocations: 0 / 0.5763 GB, free: 4.918 MB / 446.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005056/0.7243, allocations: 377.4 kB / 0.5766 GB, free: 4.543 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.379e-05/0.7243, allocations: 8 kB / 0.5767 GB, free: 4.535 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.535e-05/0.7243, allocations: 12 kB / 0.5767 GB, free: 4.523 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.236e-05/0.7244, allocations: 12.5 kB / 0.5767 GB, free: 4.512 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003161/0.7247, allocations: 115.8 kB / 0.5768 GB, free: 4.398 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.098e-05/0.7247, allocations: 15.94 kB / 0.5768 GB, free: 4.383 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002176/0.7249, allocations: 28.38 kB / 0.5768 GB, free: 4.355 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.516e-05/0.725, allocations: 34.11 kB / 0.5769 GB, free: 4.324 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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 (52): * Single equations (assignments): 51 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001251/0.7251, allocations: 145.6 kB / 0.577 GB, free: 4.172 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.098e-05/0.7252, allocations: 23.72 kB / 0.577 GB, free: 4.148 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002964/0.7255, allocations: 147.9 kB / 0.5772 GB, free: 4 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.128e-05/0.7255, allocations: 7.922 kB / 0.5772 GB, free: 3.992 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.619e-06/0.7255, allocations: 4 kB / 0.5772 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.17e-06/0.7255, allocations: 0 / 0.5772 GB, free: 3.988 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004884/0.726, allocations: 447 kB / 0.5776 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.919e-06/0.726, allocations: 0 / 0.5776 GB, free: 3.492 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001368/0.7262, allocations: 35.98 kB / 0.5776 GB, free: 3.457 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.069e-06/0.7262, allocations: 3.984 kB / 0.5776 GB, free: 3.453 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.136e-05/0.7262, allocations: 8 kB / 0.5776 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.7262, allocations: 0 / 0.5776 GB, free: 3.445 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.116e-06/0.7262, allocations: 4 kB / 0.5777 GB, free: 3.441 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002204/0.7265, allocations: 216.9 kB / 0.5779 GB, free: 3.207 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.925e-05/0.7265, allocations: 108.8 kB / 0.578 GB, free: 3.082 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.55e-05/0.7266, allocations: 4 kB / 0.578 GB, free: 3.078 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002034/0.7268, allocations: 17.09 kB / 0.578 GB, free: 3.066 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.531e-05/0.7268, allocations: 7.984 kB / 0.578 GB, free: 3.059 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.768e-05/0.7268, allocations: 4 kB / 0.578 GB, free: 3.055 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0001251/0.727, allocations: 156.5 kB / 0.5781 GB, free: 2.902 MB / 446.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.727, allocations: 0 / 0.5781 GB, free: 2.902 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004773/0.7275, allocations: 84 kB / 0.5782 GB, free: 2.82 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (13): * Single equations (assignments): 12 * Array equations: 1 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0003758/0.7279, allocations: 171 kB / 0.5784 GB, free: 2.645 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.0003353/0.7282, allocations: 189.9 kB / 0.5786 GB, free: 2.461 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.655e-06/0.7282, allocations: 320 / 0.5786 GB, free: 2.461 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 5.667e-05/0.7283, allocations: 39.92 kB / 0.5786 GB, free: 2.422 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004571/0.7287, allocations: 50.23 kB / 0.5787 GB, free: 2.375 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001105/0.7299, allocations: 0.5452 MB / 0.5792 GB, free: 1.809 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003987/0.7303, allocations: 0.7284 MB / 0.5799 GB, free: 1.055 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002595/0.7305, allocations: 62.8 kB / 0.58 GB, free: 0.9922 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.38e-05/0.7306, allocations: 27.44 kB / 0.58 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of SimCode: time 2.61e-07/0.7306, allocations: 0 / 0.58 GB, free: 0.9648 MB / 446.1 MB Notification: Performance of Templates: time 0.006773/0.7374, allocations: 3.138 MB / 0.583 GB, free: 13.87 MB / 462.1 MB make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches