Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) 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_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.0009835/0.0009835, allocations: 201.7 kB / 15.8 MB, free: 6.309 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.255/1.255, allocations: 226.6 MB / 243.1 MB, free: 14.28 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007498/0.0007498, allocations: 94.97 kB / 295.1 MB, free: 10.04 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1943/0.1943, allocations: 44.84 MB / 392 MB, free: 9.316 MB / 330.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002559/0.000256, allocations: 8 kB / 464.7 MB, free: 49.75 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09551/0.09578, allocations: 62.96 MB / 0.5153 GB, free: 2.758 MB / 346.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.2883/0.3841, allocations: 123.3 MB / 0.6357 GB, free: 2.137 MB / 442.7 MB Notification: Performance of NFInst.instExpressions: time 0.004101/0.3882, allocations: 4.355 MB / 0.64 GB, free: 13.78 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.311e-05/0.3884, allocations: 4 kB / 0.64 GB, free: 13.78 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002581/0.3886, allocations: 39.73 kB / 0.64 GB, free: 13.74 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001169/0.3898, allocations: 0.5908 MB / 0.6406 GB, free: 13.14 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003437/0.3901, allocations: 153 kB / 0.6407 GB, free: 13 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004014/0.3906, allocations: 390.1 kB / 0.6411 GB, free: 12.62 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.476e-05/0.3906, allocations: 17.67 kB / 0.6411 GB, free: 12.6 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001799/0.3908, allocations: 155.4 kB / 0.6413 GB, free: 12.45 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.000224/0.391, allocations: 187.4 kB / 0.6414 GB, free: 12.27 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.574e-05/0.3911, allocations: 4 kB / 0.6414 GB, free: 12.26 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009843/0.3921, allocations: 0.6083 MB / 0.642 GB, free: 11.65 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 5.793e-05/0.3921, allocations: 43.81 kB / 0.6421 GB, free: 11.61 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 5.143e-05/0.3922, allocations: 65.58 kB / 0.6421 GB, free: 11.54 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003548/0.3925, allocations: 296.9 kB / 0.6424 GB, free: 11.25 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 3.827e-06/0.3926, allocations: 0 / 0.6424 GB, free: 11.25 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.202e-06/0.3926, allocations: 4 kB / 0.6424 GB, free: 11.25 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.921e-06/0.3926, allocations: 0 / 0.6424 GB, free: 11.25 MB / 458.7 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.0008819/0.3935, allocations: 0.5576 MB / 0.643 GB, free: 10.64 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.264e-05/0.3935, allocations: 8.031 kB / 0.643 GB, free: 10.63 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001268/0.3936, allocations: 23.81 kB / 0.643 GB, free: 10.61 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002182/0.3939, allocations: 230.7 kB / 0.6432 GB, free: 10.34 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001038/0.394, allocations: 123.4 kB / 0.6433 GB, free: 10.2 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.711e-05/0.394, allocations: 24 kB / 0.6434 GB, free: 10.18 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004545/0.3945, allocations: 322.7 kB / 0.6437 GB, free: 9.832 MB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.646e-06/0.3945, allocations: 0 / 0.6437 GB, free: 9.832 MB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.715e-05/0.3945, allocations: 16 kB / 0.6437 GB, free: 9.816 MB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.934e-05/0.3945, allocations: 4 kB / 0.6437 GB, free: 9.812 MB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006977/0.3953, allocations: 0.7391 MB / 0.6444 GB, free: 9.074 MB / 458.7 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.001203/0.3965, allocations: 1.23 MB / 0.6456 GB, free: 7.727 MB / 458.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003391/0.3968, allocations: 171.7 kB / 0.6458 GB, free: 7.551 MB / 458.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001189/0.3969, allocations: 85.48 kB / 0.6459 GB, free: 7.465 MB / 458.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002031/0.399, allocations: 2.703 MB / 0.6485 GB, free: 4.25 MB / 458.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.673e-05/0.399, allocations: 38.5 kB / 0.6485 GB, free: 4.203 MB / 458.7 MB Notification: Performance of pre-optimization done (n=13): time 1.273e-06/0.399, allocations: 0 / 0.6485 GB, free: 4.203 MB / 458.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005625/0.3996, allocations: 210.9 kB / 0.6487 GB, free: 3.992 MB / 458.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.214e-05/0.3996, allocations: 55.41 kB / 0.6488 GB, free: 3.926 MB / 458.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001689/0.3998, allocations: 218.8 kB / 0.649 GB, free: 3.703 MB / 458.7 MB Notification: Performance of collectPreVariables (initialization): time 1.982e-05/0.3998, allocations: 33.69 kB / 0.649 GB, free: 3.664 MB / 458.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001162/0.4, allocations: 218.8 kB / 0.6492 GB, free: 3.441 MB / 458.7 MB Notification: Performance of collectInitialBindings (initialization): time 3.697e-05/0.4, allocations: 47.36 kB / 0.6493 GB, free: 3.395 MB / 458.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.168e-05/0.4, allocations: 8 kB / 0.6493 GB, free: 3.387 MB / 458.7 MB Notification: Performance of setup shared object (initialization): time 0.0001032/0.4001, allocations: 326.8 kB / 0.6496 GB, free: 3.059 MB / 458.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.799e-05/0.4002, allocations: 52.83 kB / 0.6497 GB, free: 3.008 MB / 458.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002208/0.4004, allocations: 313.2 kB / 0.65 GB, free: 2.57 MB / 458.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001382/0.4006, allocations: 107.8 kB / 0.6501 GB, free: 2.465 MB / 458.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.717e-06/0.4006, allocations: 4 kB / 0.6501 GB, free: 2.461 MB / 458.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.000481/0.4011, allocations: 369.1 kB / 0.6504 GB, free: 2.094 MB / 458.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.647e-05/0.4011, allocations: 9.719 kB / 0.6504 GB, free: 2.086 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.051e-05/0.4011, allocations: 12 kB / 0.6504 GB, free: 2.074 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.935e-05/0.4012, allocations: 15.95 kB / 0.6505 GB, free: 2.059 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003194/0.4015, allocations: 112.4 kB / 0.6506 GB, free: 1.949 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.624e-05/0.4015, allocations: 19.92 kB / 0.6506 GB, free: 1.93 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000215/0.4017, allocations: 24 kB / 0.6506 GB, free: 1.906 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.01e-05/0.4018, allocations: 28 kB / 0.6506 GB, free: 1.879 MB / 458.7 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.0001146/0.4019, allocations: 149.5 kB / 0.6508 GB, free: 1.723 MB / 458.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.243e-05/0.4019, allocations: 19.81 kB / 0.6508 GB, free: 1.703 MB / 458.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002649/0.4022, allocations: 156 kB / 0.6509 GB, free: 1.547 MB / 458.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.417e-06/0.4022, allocations: 7.891 kB / 0.6509 GB, free: 1.539 MB / 458.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.236e-06/0.4022, allocations: 0 / 0.6509 GB, free: 1.539 MB / 458.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.827e-06/0.4022, allocations: 4 kB / 0.6509 GB, free: 1.535 MB / 458.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004634/0.4027, allocations: 438.2 kB / 0.6514 GB, free: 1.047 MB / 458.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.853e-06/0.4027, allocations: 4.062 kB / 0.6514 GB, free: 1.043 MB / 458.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001477/0.4029, allocations: 27.98 kB / 0.6514 GB, free: 1.016 MB / 458.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.127e-06/0.4029, allocations: 3.953 kB / 0.6514 GB, free: 1.012 MB / 458.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.069e-05/0.4029, allocations: 8 kB / 0.6514 GB, free: 1.004 MB / 458.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.593e-06/0.4029, allocations: 0 / 0.6514 GB, free: 1.004 MB / 458.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.943e-06/0.4029, allocations: 1.875 kB / 0.6514 GB, free: 1.004 MB / 458.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.00019/0.4031, allocations: 224.9 kB / 0.6516 GB, free: 0.7617 MB / 458.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.005e-05/0.4032, allocations: 108.9 kB / 0.6517 GB, free: 0.6367 MB / 458.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.444e-05/0.4032, allocations: 7.953 kB / 0.6517 GB, free: 0.6289 MB / 458.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000196/0.4034, allocations: 15.92 kB / 0.6518 GB, free: 0.6133 MB / 458.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.733e-05/0.4035, allocations: 7.984 kB / 0.6518 GB, free: 0.6055 MB / 458.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.597e-05/0.4035, allocations: 8 kB / 0.6518 GB, free: 0.5977 MB / 458.7 MB Notification: Performance of sorting global known variables: time 0.00011/0.4036, allocations: 148.5 kB / 0.6519 GB, free: 464 kB / 458.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.4036, allocations: 0 / 0.6519 GB, free: 464 kB / 458.7 MB Notification: Performance of remove unused functions: time 0.0004428/0.4041, allocations: 96 kB / 0.652 GB, free: 368 kB / 458.7 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.0002031/0.4043, allocations: 147 kB / 0.6521 GB, free: 208 kB / 458.7 MB Notification: Performance of simCode: created initialization part: time 0.000266/0.4045, allocations: 184.7 kB / 0.6523 GB, free: 28 kB / 458.7 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.4046, allocations: 4.812 kB / 0.6523 GB, free: 24 kB / 458.7 MB Notification: Performance of simCode: created simulation system equations: time 5.7e-05/0.4046, allocations: 35.98 kB / 0.6524 GB, free: 15.99 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003881/0.405, allocations: 40.41 kB / 0.6524 GB, free: 15.95 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008222/0.4058, allocations: 0.6352 MB / 0.653 GB, free: 15.27 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000261/0.4061, allocations: 0.7292 MB / 0.6537 GB, free: 14.52 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.7e-05/0.4062, allocations: 31.44 kB / 0.6538 GB, free: 14.48 MB / 474.7 MB Notification: Performance of SimCode: time 2.3e-07/0.4062, allocations: 0 / 0.6538 GB, free: 14.48 MB / 474.7 MB Notification: Performance of Templates: time 0.004635/0.4108, allocations: 3.222 MB / 0.6569 GB, free: 11.28 MB / 474.7 MB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_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_cpp_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches