Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/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_trunk_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_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001107/0.001107, allocations: 98.27 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009845/0.0009845, allocations: 204.1 kB / 17.9 MB, free: 5.598 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.455/1.455, allocations: 227.2 MB / 245.9 MB, free: 10.35 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2103/0.2103, allocations: 45.92 MB / 344 MB, free: 12.12 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002832/0.0002832, allocations: 4 kB / 417.9 MB, free: 20.88 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1477/0.148, allocations: 63.46 MB / 481.4 MB, free: 5.398 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.4311/0.5791, allocations: 115.4 MB / 0.5828 GB, free: 1.668 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.004704/0.5839, allocations: 3.844 MB / 0.5865 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001453/0.5841, allocations: 0 / 0.5865 GB, free: 13.82 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003627/0.5844, allocations: 47.72 kB / 0.5866 GB, free: 13.77 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001686/0.5861, allocations: 0.631 MB / 0.5872 GB, free: 13.14 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003982/0.5865, allocations: 146.7 kB / 0.5873 GB, free: 13 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.00048/0.587, allocations: 263.4 kB / 0.5876 GB, free: 12.75 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.222e-05/0.5871, allocations: 13.67 kB / 0.5876 GB, free: 12.73 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002208/0.5873, allocations: 143.6 kB / 0.5877 GB, free: 12.59 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002521/0.5876, allocations: 167.5 kB / 0.5879 GB, free: 12.43 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 2.507e-05/0.5876, allocations: 8 kB / 0.5879 GB, free: 12.42 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.589, allocations: 0.6242 MB / 0.5885 GB, free: 11.8 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 8.044e-05/0.5891, allocations: 39.83 kB / 0.5885 GB, free: 11.76 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 6.294e-05/0.5891, allocations: 57.64 kB / 0.5886 GB, free: 11.7 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004773/0.5896, allocations: 301.2 kB / 0.5889 GB, free: 11.41 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.665e-06/0.5896, allocations: 0 / 0.5889 GB, free: 11.41 MB / 430.1 MB Notification: Performance of FrontEnd: time 1.703e-06/0.5896, allocations: 0 / 0.5889 GB, free: 11.41 MB / 430.1 MB Notification: Performance of Transformations before backend: time 4.899e-06/0.5897, allocations: 0 / 0.5889 GB, free: 11.41 MB / 430.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.00105/0.5907, allocations: 0.5583 MB / 0.5894 GB, free: 10.8 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.961e-05/0.5908, allocations: 11.97 kB / 0.5894 GB, free: 10.79 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.5909, allocations: 27.77 kB / 0.5895 GB, free: 10.76 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002766/0.5912, allocations: 220.6 kB / 0.5897 GB, free: 10.51 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001586/0.5914, allocations: 123.4 kB / 0.5898 GB, free: 10.36 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.069e-05/0.5914, allocations: 20 kB / 0.5898 GB, free: 10.34 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005285/0.5919, allocations: 322.8 kB / 0.5901 GB, free: 10 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.304e-05/0.592, allocations: 3.984 kB / 0.5901 GB, free: 9.996 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.651e-05/0.592, allocations: 12 kB / 0.5901 GB, free: 9.984 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.433e-05/0.592, allocations: 11.94 kB / 0.5901 GB, free: 9.973 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007982/0.5928, allocations: 0.7391 MB / 0.5909 GB, free: 9.23 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.001551/0.5944, allocations: 1.269 MB / 0.5921 GB, free: 7.844 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004034/0.5948, allocations: 175.7 kB / 0.5923 GB, free: 7.664 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002369/0.5972, allocations: 2.64 MB / 0.5948 GB, free: 4.531 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.28e-05/0.5973, allocations: 30.56 kB / 0.5949 GB, free: 4.492 MB / 430.1 MB Notification: Performance of pre-optimization done (n=15): time 1.633e-06/0.5973, allocations: 3.938 kB / 0.5949 GB, free: 4.488 MB / 430.1 MB Notification: Performance of matching and sorting (n=16): time 0.0006958/0.598, allocations: 235.8 kB / 0.5951 GB, free: 4.254 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.077e-05/0.598, allocations: 59.41 kB / 0.5952 GB, free: 4.184 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001807/0.5982, allocations: 211.6 kB / 0.5954 GB, free: 3.969 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.12e-05/0.5983, allocations: 29.7 kB / 0.5954 GB, free: 3.934 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001288/0.5984, allocations: 214.8 kB / 0.5956 GB, free: 3.715 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.965e-05/0.5984, allocations: 55.25 kB / 0.5956 GB, free: 3.66 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.178e-05/0.5985, allocations: 8 kB / 0.5957 GB, free: 3.652 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001379/0.5986, allocations: 326.8 kB / 0.596 GB, free: 3.324 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.374e-05/0.5987, allocations: 52.83 kB / 0.596 GB, free: 3.273 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002546/0.599, allocations: 321.2 kB / 0.5963 GB, free: 2.832 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001607/0.5991, allocations: 99.86 kB / 0.5964 GB, free: 2.734 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5e-06/0.5991, allocations: 4 kB / 0.5964 GB, free: 2.73 MB / 430.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005144/0.5997, allocations: 365.5 kB / 0.5968 GB, free: 2.367 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.27e-05/0.5997, allocations: 12.22 kB / 0.5968 GB, free: 2.355 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.336e-05/0.5997, allocations: 12 kB / 0.5968 GB, free: 2.344 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.504e-05/0.5997, allocations: 15.95 kB / 0.5968 GB, free: 2.328 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003411/0.6001, allocations: 115.8 kB / 0.5969 GB, free: 2.215 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.075e-05/0.6001, allocations: 20.8 kB / 0.5969 GB, free: 2.195 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002116/0.6003, allocations: 23.94 kB / 0.597 GB, free: 2.172 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.549e-05/0.6004, allocations: 24 kB / 0.597 GB, free: 2.148 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 43 * 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.0001388/0.6005, allocations: 145.7 kB / 0.5971 GB, free: 1.996 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.815e-05/0.6006, allocations: 27.72 kB / 0.5971 GB, free: 1.969 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003728/0.601, allocations: 172.9 kB / 0.5973 GB, free: 1.789 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.502e-05/0.601, allocations: 7.953 kB / 0.5973 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.601, allocations: 0 / 0.5973 GB, free: 1.781 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.28e-06/0.601, allocations: 11.86 kB / 0.5973 GB, free: 1.77 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007018/0.6017, allocations: 466.7 kB / 0.5978 GB, free: 1.246 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.001e-06/0.6017, allocations: 4.078 kB / 0.5978 GB, free: 1.242 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002058/0.602, allocations: 31.98 kB / 0.5978 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.242e-06/0.602, allocations: 0 / 0.5978 GB, free: 1.211 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.724e-05/0.602, allocations: 11.97 kB / 0.5978 GB, free: 1.199 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.352e-05/0.602, allocations: 11.94 kB / 0.5978 GB, free: 1.188 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.615e-06/0.602, allocations: 3.984 kB / 0.5978 GB, free: 1.184 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002594/0.6023, allocations: 281.5 kB / 0.5981 GB, free: 0.8555 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001082/0.6024, allocations: 116.9 kB / 0.5982 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.255e-05/0.6024, allocations: 0 / 0.5982 GB, free: 0.7227 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002027/0.6027, allocations: 12 kB / 0.5982 GB, free: 0.7109 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.816e-05/0.6027, allocations: 19.88 kB / 0.5982 GB, free: 0.6914 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.996e-05/0.6027, allocations: 15.98 kB / 0.5983 GB, free: 0.6758 MB / 430.1 MB Notification: Performance of sorting global known variables: time 0.0001152/0.6028, allocations: 140.5 kB / 0.5984 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6028, allocations: 0 / 0.5984 GB, free: 0.5352 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0005016/0.6033, allocations: 91.98 kB / 0.5985 GB, free: 456 kB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 5 * 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 (14): * Single equations (assignments): 13 * 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.0002663/0.6036, allocations: 147.7 kB / 0.5986 GB, free: 300 kB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0003404/0.604, allocations: 176.8 kB / 0.5988 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 3.536e-06/0.604, allocations: 0 / 0.5988 GB, free: 124 kB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 5.507e-05/0.604, allocations: 43.84 kB / 0.5988 GB, free: 80 kB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000388/0.6044, allocations: 50.36 kB / 0.5989 GB, free: 28 kB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008952/0.6053, allocations: 0.5257 MB / 0.5994 GB, free: 15.46 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003199/0.6057, allocations: 0.7287 MB / 0.6001 GB, free: 14.71 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002537/0.6059, allocations: 66.89 kB / 0.6002 GB, free: 14.64 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.711e-05/0.606, allocations: 23.44 kB / 0.6002 GB, free: 14.62 MB / 446.1 MB Notification: Performance of SimCode: time 7.52e-07/0.606, allocations: 0 / 0.6002 GB, free: 14.62 MB / 446.1 MB Notification: Performance of Templates: time 0.007135/0.6132, allocations: 2.975 MB / 0.6031 GB, free: 11.7 MB / 446.1 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_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","../files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches