Running: ./testmodel.py --libraries=/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) Using package ModelicaTest with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo) Using package ModelicaServices with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Using package Modelica with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir") Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001096/0.001096, allocations: 200.7 kB / 17.43 MB, free: 4.277 MB / 13.93 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.323/1.323, allocations: 229.5 MB / 247.7 MB, free: 6.328 MB / 202.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007624/0.0007625, allocations: 96.28 kB / 299.9 MB, free: 5.332 MB / 234.7 MB Notification: Performance of loadFile(/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/converted-libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.327/0.327, allocations: 45.01 MB / 397 MB, free: 31.44 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003029/0.0003033, allocations: 8 kB / 470.8 MB, free: 7.094 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3275/0.3278, allocations: 63.1 MB / 0.5214 GB, free: 38.42 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1476/0.4755, allocations: 138.5 MB / 0.6566 GB, free: 11.95 MB / 474.7 MB Notification: Performance of NFInst.instExpressions: time 0.004516/0.48, allocations: 4.846 MB / 0.6614 GB, free: 6.668 MB / 474.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001155/0.4802, allocations: 4 kB / 0.6614 GB, free: 6.664 MB / 474.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0003735/0.4805, allocations: 55.77 kB / 0.6614 GB, free: 6.609 MB / 474.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002462/0.483, allocations: 0.9436 MB / 0.6624 GB, free: 5.664 MB / 474.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.000499/0.4835, allocations: 183.6 kB / 0.6625 GB, free: 5.484 MB / 474.7 MB Notification: Performance of NFFlatten.flatten: time 0.0005304/0.4841, allocations: 490.4 kB / 0.663 GB, free: 5.004 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.807e-05/0.4841, allocations: 8.719 kB / 0.663 GB, free: 5 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002766/0.4844, allocations: 143.5 kB / 0.6631 GB, free: 4.859 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002249/0.4847, allocations: 123.6 kB / 0.6633 GB, free: 4.738 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 2.992e-05/0.4847, allocations: 4 kB / 0.6633 GB, free: 4.734 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.002806/0.4875, allocations: 1.757 MB / 0.665 GB, free: 2.973 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 9.764e-05/0.4876, allocations: 79.72 kB / 0.6651 GB, free: 2.895 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 0.0001242/0.4878, allocations: 125.3 kB / 0.6652 GB, free: 2.766 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00188/0.4897, allocations: 1.13 MB / 0.6663 GB, free: 1.633 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.292e-06/0.4897, allocations: 0 / 0.6663 GB, free: 1.633 MB / 474.7 MB Notification: Performance of FrontEnd: time 2.425e-06/0.4897, allocations: 0 / 0.6663 GB, free: 1.633 MB / 474.7 MB Notification: Performance of Transformations before backend: time 8.506e-06/0.4897, allocations: 0 / 0.6663 GB, free: 1.633 MB / 474.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 45 * Number of variables: 45 Notification: Performance of Generate backend data structure: time 0.001208/0.4909, allocations: 0.4994 MB / 0.6668 GB, free: 1.086 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.859e-05/0.491, allocations: 11.97 kB / 0.6668 GB, free: 1.074 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.003528/0.4945, allocations: 388.2 kB / 0.6671 GB, free: 0.6953 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003839/0.4949, allocations: 259.9 kB / 0.6674 GB, free: 412 kB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.836e-05/0.4949, allocations: 16.36 kB / 0.6674 GB, free: 396 kB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.399e-05/0.495, allocations: 23.98 kB / 0.6674 GB, free: 372 kB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009298/0.496, allocations: 481.6 kB / 0.6679 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.23e-05/0.496, allocations: 0 / 0.6679 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.497e-05/0.4961, allocations: 4 kB / 0.6679 GB, free: 15.88 MB / 490.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.029e-05/0.4961, allocations: 8 kB / 0.6679 GB, free: 15.87 MB / 490.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009946/0.4971, allocations: 0.5035 MB / 0.6684 GB, free: 15.37 MB / 490.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.002174/0.4993, allocations: 0.9968 MB / 0.6694 GB, free: 14.32 MB / 490.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005438/0.4998, allocations: 285 kB / 0.6696 GB, free: 14.02 MB / 490.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002603/0.5001, allocations: 153.7 kB / 0.6698 GB, free: 13.86 MB / 490.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.001658/0.5018, allocations: 0.98 MB / 0.6707 GB, free: 12.71 MB / 490.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.671e-05/0.5018, allocations: 34.56 kB / 0.6708 GB, free: 12.67 MB / 490.7 MB Notification: Performance of pre-optimization done (n=29): time 1.443e-06/0.5018, allocations: 0 / 0.6708 GB, free: 12.67 MB / 490.7 MB Notification: Performance of matching and sorting (n=29): time 0.0008747/0.5027, allocations: 401.8 kB / 0.6712 GB, free: 12.27 MB / 490.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.776e-05/0.5027, allocations: 81.11 kB / 0.6712 GB, free: 12.18 MB / 490.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.567e-05/0.5028, allocations: 117.8 kB / 0.6714 GB, free: 12.05 MB / 490.7 MB Notification: Performance of collectPreVariables (initialization): time 3.331e-05/0.5029, allocations: 33.7 kB / 0.6714 GB, free: 12.01 MB / 490.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.801e-05/0.5029, allocations: 112.4 kB / 0.6715 GB, free: 11.9 MB / 490.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.598e-05/0.503, allocations: 110.4 kB / 0.6716 GB, free: 11.79 MB / 490.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.97e-05/0.5031, allocations: 4 kB / 0.6716 GB, free: 11.79 MB / 490.7 MB Notification: Performance of setup shared object (initialization): time 0.0001061/0.5032, allocations: 326.8 kB / 0.6719 GB, free: 11.46 MB / 490.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002215/0.5034, allocations: 116.6 kB / 0.672 GB, free: 11.34 MB / 490.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002787/0.5037, allocations: 207.5 kB / 0.6722 GB, free: 11.11 MB / 490.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005115/0.5042, allocations: 330.7 kB / 0.6725 GB, free: 10.75 MB / 490.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.168e-06/0.5042, allocations: 0 / 0.6725 GB, free: 10.75 MB / 490.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0006784/0.5049, allocations: 381 kB / 0.6729 GB, free: 10.37 MB / 490.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.667e-05/0.5049, allocations: 4.312 kB / 0.6729 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.675e-06/0.5049, allocations: 8 kB / 0.6729 GB, free: 10.36 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.615e-05/0.505, allocations: 4 kB / 0.6729 GB, free: 10.35 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003883/0.5054, allocations: 79.83 kB / 0.673 GB, free: 10.28 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.067e-05/0.5054, allocations: 4 kB / 0.673 GB, free: 10.27 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002766/0.5057, allocations: 31.69 kB / 0.673 GB, free: 10.24 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.411e-05/0.5057, allocations: 23.98 kB / 0.673 GB, free: 10.22 MB / 490.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * 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 (39): * Single equations (assignments): 39 * Array equations: 0 * 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.0001316/0.5059, allocations: 145.7 kB / 0.6732 GB, free: 10.07 MB / 490.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.056e-05/0.5059, allocations: 11.91 kB / 0.6732 GB, free: 10.05 MB / 490.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007485/0.5067, allocations: 374 kB / 0.6736 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.438e-06/0.5067, allocations: 0 / 0.6736 GB, free: 9.684 MB / 490.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.64e-06/0.5067, allocations: 4 kB / 0.6736 GB, free: 9.68 MB / 490.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.543e-06/0.5067, allocations: 0 / 0.6736 GB, free: 9.68 MB / 490.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005513/0.5073, allocations: 372.3 kB / 0.6739 GB, free: 9.262 MB / 490.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.504e-06/0.5073, allocations: 7.938 kB / 0.6739 GB, free: 9.254 MB / 490.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003905/0.5077, allocations: 55.97 kB / 0.674 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.248e-06/0.5077, allocations: 0 / 0.674 GB, free: 9.199 MB / 490.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.439e-05/0.5078, allocations: 11.98 kB / 0.674 GB, free: 9.188 MB / 490.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.865e-06/0.5078, allocations: 0 / 0.674 GB, free: 9.188 MB / 490.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.737e-06/0.5078, allocations: 4 kB / 0.674 GB, free: 9.184 MB / 490.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000849/0.5086, allocations: 0.5605 MB / 0.6745 GB, free: 8.609 MB / 490.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.574e-05/0.5087, allocations: 88.95 kB / 0.6746 GB, free: 8.504 MB / 490.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.259e-05/0.5087, allocations: 8.062 kB / 0.6746 GB, free: 8.496 MB / 490.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003645/0.5091, allocations: 19.89 kB / 0.6747 GB, free: 8.477 MB / 490.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.568e-05/0.5092, allocations: 19.91 kB / 0.6747 GB, free: 8.457 MB / 490.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.289e-05/0.5092, allocations: 19.98 kB / 0.6747 GB, free: 8.438 MB / 490.7 MB Notification: Performance of sorting global known variables: time 5.475e-05/0.5093, allocations: 99.5 kB / 0.6748 GB, free: 8.34 MB / 490.7 MB Notification: Performance of sort global known variables: time 1.41e-07/0.5093, allocations: 4 kB / 0.6748 GB, free: 8.336 MB / 490.7 MB Notification: Performance of remove unused functions: time 0.0008915/0.5102, allocations: 235.9 kB / 0.675 GB, free: 8.105 MB / 490.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 6 (medium2.p,medium2.T,medium2.X[1],medium2.X[2],medium.p,medium.T) * 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 (29): * Single equations (assignments): 29 * Array equations: 0 * 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.001347/0.5115, allocations: 443.2 kB / 0.6754 GB, free: 7.664 MB / 490.7 MB Notification: Performance of simCode: created initialization part: time 0.0006252/0.5122, allocations: 307.8 kB / 0.6757 GB, free: 7.363 MB / 490.7 MB Notification: Performance of simCode: created event and clocks part: time 3.887e-06/0.5122, allocations: 0 / 0.6757 GB, free: 7.363 MB / 490.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002554/0.5124, allocations: 139.9 kB / 0.6759 GB, free: 7.227 MB / 490.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006652/0.5131, allocations: 84.34 kB / 0.6759 GB, free: 7.145 MB / 490.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001315/0.5144, allocations: 0.9066 MB / 0.6768 GB, free: 6.203 MB / 490.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003713/0.5148, allocations: 0.7365 MB / 0.6775 GB, free: 5.441 MB / 490.7 MB Notification: Performance of simCode: alias equations: time 0.0005178/0.5154, allocations: 77.83 kB / 0.6776 GB, free: 5.367 MB / 490.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000127/0.5155, allocations: 27.44 kB / 0.6776 GB, free: 5.34 MB / 490.7 MB Notification: Performance of SimCode: time 2.31e-07/0.5155, allocations: 4 kB / 0.6777 GB, free: 5.336 MB / 490.7 MB Notification: Performance of Templates: time 0.2231/0.7386, allocations: 8.168 MB / 0.6856 GB, free: 144.5 MB / 490.7 MB make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","../files/ModelicaTest_trunk_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches