Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/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_4.0.0_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_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001206/0.001206, allocations: 186.9 kB / 17.97 MB, free: 3.797 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.325/1.325, allocations: 222.9 MB / 241.6 MB, free: 10.97 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009366/0.0009366, allocations: 107.4 kB / 291.9 MB, free: 10.93 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.3136/0.3136, allocations: 44.13 MB / 386.1 MB, free: 37.9 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.001017/0.001017, allocations: 47.92 kB / 457.7 MB, free: 2.312 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3427/0.3437, allocations: 60.81 MB / 0.5064 GB, free: 38.43 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestAllProperties.SimpleAir): time 0.1426/0.4864, allocations: 134 MB / 0.6373 GB, free: 9.672 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.004887/0.4913, allocations: 4.757 MB / 0.6419 GB, free: 4.898 MB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.124e-05/0.4914, allocations: 0 / 0.6419 GB, free: 4.898 MB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003774/0.4918, allocations: 47.72 kB / 0.642 GB, free: 4.852 MB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.001464/0.4934, allocations: 0.6726 MB / 0.6426 GB, free: 4.176 MB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003664/0.4937, allocations: 161.1 kB / 0.6428 GB, free: 4.023 MB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005253/0.4943, allocations: 442.1 kB / 0.6432 GB, free: 3.59 MB / 458.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.225e-05/0.4943, allocations: 9.688 kB / 0.6432 GB, free: 3.582 MB / 458.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002023/0.4945, allocations: 155.3 kB / 0.6434 GB, free: 3.43 MB / 458.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003119/0.4949, allocations: 199.4 kB / 0.6435 GB, free: 3.234 MB / 458.7 MB Notification: Performance of NFPackage.collectConstants: time 2.868e-05/0.4949, allocations: 8 kB / 0.6436 GB, free: 3.227 MB / 458.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001198/0.4961, allocations: 0.7135 MB / 0.6443 GB, free: 2.512 MB / 458.7 MB Notification: Performance of NFScalarize.scalarize: time 8.668e-05/0.4962, allocations: 47.75 kB / 0.6443 GB, free: 2.465 MB / 458.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001132/0.4963, allocations: 103.5 kB / 0.6444 GB, free: 2.363 MB / 458.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0006549/0.497, allocations: 464.9 kB / 0.6448 GB, free: 1.91 MB / 458.7 MB Notification: Performance of FrontEnd - DAE generated: time 5.641e-06/0.497, allocations: 0 / 0.6448 GB, free: 1.91 MB / 458.7 MB Notification: Performance of FrontEnd: time 1.343e-06/0.497, allocations: 0 / 0.6448 GB, free: 1.91 MB / 458.7 MB Notification: Performance of Transformations before backend: time 5.56e-06/0.497, allocations: 0 / 0.6448 GB, free: 1.91 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.001051/0.4981, allocations: 0.597 MB / 0.6454 GB, free: 1.266 MB / 458.7 MB Notification: Performance of prepare preOptimizeDAE: time 3.666e-05/0.4981, allocations: 12.03 kB / 0.6454 GB, free: 1.254 MB / 458.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001481/0.4983, allocations: 24.75 kB / 0.6455 GB, free: 1.23 MB / 458.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002349/0.4985, allocations: 224.1 kB / 0.6457 GB, free: 0.9727 MB / 458.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001804/0.4987, allocations: 131.9 kB / 0.6458 GB, free: 0.8164 MB / 458.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.891e-05/0.4988, allocations: 20.38 kB / 0.6458 GB, free: 0.7969 MB / 458.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004607/0.4992, allocations: 330.8 kB / 0.6461 GB, free: 460 kB / 458.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.148e-05/0.4992, allocations: 0 / 0.6461 GB, free: 460 kB / 458.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.606e-05/0.4993, allocations: 15.94 kB / 0.6461 GB, free: 444 kB / 458.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.861e-05/0.4993, allocations: 4 kB / 0.6462 GB, free: 440 kB / 458.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007643/0.5001, allocations: 0.743 MB / 0.6469 GB, free: 15.69 MB / 474.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.00122/0.5013, allocations: 1.226 MB / 0.6481 GB, free: 14.35 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003669/0.5017, allocations: 175.8 kB / 0.6482 GB, free: 14.17 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001351/0.5018, allocations: 93.41 kB / 0.6483 GB, free: 14.08 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002157/0.504, allocations: 2.691 MB / 0.651 GB, free: 10.88 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.781e-05/0.504, allocations: 38.56 kB / 0.651 GB, free: 10.83 MB / 474.7 MB Notification: Performance of pre-optimization done (n=13): time 1.533e-06/0.504, allocations: 0 / 0.651 GB, free: 10.83 MB / 474.7 MB Notification: Performance of matching and sorting (n=14): time 0.0005575/0.5046, allocations: 224.2 kB / 0.6512 GB, free: 10.61 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.252e-05/0.5046, allocations: 55.41 kB / 0.6513 GB, free: 10.54 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001733/0.5048, allocations: 210.6 kB / 0.6515 GB, free: 10.33 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 3.305e-05/0.5049, allocations: 29.7 kB / 0.6515 GB, free: 10.29 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001148/0.505, allocations: 214.8 kB / 0.6517 GB, free: 10.08 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 4.469e-05/0.505, allocations: 55.25 kB / 0.6517 GB, free: 10.02 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.705e-05/0.5051, allocations: 82.03 kB / 0.6518 GB, free: 9.938 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 0.0001206/0.5053, allocations: 326.8 kB / 0.6521 GB, free: 9.609 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.95e-05/0.5054, allocations: 52.84 kB / 0.6522 GB, free: 9.559 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002705/0.5056, allocations: 332 kB / 0.6525 GB, free: 9.098 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004036/0.506, allocations: 430 kB / 0.6529 GB, free: 8.539 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.876e-06/0.5061, allocations: 4 kB / 0.6529 GB, free: 8.535 MB / 474.7 MB Notification: Performance of matching and sorting (n=52) (initialization): time 0.0005197/0.5066, allocations: 385.7 kB / 0.6533 GB, free: 8.152 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.898e-05/0.5066, allocations: 8 kB / 0.6533 GB, free: 8.145 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.605e-05/0.5066, allocations: 12.09 kB / 0.6533 GB, free: 8.133 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.585e-05/0.5067, allocations: 19.94 kB / 0.6533 GB, free: 8.113 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003032/0.507, allocations: 107.8 kB / 0.6534 GB, free: 8.008 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 2.962e-05/0.507, allocations: 27.86 kB / 0.6535 GB, free: 7.98 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001997/0.5072, allocations: 23.91 kB / 0.6535 GB, free: 7.957 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.225e-05/0.5073, allocations: 28 kB / 0.6535 GB, free: 7.93 MB / 474.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 45 * 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.0001071/0.5074, allocations: 145.6 kB / 0.6536 GB, free: 7.777 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.724e-05/0.5074, allocations: 23.8 kB / 0.6537 GB, free: 7.754 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002632/0.5077, allocations: 147.8 kB / 0.6538 GB, free: 7.602 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.985e-06/0.5077, allocations: 0 / 0.6538 GB, free: 7.602 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.699e-06/0.5077, allocations: 0 / 0.6538 GB, free: 7.602 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.161e-06/0.5077, allocations: 7.984 kB / 0.6538 GB, free: 7.594 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005271/0.5083, allocations: 448 kB / 0.6542 GB, free: 7.094 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.714e-06/0.5083, allocations: 0 / 0.6542 GB, free: 7.094 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001499/0.5085, allocations: 27.98 kB / 0.6543 GB, free: 7.066 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.124e-06/0.5085, allocations: 0 / 0.6543 GB, free: 7.066 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.261e-05/0.5085, allocations: 4 kB / 0.6543 GB, free: 7.062 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.675e-06/0.5085, allocations: 4 kB / 0.6543 GB, free: 7.059 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.305e-06/0.5085, allocations: 0 / 0.6543 GB, free: 7.059 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005123/0.509, allocations: 0.8151 MB / 0.6551 GB, free: 6.18 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.434e-05/0.5091, allocations: 100.8 kB / 0.6552 GB, free: 6.062 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.414e-05/0.5092, allocations: 7.938 kB / 0.6552 GB, free: 6.055 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000193/0.5094, allocations: 11.98 kB / 0.6552 GB, free: 6.043 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.642e-05/0.5094, allocations: 19.86 kB / 0.6552 GB, free: 6.023 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.703e-05/0.5094, allocations: 8 kB / 0.6552 GB, free: 6.016 MB / 474.7 MB Notification: Performance of sorting global known variables: time 0.000121/0.5095, allocations: 148.5 kB / 0.6554 GB, free: 5.871 MB / 474.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5096, allocations: 0 / 0.6554 GB, free: 5.871 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0005331/0.5101, allocations: 92 kB / 0.6554 GB, free: 5.781 MB / 474.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 (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.0003458/0.5104, allocations: 159.7 kB / 0.6556 GB, free: 5.613 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0002974/0.5108, allocations: 181.9 kB / 0.6558 GB, free: 5.441 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 2.735e-06/0.5108, allocations: 4 kB / 0.6558 GB, free: 5.438 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 5.453e-05/0.5108, allocations: 31.92 kB / 0.6558 GB, free: 5.406 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000412/0.5112, allocations: 56.58 kB / 0.6559 GB, free: 5.352 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008857/0.5121, allocations: 0.6828 MB / 0.6565 GB, free: 4.621 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002444/0.5124, allocations: 0.7287 MB / 0.6572 GB, free: 3.863 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0002408/0.5126, allocations: 54.83 kB / 0.6573 GB, free: 3.812 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.173e-05/0.5127, allocations: 27.42 kB / 0.6573 GB, free: 3.785 MB / 474.7 MB Notification: Performance of SimCode: time 2.1e-07/0.5127, allocations: 8 kB / 0.6573 GB, free: 3.777 MB / 474.7 MB Notification: Performance of Templates: time 0.005798/0.5185, allocations: 3.111 MB / 0.6604 GB, free: 0.6992 MB / 474.7 MB make -j1 -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.makefile (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.sim & ./ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.pipe 2>&1) diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork@2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestAllProperties/SimpleAir/SimpleAir.csv","../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestAllProperties.SimpleAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches