Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001327/0.001327, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.001429/0.001429, allocations: 214.8 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.432/1.432, allocations: 230.6 MB / 258.3 MB, free: 7.754 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2327/0.2327, allocations: 46.97 MB / 361.6 MB, free: 4.027 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") translateModel(ModelicaTest.Media.TestOnly.MixIdealGasAir,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium.T|medium.p|medium2.T|medium2.X.1.|medium2.X.2.|medium2.p",fileNamePrefix="ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.002141/0.002141, allocations: 67.91 kB / 0.4973 GB, free: 7.223 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3043/0.3065, allocations: 66.03 MB / 0.5618 GB, free: 4.176 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.1733/0.4798, allocations: 131.8 MB / 0.6905 GB, free: 15.86 MB / 0.5294 GB Notification: Performance of NFInst.instExpressions: time 0.003957/0.4838, allocations: 2.921 MB / 0.6934 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 8.988e-05/0.4838, allocations: 0 / 0.6934 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0003413/0.4842, allocations: 55.67 kB / 0.6934 GB, free: 12.88 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.002772/0.487, allocations: 1.097 MB / 0.6945 GB, free: 11.78 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0005363/0.4875, allocations: 207.2 kB / 0.6947 GB, free: 11.58 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0004704/0.488, allocations: 374.6 kB / 0.6951 GB, free: 11.21 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 5.841e-05/0.488, allocations: 13.3 kB / 0.6951 GB, free: 11.2 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002658/0.4883, allocations: 159.4 kB / 0.6952 GB, free: 11.04 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.4885, allocations: 123.6 kB / 0.6953 GB, free: 10.92 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 3.383e-05/0.4885, allocations: 12 kB / 0.6953 GB, free: 10.91 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.002702/0.4912, allocations: 1.352 MB / 0.6967 GB, free: 9.555 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 0.0001153/0.4913, allocations: 87.7 kB / 0.6968 GB, free: 9.469 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 0.000132/0.4915, allocations: 99.7 kB / 0.6968 GB, free: 9.371 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.001535/0.493, allocations: 0.9804 MB / 0.6978 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 3.707e-06/0.493, allocations: 0 / 0.6978 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of FrontEnd: time 1.432e-06/0.493, allocations: 0 / 0.6978 GB, free: 8.395 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 1.073e-05/0.493, allocations: 0 / 0.6978 GB, free: 8.395 MB / 0.5294 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 47 * Number of variables: 47 Notification: Performance of Generate backend data structure: time 0.0008858/0.4939, allocations: 497.1 kB / 0.6983 GB, free: 7.879 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.856e-05/0.494, allocations: 8.031 kB / 0.6983 GB, free: 7.871 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001515/0.4955, allocations: 208.6 kB / 0.6985 GB, free: 7.668 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003954/0.4959, allocations: 209.9 kB / 0.6987 GB, free: 7.438 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.579e-05/0.4959, allocations: 12.38 kB / 0.6987 GB, free: 7.426 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 7.116e-05/0.4959, allocations: 27.98 kB / 0.6987 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007983/0.4967, allocations: 0.5798 MB / 0.6993 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.244e-05/0.4968, allocations: 0 / 0.6993 GB, free: 6.762 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.695e-05/0.4968, allocations: 11.94 kB / 0.6993 GB, free: 6.75 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.322e-05/0.4968, allocations: 7.984 kB / 0.6993 GB, free: 6.742 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0006417/0.4975, allocations: 420.4 kB / 0.6997 GB, free: 6.332 MB / 0.5294 GB 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.00175/0.4992, allocations: 0.7159 MB / 0.7004 GB, free: 5.582 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0004374/0.4997, allocations: 221.1 kB / 0.7006 GB, free: 5.348 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001928/0.4999, allocations: 121.6 kB / 0.7007 GB, free: 5.223 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001633/0.5015, allocations: 309.7 kB / 0.701 GB, free: 4.918 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.591e-05/0.5015, allocations: 42.55 kB / 0.7011 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=31): time 2.174e-06/0.5015, allocations: 0 / 0.7011 GB, free: 4.867 MB / 0.5294 GB Notification: Performance of matching and sorting (n=31): time 0.001262/0.5028, allocations: 384.1 kB / 0.7014 GB, free: 4.492 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.646e-05/0.5028, allocations: 81.11 kB / 0.7015 GB, free: 4.395 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001189/0.5029, allocations: 117.8 kB / 0.7016 GB, free: 4.27 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 4.107e-05/0.503, allocations: 33.7 kB / 0.7017 GB, free: 4.23 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 7.404e-05/0.5031, allocations: 108.6 kB / 0.7018 GB, free: 4.121 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 0.0001035/0.5032, allocations: 123 kB / 0.7019 GB, free: 4 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001137/0.5033, allocations: 66.02 kB / 0.7019 GB, free: 3.93 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001462/0.5034, allocations: 326.8 kB / 0.7023 GB, free: 3.602 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002057/0.5036, allocations: 100.1 kB / 0.7024 GB, free: 3.504 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002871/0.5039, allocations: 194.8 kB / 0.7025 GB, free: 3.277 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005059/0.5044, allocations: 308.6 kB / 0.7028 GB, free: 2.941 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.916e-06/0.5044, allocations: 4 kB / 0.7028 GB, free: 2.938 MB / 0.5294 GB Notification: Performance of matching and sorting (n=41) (initialization): time 0.0006856/0.5051, allocations: 361.1 kB / 0.7032 GB, free: 2.578 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.637e-05/0.5051, allocations: 4 kB / 0.7032 GB, free: 2.574 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.979e-06/0.5051, allocations: 4 kB / 0.7032 GB, free: 2.57 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 1.811e-05/0.5052, allocations: 4 kB / 0.7032 GB, free: 2.566 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000368/0.5055, allocations: 76.16 kB / 0.7033 GB, free: 2.492 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.186e-05/0.5055, allocations: 11.98 kB / 0.7033 GB, free: 2.48 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002257/0.5058, allocations: 27.78 kB / 0.7033 GB, free: 2.453 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.3e-05/0.5058, allocations: 16 kB / 0.7033 GB, free: 2.438 MB / 0.5294 GB 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 (40): * Single equations (assignments): 39 * 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.0001553/0.506, allocations: 145.7 kB / 0.7035 GB, free: 2.285 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001097/0.5061, allocations: 15.91 kB / 0.7035 GB, free: 2.27 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000728/0.5068, allocations: 334.3 kB / 0.7038 GB, free: 1.938 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.935e-06/0.5068, allocations: 7.984 kB / 0.7038 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.044e-06/0.5068, allocations: 0 / 0.7038 GB, free: 1.93 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 2.667e-05/0.5068, allocations: 15.84 kB / 0.7038 GB, free: 1.914 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.073e-05/0.5069, allocations: 8 kB / 0.7038 GB, free: 1.906 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003382/0.5072, allocations: 19.97 kB / 0.7038 GB, free: 1.887 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.251e-05/0.5073, allocations: 31.84 kB / 0.7039 GB, free: 1.855 MB / 0.5294 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007897/0.5081, allocations: 422.1 kB / 0.7043 GB, free: 1.441 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0008542/0.5089, allocations: 0.5809 MB / 0.7048 GB, free: 0.8438 MB / 0.5294 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0002021/0.5091, allocations: 92 kB / 0.7049 GB, free: 0.7539 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 5.378e-05/0.5092, allocations: 87.27 kB / 0.705 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of Backend: time 5.51e-07/0.5092, allocations: 0 / 0.705 GB, free: 0.668 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.001884/0.5111, allocations: 0.6126 MB / 0.7056 GB, free: 52 kB / 0.5294 GB Notification: Performance of SimCode: time 0.001372/0.5124, allocations: 1.147 MB / 0.7067 GB, free: 14.85 MB / 0.545 GB Notification: Performance of Templates: time 0.0159/0.5283, allocations: 9.418 MB / 0.7159 GB, free: 5.469 MB / 0.545 GB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.MixIdealGasAir.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 5.420455182000296]