Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2") translateModel(ModelicaTest.Media.TestOnly.IdealGasN2,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p",fileNamePrefix="ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.002123/0.002122, allocations: 177.8 kB / 8.363 MB, free: 0.7148 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.137/2.137, allocations: 205.3 MB / 214.1 MB, free: 14.14 MB / 187.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001132/0.001132, allocations: 92.86 kB / 262.1 MB, free: 13.88 MB / 219.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3476/0.3476, allocations: 43.49 MB / 353.6 MB, free: 2.277 MB / 299.1 MB Notification: Performance of FrontEnd - loaded program: time 1.995e-05/2.008e-05, allocations: 3.984 kB / 418.2 MB, free: 41.05 MB / 299.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.405/0.405, allocations: 58.85 MB / 477.1 MB, free: 5.281 MB / 315.1 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.3/1.705, allocations: 460.5 MB / 0.9156 GB, free: 98.25 MB / 0.4952 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002567/1.705, allocations: 73.52 kB / 0.9157 GB, free: 98.21 MB / 0.4952 GB Notification: Performance of FrontEnd - DAE generated: time 0.1004/1.806, allocations: 29.29 MB / 0.9443 GB, free: 74.39 MB / 0.4952 GB Notification: Performance of FrontEnd: time 1.744e-06/1.806, allocations: 0 / 0.9443 GB, free: 74.39 MB / 0.4952 GB Notification: Performance of Transformations before backend: time 1.34e-05/1.806, allocations: 4 kB / 0.9443 GB, free: 74.39 MB / 0.4952 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004551/1.806, allocations: 382.2 kB / 0.9447 GB, free: 73.98 MB / 0.4952 GB Notification: Performance of prepare preOptimizeDAE: time 4.282e-05/1.806, allocations: 12.03 kB / 0.9447 GB, free: 73.97 MB / 0.4952 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002683/1.809, allocations: 175.2 kB / 0.9449 GB, free: 73.81 MB / 0.4952 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002737/1.809, allocations: 201.7 kB / 0.9451 GB, free: 73.59 MB / 0.4952 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.383e-05/1.809, allocations: 4 kB / 0.9451 GB, free: 73.59 MB / 0.4952 GB Notification: Performance of preOpt expandDerOperator (simulation): time 6.441e-05/1.81, allocations: 7.953 kB / 0.9451 GB, free: 73.58 MB / 0.4952 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0004362/1.81, allocations: 152.6 kB / 0.9452 GB, free: 73.48 MB / 0.4952 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002742/1.81, allocations: 137.9 kB / 0.9453 GB, free: 73.36 MB / 0.4952 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.188e-05/1.81, allocations: 0 / 0.9453 GB, free: 73.36 MB / 0.4952 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.052e-05/1.81, allocations: 0 / 0.9453 GB, free: 73.36 MB / 0.4952 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.934e-06/1.81, allocations: 4 kB / 0.9454 GB, free: 73.36 MB / 0.4952 GB Warning: The model contains alias variables with conflicting start and/or 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.001206/1.812, allocations: 0.5374 MB / 0.9459 GB, free: 72.82 MB / 0.4952 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003191/1.812, allocations: 123.6 kB / 0.946 GB, free: 72.73 MB / 0.4952 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001316/1.812, allocations: 59.52 kB / 0.9461 GB, free: 72.69 MB / 0.4952 GB Notification: Performance of preOpt evalFunc (simulation): time 4.01e-05/1.812, allocations: 4 kB / 0.9461 GB, free: 72.69 MB / 0.4952 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.109e-05/1.812, allocations: 42.89 kB / 0.9461 GB, free: 72.64 MB / 0.4952 GB Notification: Performance of pre-optimization done (n=14): time 2.194e-06/1.812, allocations: 0 / 0.9461 GB, free: 72.64 MB / 0.4952 GB Notification: Performance of matching and sorting (n=19): time 0.006116/1.818, allocations: 0.8902 MB / 0.947 GB, free: 71.78 MB / 0.4952 GB Notification: Performance of inlineWhenForInitialization (initialization): time 2.238e-05/1.818, allocations: 55.41 kB / 0.947 GB, free: 71.71 MB / 0.4952 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.138e-05/1.818, allocations: 108 kB / 0.9471 GB, free: 71.61 MB / 0.4952 GB Notification: Performance of collectPreVariables (initialization): time 3.133e-05/1.818, allocations: 25.7 kB / 0.9471 GB, free: 71.58 MB / 0.4952 GB Notification: Performance of collectInitialEqns (initialization): time 4.651e-05/1.818, allocations: 158.4 kB / 0.9473 GB, free: 71.42 MB / 0.4952 GB Notification: Performance of collectInitialBindings (initialization): time 7.843e-05/1.819, allocations: 73.5 kB / 0.9474 GB, free: 71.36 MB / 0.4952 GB Notification: Performance of simplifyInitialFunctions (initialization): time 2.402e-05/1.819, allocations: 0 / 0.9474 GB, free: 71.36 MB / 0.4952 GB Notification: Performance of setup shared object (initialization): time 5.831e-05/1.819, allocations: 322.4 kB / 0.9477 GB, free: 71.04 MB / 0.4952 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001427/1.819, allocations: 62.36 kB / 0.9477 GB, free: 71 MB / 0.4952 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001598/1.819, allocations: 88.34 kB / 0.9478 GB, free: 70.93 MB / 0.4952 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001723/1.819, allocations: 69.59 kB / 0.9479 GB, free: 70.88 MB / 0.4952 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.284e-06/1.819, allocations: 0 / 0.9479 GB, free: 70.88 MB / 0.4952 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005253/1.82, allocations: 234.8 kB / 0.9481 GB, free: 70.7 MB / 0.4952 GB Notification: Performance of prepare postOptimizeDAE: time 1.884e-05/1.82, allocations: 8 kB / 0.9481 GB, free: 70.69 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.664e-06/1.82, allocations: 3.984 kB / 0.9481 GB, free: 70.68 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001885/1.82, allocations: 40.36 kB / 0.9482 GB, free: 70.64 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005227/1.821, allocations: 51.91 kB / 0.9482 GB, free: 70.59 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003916/1.821, allocations: 0.5743 MB / 0.9488 GB, free: 70.01 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00027/1.821, allocations: 11.92 kB / 0.9488 GB, free: 70 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.575e-05/1.821, allocations: 20 kB / 0.9488 GB, free: 69.98 MB / 0.4952 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {1 1} Notification: Performance of prepare postOptimizeDAE: time 0.0001113/1.821, allocations: 112.5 kB / 0.9489 GB, free: 69.86 MB / 0.4952 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.923e-05/1.821, allocations: 11.86 kB / 0.9489 GB, free: 69.85 MB / 0.4952 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0009958/1.822, allocations: 323.5 kB / 0.9492 GB, free: 69.59 MB / 0.4952 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.281e-06/1.823, allocations: 4 kB / 0.9492 GB, free: 69.59 MB / 0.4952 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.823e-06/1.823, allocations: 0 / 0.9492 GB, free: 69.59 MB / 0.4952 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.272e-06/1.823, allocations: 7.984 kB / 0.9492 GB, free: 69.58 MB / 0.4952 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001029/1.824, allocations: 0.5666 MB / 0.9498 GB, free: 69.04 MB / 0.4952 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.318e-06/1.824, allocations: 0 / 0.9498 GB, free: 69.04 MB / 0.4952 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005684/1.824, allocations: 59.95 kB / 0.9498 GB, free: 68.98 MB / 0.4952 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.000106/1.824, allocations: 24.38 kB / 0.9499 GB, free: 68.95 MB / 0.4952 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.064e-05/1.824, allocations: 15.48 kB / 0.9499 GB, free: 68.94 MB / 0.4952 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0007888/1.825, allocations: 1.228 MB / 0.9511 GB, free: 67.64 MB / 0.4952 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.429e-06/1.825, allocations: 3.984 kB / 0.9511 GB, free: 67.64 MB / 0.4952 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006963/1.826, allocations: 432.3 kB / 0.9515 GB, free: 67.24 MB / 0.4952 GB Notification: Performance of postOpt removeConstants (simulation): time 4.425e-05/1.826, allocations: 92.94 kB / 0.9516 GB, free: 67.13 MB / 0.4952 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.408e-05/1.826, allocations: 4 kB / 0.9516 GB, free: 67.13 MB / 0.4952 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000339/1.826, allocations: 0 / 0.9516 GB, free: 67.13 MB / 0.4952 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.862e-05/1.826, allocations: 23.59 kB / 0.9516 GB, free: 67.11 MB / 0.4952 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.835e-05/1.826, allocations: 27.98 kB / 0.9516 GB, free: 67.08 MB / 0.4952 GB Notification: Performance of sorting global known variables: time 5.919e-05/1.827, allocations: 82.28 kB / 0.9517 GB, free: 67 MB / 0.4952 GB Notification: Performance of sort global known variables: time 4.31e-07/1.827, allocations: 4 kB / 0.9517 GB, free: 67 MB / 0.4952 GB Notification: Performance of remove unused functions: time 0.0006519/1.827, allocations: 108.9 kB / 0.9518 GB, free: 66.91 MB / 0.4952 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 2 (medium.p,medium.T) * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (21): * Single equations (assignments): 20 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 1 {(1,100.0%) 1} * Non-linear torn systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001059/1.828, allocations: 0.6222 MB / 0.9524 GB, free: 66.29 MB / 0.4952 GB Notification: Performance of simCode: created initialization part: time 0.0005169/1.829, allocations: 174.9 kB / 0.9526 GB, free: 66.16 MB / 0.4952 GB Notification: Performance of simCode: created event and clocks part: time 3.847e-06/1.829, allocations: 0 / 0.9526 GB, free: 66.16 MB / 0.4952 GB Notification: Performance of simCode: created simulation system equations: time 0.0003287/1.829, allocations: 206 kB / 0.9528 GB, free: 65.98 MB / 0.4952 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005519/1.83, allocations: 47.2 kB / 0.9528 GB, free: 65.94 MB / 0.4952 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0006932/1.83, allocations: 331.2 kB / 0.9532 GB, free: 65.6 MB / 0.4952 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000172/1.831, allocations: 0.7085 MB / 0.9539 GB, free: 64.86 MB / 0.4952 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0003594/1.831, allocations: 62.66 kB / 0.9539 GB, free: 64.8 MB / 0.4952 GB Notification: Performance of SimCode: time 7.81e-07/1.831, allocations: 0 / 0.9539 GB, free: 64.8 MB / 0.4952 GB Notification: Performance of Templates: time 0.01229/1.843, allocations: 6.382 MB / 0.9601 GB, free: 58.44 MB / 0.4952 GB make -j1 -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.makefile (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.sim & ./ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2 --alarm=480 -emit_protected > ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches