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.001033/0.001033, allocations: 95.64 kB / 18.01 MB, free: 5.734 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001588/0.001589, allocations: 204.1 kB / 18.93 MB, free: 4.848 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.365/1.365, allocations: 227.7 MB / 247.5 MB, free: 11.4 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.193/0.193, allocations: 46.19 MB / 345.9 MB, free: 11.41 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002698/0.0002698, allocations: 8 kB / 420.2 MB, free: 19.77 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.112/0.1123, allocations: 63.56 MB / 483.7 MB, free: 4.188 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.351/0.4633, allocations: 135.1 MB / 0.6044 GB, free: 12.98 MB / 446.1 MB Notification: Performance of NFInst.instExpressions: time 0.005029/0.4684, allocations: 4.695 MB / 0.6089 GB, free: 8.285 MB / 446.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001587/0.4686, allocations: 0 / 0.6089 GB, free: 8.285 MB / 446.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003515/0.469, allocations: 59.7 kB / 0.609 GB, free: 8.227 MB / 446.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002066/0.471, allocations: 0.6609 MB / 0.6096 GB, free: 7.562 MB / 446.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000407/0.4714, allocations: 151 kB / 0.6098 GB, free: 7.422 MB / 446.1 MB Notification: Performance of NFFlatten.flatten: time 0.0006087/0.4721, allocations: 458 kB / 0.6102 GB, free: 6.973 MB / 446.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.879e-05/0.4721, allocations: 13.67 kB / 0.6102 GB, free: 6.961 MB / 446.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002788/0.4724, allocations: 151.3 kB / 0.6104 GB, free: 6.812 MB / 446.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003189/0.4727, allocations: 195.4 kB / 0.6106 GB, free: 6.621 MB / 446.1 MB Notification: Performance of NFPackage.collectConstants: time 3.733e-05/0.4728, allocations: 8 kB / 0.6106 GB, free: 6.613 MB / 446.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001347/0.4741, allocations: 0.7213 MB / 0.6113 GB, free: 5.891 MB / 446.1 MB Notification: Performance of NFScalarize.scalarize: time 8.461e-05/0.4742, allocations: 51.75 kB / 0.6113 GB, free: 5.84 MB / 446.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001526/0.4744, allocations: 133.2 kB / 0.6115 GB, free: 5.703 MB / 446.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005478/0.475, allocations: 317.3 kB / 0.6118 GB, free: 5.395 MB / 446.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.689e-06/0.475, allocations: 0 / 0.6118 GB, free: 5.395 MB / 446.1 MB Notification: Performance of FrontEnd: time 2.074e-06/0.475, allocations: 0 / 0.6118 GB, free: 5.395 MB / 446.1 MB Notification: Performance of Transformations before backend: time 7.144e-06/0.475, allocations: 0 / 0.6118 GB, free: 5.395 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.001056/0.4761, allocations: 0.5579 MB / 0.6123 GB, free: 4.785 MB / 446.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.803e-05/0.4761, allocations: 8.875 kB / 0.6123 GB, free: 4.777 MB / 446.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001584/0.4763, allocations: 28.69 kB / 0.6123 GB, free: 4.75 MB / 446.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.4765, allocations: 228 kB / 0.6126 GB, free: 4.488 MB / 446.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001197/0.4766, allocations: 127.9 kB / 0.6127 GB, free: 4.34 MB / 446.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.073e-05/0.4767, allocations: 24.5 kB / 0.6127 GB, free: 4.316 MB / 446.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004704/0.4772, allocations: 326.8 kB / 0.613 GB, free: 3.977 MB / 446.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.125e-05/0.4772, allocations: 3.938 kB / 0.613 GB, free: 3.973 MB / 446.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.585e-05/0.4772, allocations: 12 kB / 0.613 GB, free: 3.961 MB / 446.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.983e-05/0.4773, allocations: 4 kB / 0.613 GB, free: 3.957 MB / 446.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007407/0.478, allocations: 0.7352 MB / 0.6137 GB, free: 3.219 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.001221/0.4792, allocations: 1.226 MB / 0.6149 GB, free: 1.875 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003587/0.4796, allocations: 179.7 kB / 0.6151 GB, free: 1.695 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/0.4797, allocations: 85.47 kB / 0.6152 GB, free: 1.609 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002191/0.4819, allocations: 2.703 MB / 0.6178 GB, free: 14.39 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.483e-05/0.482, allocations: 38.12 kB / 0.6179 GB, free: 14.35 MB / 462.1 MB Notification: Performance of pre-optimization done (n=13): time 1.984e-06/0.482, allocations: 0 / 0.6179 GB, free: 14.35 MB / 462.1 MB Notification: Performance of matching and sorting (n=14): time 0.0008022/0.4828, allocations: 212.8 kB / 0.6181 GB, free: 14.13 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.313e-05/0.4829, allocations: 59.34 kB / 0.6181 GB, free: 14.06 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001843/0.4831, allocations: 216.1 kB / 0.6183 GB, free: 13.84 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 2.586e-05/0.4831, allocations: 33.7 kB / 0.6184 GB, free: 13.8 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.000118/0.4832, allocations: 210.8 kB / 0.6186 GB, free: 13.59 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.731e-05/0.4833, allocations: 51.27 kB / 0.6186 GB, free: 13.54 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.681e-05/0.4833, allocations: 41.69 kB / 0.6187 GB, free: 13.49 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 9.969e-05/0.4834, allocations: 326.8 kB / 0.619 GB, free: 13.16 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.438e-05/0.4835, allocations: 52.84 kB / 0.619 GB, free: 13.11 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002347/0.4838, allocations: 317.2 kB / 0.6193 GB, free: 12.68 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004332/0.4842, allocations: 432.9 kB / 0.6197 GB, free: 12.12 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.418e-06/0.4842, allocations: 0 / 0.6197 GB, free: 12.12 MB / 462.1 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005502/0.4848, allocations: 377.6 kB / 0.6201 GB, free: 11.75 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.854e-05/0.4848, allocations: 8 kB / 0.6201 GB, free: 11.74 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.366e-05/0.4848, allocations: 8 kB / 0.6201 GB, free: 11.73 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.023e-05/0.4848, allocations: 12 kB / 0.6201 GB, free: 11.72 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003326/0.4852, allocations: 111.8 kB / 0.6202 GB, free: 11.61 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.888e-05/0.4852, allocations: 19.92 kB / 0.6203 GB, free: 11.59 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.4855, allocations: 23.94 kB / 0.6203 GB, free: 11.57 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.949e-05/0.4855, allocations: 31.94 kB / 0.6203 GB, free: 11.54 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.0001157/0.4856, allocations: 149.8 kB / 0.6204 GB, free: 11.38 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.897e-05/0.4857, allocations: 23.8 kB / 0.6205 GB, free: 11.36 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002919/0.486, allocations: 155.3 kB / 0.6206 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.084e-05/0.486, allocations: 3.938 kB / 0.6206 GB, free: 11.2 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.69e-06/0.486, allocations: 4 kB / 0.6206 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.669e-06/0.486, allocations: 3.984 kB / 0.6206 GB, free: 11.19 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004955/0.4865, allocations: 432.1 kB / 0.621 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.154e-06/0.4865, allocations: 0 / 0.621 GB, free: 10.7 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001442/0.4867, allocations: 31.92 kB / 0.6211 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.416e-06/0.4867, allocations: 0 / 0.6211 GB, free: 10.67 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.013e-05/0.4867, allocations: 12.06 kB / 0.6211 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.154e-06/0.4867, allocations: 0 / 0.6211 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.826e-06/0.4867, allocations: 4 kB / 0.6211 GB, free: 10.66 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002112/0.4869, allocations: 224.8 kB / 0.6213 GB, free: 10.41 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.794e-05/0.487, allocations: 108.9 kB / 0.6214 GB, free: 10.29 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.383e-05/0.4871, allocations: 11.98 kB / 0.6214 GB, free: 10.28 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000203/0.4873, allocations: 8 kB / 0.6214 GB, free: 10.27 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.382e-05/0.4873, allocations: 11.98 kB / 0.6214 GB, free: 10.26 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.895e-05/0.4873, allocations: 11.98 kB / 0.6214 GB, free: 10.25 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.4875, allocations: 144.5 kB / 0.6216 GB, free: 10.1 MB / 462.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4875, allocations: 0 / 0.6216 GB, free: 10.1 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0004781/0.488, allocations: 99.98 kB / 0.6217 GB, free: 10 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.0002825/0.4883, allocations: 155.2 kB / 0.6218 GB, free: 9.844 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.0002884/0.4886, allocations: 183.8 kB / 0.622 GB, free: 9.668 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.077e-06/0.4886, allocations: 4 kB / 0.622 GB, free: 9.664 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 5.286e-05/0.4886, allocations: 36.42 kB / 0.622 GB, free: 9.629 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004546/0.4891, allocations: 56.41 kB / 0.6221 GB, free: 9.574 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009186/0.49, allocations: 0.6396 MB / 0.6227 GB, free: 8.887 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000256/0.4903, allocations: 0.7326 MB / 0.6234 GB, free: 8.125 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.591e-05/0.4904, allocations: 31.42 kB / 0.6235 GB, free: 8.094 MB / 462.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4904, allocations: 3.938 kB / 0.6235 GB, free: 8.09 MB / 462.1 MB Notification: Performance of Templates: time 0.005545/0.4959, allocations: 3.292 MB / 0.6267 GB, free: 4.816 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/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches