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.001199/0.001199, allocations: 109 kB / 17.33 MB, free: 5.992 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001598/0.001599, allocations: 205.8 kB / 18.26 MB, free: 5.074 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.434/1.434, allocations: 227.4 MB / 246.4 MB, free: 9.055 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2216/0.2216, allocations: 46.1 MB / 343.8 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001426/0.001426, allocations: 72.36 kB / 417 MB, free: 20.03 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1351/0.1366, allocations: 62.43 MB / 479.5 MB, free: 5.574 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.432/0.5686, allocations: 137.1 MB / 0.6021 GB, free: 10.61 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005596/0.5743, allocations: 4.7 MB / 0.6067 GB, free: 5.91 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001161/0.5744, allocations: 0 / 0.6067 GB, free: 5.91 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000427/0.5749, allocations: 55.7 kB / 0.6067 GB, free: 5.855 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.00206/0.577, allocations: 0.6766 MB / 0.6074 GB, free: 5.176 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003754/0.5774, allocations: 155.5 kB / 0.6076 GB, free: 5.031 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004987/0.5779, allocations: 378.1 kB / 0.6079 GB, free: 4.66 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.263e-05/0.5779, allocations: 13.67 kB / 0.6079 GB, free: 4.648 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002387/0.5782, allocations: 159.4 kB / 0.6081 GB, free: 4.492 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002946/0.5785, allocations: 203.3 kB / 0.6083 GB, free: 4.293 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.019e-05/0.5785, allocations: 8 kB / 0.6083 GB, free: 4.285 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001351/0.5799, allocations: 0.7096 MB / 0.609 GB, free: 3.574 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000208/0.5801, allocations: 47.81 kB / 0.609 GB, free: 3.527 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001324/0.5803, allocations: 107.5 kB / 0.6091 GB, free: 3.422 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0007408/0.581, allocations: 468.8 kB / 0.6096 GB, free: 2.965 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.16e-06/0.581, allocations: 0 / 0.6096 GB, free: 2.965 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.581, allocations: 0 / 0.6096 GB, free: 2.965 MB / 446.1 MB Notification: Performance of Transformations before backend: time 8.877e-06/0.581, allocations: 0 / 0.6096 GB, free: 2.965 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.00117/0.5822, allocations: 0.6125 MB / 0.6102 GB, free: 2.301 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.993e-05/0.5823, allocations: 8.031 kB / 0.6102 GB, free: 2.293 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001633/0.5824, allocations: 28.69 kB / 0.6102 GB, free: 2.266 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002761/0.5827, allocations: 224 kB / 0.6104 GB, free: 2.008 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001252/0.5828, allocations: 123.9 kB / 0.6105 GB, free: 1.863 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.457e-05/0.5829, allocations: 20.56 kB / 0.6106 GB, free: 1.844 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005059/0.5834, allocations: 326.7 kB / 0.6109 GB, free: 1.504 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.204e-05/0.5834, allocations: 0 / 0.6109 GB, free: 1.504 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.207e-05/0.5835, allocations: 19.88 kB / 0.6109 GB, free: 1.484 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.399e-05/0.5835, allocations: 11.98 kB / 0.6109 GB, free: 1.473 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007715/0.5843, allocations: 0.7352 MB / 0.6116 GB, free: 0.7344 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.001443/0.5857, allocations: 1.226 MB / 0.6128 GB, free: 15.39 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004635/0.5862, allocations: 171.8 kB / 0.613 GB, free: 15.22 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000143/0.5864, allocations: 92.97 kB / 0.6131 GB, free: 15.13 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002515/0.5889, allocations: 2.699 MB / 0.6157 GB, free: 11.91 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.742e-05/0.5889, allocations: 30.56 kB / 0.6157 GB, free: 11.88 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.382e-06/0.5889, allocations: 3.938 kB / 0.6157 GB, free: 11.87 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0006821/0.5896, allocations: 216.8 kB / 0.6159 GB, free: 11.65 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.489e-05/0.5897, allocations: 63.34 kB / 0.616 GB, free: 11.58 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002623/0.5899, allocations: 212.1 kB / 0.6162 GB, free: 11.36 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.916e-05/0.59, allocations: 29.7 kB / 0.6162 GB, free: 11.33 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002065/0.5902, allocations: 222.6 kB / 0.6164 GB, free: 11.1 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.919e-05/0.5902, allocations: 47.36 kB / 0.6165 GB, free: 11.05 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.589e-05/0.5903, allocations: 86.02 kB / 0.6166 GB, free: 10.96 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001655/0.5905, allocations: 330.8 kB / 0.6169 GB, free: 10.63 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002145/0.5907, allocations: 48.84 kB / 0.6169 GB, free: 10.59 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002634/0.591, allocations: 321.2 kB / 0.6172 GB, free: 10.14 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000499/0.5915, allocations: 412.4 kB / 0.6176 GB, free: 9.609 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.966e-06/0.5915, allocations: 4 kB / 0.6176 GB, free: 9.605 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005762/0.5921, allocations: 378.4 kB / 0.618 GB, free: 9.23 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.299e-05/0.5921, allocations: 12 kB / 0.618 GB, free: 9.219 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.182e-05/0.5922, allocations: 8 kB / 0.618 GB, free: 9.211 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.153e-05/0.5922, allocations: 12 kB / 0.618 GB, free: 9.199 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003514/0.5925, allocations: 119.7 kB / 0.6181 GB, free: 9.082 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.017e-05/0.5926, allocations: 15.94 kB / 0.6182 GB, free: 9.066 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002264/0.5928, allocations: 23.94 kB / 0.6182 GB, free: 9.043 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.66e-05/0.5928, allocations: 28.2 kB / 0.6182 GB, free: 9.016 MB / 462.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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001253/0.593, allocations: 149.7 kB / 0.6183 GB, free: 8.859 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.871e-05/0.593, allocations: 19.81 kB / 0.6184 GB, free: 8.84 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.00032/0.5934, allocations: 158.7 kB / 0.6185 GB, free: 8.68 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.02e-05/0.5934, allocations: 3.938 kB / 0.6185 GB, free: 8.676 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.911e-06/0.5934, allocations: 0 / 0.6185 GB, free: 8.676 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.927e-06/0.5934, allocations: 3.938 kB / 0.6185 GB, free: 8.672 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005696/0.594, allocations: 441.5 kB / 0.6189 GB, free: 8.18 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.843e-06/0.594, allocations: 0 / 0.6189 GB, free: 8.18 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001483/0.5942, allocations: 31.97 kB / 0.619 GB, free: 8.148 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.254e-06/0.5942, allocations: 0 / 0.619 GB, free: 8.148 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.098e-05/0.5942, allocations: 8.062 kB / 0.619 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.623e-06/0.5942, allocations: 0 / 0.619 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.485e-06/0.5942, allocations: 0 / 0.619 GB, free: 8.141 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002399/0.5944, allocations: 229.8 kB / 0.6192 GB, free: 7.895 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001575/0.5946, allocations: 100.9 kB / 0.6193 GB, free: 7.777 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.671e-05/0.5947, allocations: 3.938 kB / 0.6193 GB, free: 7.773 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002136/0.5949, allocations: 19.97 kB / 0.6193 GB, free: 7.754 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.282e-05/0.5949, allocations: 15.92 kB / 0.6193 GB, free: 7.738 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.769e-05/0.5949, allocations: 5.562 kB / 0.6193 GB, free: 7.734 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001306/0.5951, allocations: 152.5 kB / 0.6195 GB, free: 7.582 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.5951, allocations: 0 / 0.6195 GB, free: 7.582 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004987/0.5956, allocations: 92 kB / 0.6196 GB, free: 7.492 MB / 462.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.0004664/0.5961, allocations: 159.1 kB / 0.6197 GB, free: 7.328 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0003537/0.5964, allocations: 187.6 kB / 0.6199 GB, free: 7.148 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.929e-06/0.5964, allocations: 4 kB / 0.6199 GB, free: 7.145 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.633e-05/0.5965, allocations: 32.48 kB / 0.6199 GB, free: 7.113 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000458/0.597, allocations: 56.91 kB / 0.62 GB, free: 7.059 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001054/0.598, allocations: 0.5707 MB / 0.6206 GB, free: 6.453 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004313/0.5985, allocations: 0.7285 MB / 0.6213 GB, free: 5.695 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0002714/0.5988, allocations: 58.91 kB / 0.6213 GB, free: 5.641 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.718e-05/0.5988, allocations: 31.36 kB / 0.6213 GB, free: 5.609 MB / 462.1 MB Notification: Performance of SimCode: time 2.5e-07/0.5988, allocations: 4 kB / 0.6214 GB, free: 5.605 MB / 462.1 MB Notification: Performance of Templates: time 0.007258/0.6061, allocations: 3.197 MB / 0.6245 GB, free: 2.449 MB / 462.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","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches