Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_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 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 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) 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_4.0.0_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_4.0.0_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.001008/0.001008, allocations: 95.86 kB / 17 MB, free: 6.398 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.001053/0.001054, allocations: 177.7 kB / 17.89 MB, free: 5.945 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.492/1.492, allocations: 223.3 MB / 241.9 MB, free: 312 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2083/0.2083, allocations: 44.26 MB / 337.3 MB, free: 2.762 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003427/0.000343, allocations: 12 kB / 409.7 MB, free: 27.65 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1355/0.1358, allocations: 61.93 MB / 471.6 MB, free: 13.68 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4431/0.5789, allocations: 123.2 MB / 0.5809 GB, free: 7.312 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.005105/0.5841, allocations: 4.339 MB / 0.5851 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001138/0.5843, allocations: 0 / 0.5851 GB, free: 2.973 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003625/0.5846, allocations: 43.73 kB / 0.5852 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001816/0.5865, allocations: 0.5946 MB / 0.5858 GB, free: 2.332 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004533/0.5869, allocations: 148.8 kB / 0.5859 GB, free: 2.191 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005951/0.5875, allocations: 390.1 kB / 0.5863 GB, free: 1.809 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.431e-05/0.5876, allocations: 17.67 kB / 0.5863 GB, free: 1.793 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002304/0.5878, allocations: 147.4 kB / 0.5864 GB, free: 1.648 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003158/0.5882, allocations: 191.4 kB / 0.5866 GB, free: 1.461 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.561e-05/0.5882, allocations: 8 kB / 0.5866 GB, free: 1.453 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001267/0.5895, allocations: 0.5966 MB / 0.5872 GB, free: 0.8555 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 8.298e-05/0.5896, allocations: 47.75 kB / 0.5872 GB, free: 0.8086 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.944e-05/0.5896, allocations: 65.64 kB / 0.5873 GB, free: 0.7383 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004294/0.5901, allocations: 293.3 kB / 0.5876 GB, free: 464 kB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.308e-06/0.5901, allocations: 3.938 kB / 0.5876 GB, free: 460 kB / 414.1 MB Notification: Performance of FrontEnd: time 1.743e-06/0.5901, allocations: 4 kB / 0.5876 GB, free: 456 kB / 414.1 MB Notification: Performance of Transformations before backend: time 4.349e-06/0.5901, allocations: 0 / 0.5876 GB, free: 456 kB / 414.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.0009546/0.5911, allocations: 0.5427 MB / 0.5881 GB, free: 15.86 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.746e-05/0.5911, allocations: 8.031 kB / 0.5881 GB, free: 15.85 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001411/0.5913, allocations: 23.81 kB / 0.5882 GB, free: 15.82 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002747/0.5915, allocations: 226.7 kB / 0.5884 GB, free: 15.56 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001809/0.5917, allocations: 127.4 kB / 0.5885 GB, free: 15.41 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.163e-05/0.5918, allocations: 24 kB / 0.5885 GB, free: 15.39 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005357/0.5923, allocations: 310.8 kB / 0.5888 GB, free: 15.06 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.235e-05/0.5923, allocations: 7.938 kB / 0.5888 GB, free: 15.05 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.804e-05/0.5924, allocations: 8 kB / 0.5888 GB, free: 15.04 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.224e-05/0.5924, allocations: 15.98 kB / 0.5888 GB, free: 15.03 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007538/0.5932, allocations: 0.7352 MB / 0.5896 GB, free: 14.29 MB / 430.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.001312/0.5945, allocations: 1.23 MB / 0.5908 GB, free: 12.95 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003921/0.5949, allocations: 175.7 kB / 0.5909 GB, free: 12.77 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001422/0.595, allocations: 85.47 kB / 0.591 GB, free: 12.68 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002426/0.5975, allocations: 2.703 MB / 0.5936 GB, free: 9.465 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.943e-05/0.5975, allocations: 34.56 kB / 0.5937 GB, free: 9.422 MB / 430.1 MB Notification: Performance of pre-optimization done (n=13): time 1.333e-06/0.5975, allocations: 0 / 0.5937 GB, free: 9.422 MB / 430.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006066/0.5981, allocations: 211.9 kB / 0.5939 GB, free: 9.211 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.55e-05/0.5982, allocations: 55.39 kB / 0.5939 GB, free: 9.145 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002154/0.5984, allocations: 222.8 kB / 0.5941 GB, free: 8.918 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.223e-05/0.5985, allocations: 25.7 kB / 0.5942 GB, free: 8.887 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001276/0.5986, allocations: 218.8 kB / 0.5944 GB, free: 8.664 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.774e-05/0.5986, allocations: 55.34 kB / 0.5944 GB, free: 8.609 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.186e-05/0.5987, allocations: 4 kB / 0.5944 GB, free: 8.605 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001438/0.5988, allocations: 326.8 kB / 0.5947 GB, free: 8.277 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.668e-05/0.5989, allocations: 48.84 kB / 0.5948 GB, free: 8.23 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003222/0.5992, allocations: 324 kB / 0.5951 GB, free: 7.777 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001704/0.5994, allocations: 103.8 kB / 0.5952 GB, free: 7.676 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.729e-06/0.5994, allocations: 4 kB / 0.5952 GB, free: 7.672 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005443/0.6, allocations: 377.8 kB / 0.5956 GB, free: 7.297 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.143e-05/0.6, allocations: 8 kB / 0.5956 GB, free: 7.289 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.421e-05/0.6, allocations: 12 kB / 0.5956 GB, free: 7.277 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 4.508e-05/0.6001, allocations: 16.03 kB / 0.5956 GB, free: 7.262 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003176/0.6004, allocations: 111.8 kB / 0.5957 GB, free: 7.152 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.952e-05/0.6004, allocations: 15.94 kB / 0.5957 GB, free: 7.137 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001986/0.6006, allocations: 23.86 kB / 0.5957 GB, free: 7.113 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.813e-05/0.6007, allocations: 31.98 kB / 0.5958 GB, free: 7.082 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001471/0.6008, allocations: 158 kB / 0.5959 GB, free: 6.918 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.152e-05/0.6009, allocations: 19.81 kB / 0.5959 GB, free: 6.898 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002999/0.6012, allocations: 151.9 kB / 0.5961 GB, free: 6.746 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.222e-05/0.6012, allocations: 7.984 kB / 0.5961 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.302e-06/0.6012, allocations: 0.5625 kB / 0.5961 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.659e-06/0.6012, allocations: 0 / 0.5961 GB, free: 6.738 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005329/0.6018, allocations: 448 kB / 0.5965 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.6018, allocations: 0.875 kB / 0.5965 GB, free: 6.238 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001399/0.6019, allocations: 31.92 kB / 0.5966 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.6019, allocations: 0 / 0.5966 GB, free: 6.207 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.158e-05/0.602, allocations: 4 kB / 0.5966 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.436e-06/0.602, allocations: 0.625 kB / 0.5966 GB, free: 6.203 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.602, allocations: 7.938 kB / 0.5966 GB, free: 6.195 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002314/0.6022, allocations: 226.8 kB / 0.5968 GB, free: 5.953 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001057/0.6023, allocations: 102.5 kB / 0.5969 GB, free: 5.836 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.297e-05/0.6024, allocations: 7.922 kB / 0.5969 GB, free: 5.828 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001792/0.6026, allocations: 12 kB / 0.5969 GB, free: 5.816 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.692e-05/0.6026, allocations: 11.94 kB / 0.5969 GB, free: 5.805 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.725e-05/0.6026, allocations: 11.98 kB / 0.5969 GB, free: 5.793 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.000125/0.6027, allocations: 148.5 kB / 0.5971 GB, free: 5.648 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6027, allocations: 3.938 kB / 0.5971 GB, free: 5.645 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004577/0.6032, allocations: 91.98 kB / 0.5972 GB, free: 5.555 MB / 430.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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0002767/0.6035, allocations: 147.1 kB / 0.5973 GB, free: 5.398 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0002957/0.6038, allocations: 177.7 kB / 0.5975 GB, free: 5.227 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.126e-06/0.6038, allocations: 0 / 0.5975 GB, free: 5.227 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.439e-05/0.6039, allocations: 35.92 kB / 0.5975 GB, free: 5.191 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000461/0.6043, allocations: 42.7 kB / 0.5975 GB, free: 5.152 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009396/0.6053, allocations: 0.5798 MB / 0.5981 GB, free: 4.539 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002968/0.6056, allocations: 0.7209 MB / 0.5988 GB, free: 3.789 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002613/0.6059, allocations: 66.8 kB / 0.5989 GB, free: 3.723 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.736e-05/0.6059, allocations: 23.44 kB / 0.5989 GB, free: 3.699 MB / 430.1 MB Notification: Performance of SimCode: time 1.823e-06/0.6059, allocations: 0 / 0.5989 GB, free: 3.699 MB / 430.1 MB Notification: Performance of Templates: time 0.006446/0.6124, allocations: 2.911 MB / 0.6017 GB, free: 0.8164 MB / 430.1 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches