Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_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.0009961/0.0009961, allocations: 82.64 kB / 21.44 MB, free: 3.055 MB / 18.57 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.001283/0.001283, allocations: 166.5 kB / 24.84 MB, free: 9.18 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 0.9268/0.9268, allocations: 158.6 MB / 186.7 MB, free: 2.754 MB / 170.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1448/0.1448, allocations: 32.37 MB / 271.5 MB, free: 14.53 MB / 266.7 MB " [Timeout remaining time 180] 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 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 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.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_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.[0-9,]+.|medium2.p",fileNamePrefix="ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.583e-06/1.583e-06, allocations: 0 / 348.9 MB, free: 9.188 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 2.508e-05/2.666e-05, allocations: 4.281 kB / 348.9 MB, free: 9.184 MB / 282.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.MixIdealGasAir): time 0.3873/0.3873, allocations: 141.4 MB / 490.3 MB, free: 10.08 MB / 362.7 MB Notification: Performance of NFInst.instExpressions: time 0.003398/0.3907, allocations: 3.055 MB / 493.4 MB, free: 9.5 MB / 362.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001356/0.3908, allocations: 0 / 493.4 MB, free: 9.5 MB / 362.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0004499/0.3913, allocations: 57.73 kB / 493.4 MB, free: 9.465 MB / 362.7 MB Notification: Performance of NFTyping.typeBindings: time 0.002238/0.3935, allocations: 1.064 MB / 494.5 MB, free: 8.93 MB / 362.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003889/0.3939, allocations: 201.7 kB / 494.7 MB, free: 8.867 MB / 362.7 MB Notification: Performance of NFFlatten.flatten: time 0.0003637/0.3943, allocations: 359.5 kB / 495 MB, free: 8.746 MB / 362.7 MB Notification: Performance of NFFlatten.resolveConnections: time 5.582e-05/0.3943, allocations: 7.281 kB / 495 MB, free: 8.746 MB / 362.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002898/0.3946, allocations: 200.2 kB / 495.2 MB, free: 8.684 MB / 362.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001911/0.3948, allocations: 98.72 kB / 495.3 MB, free: 8.652 MB / 362.7 MB Notification: Performance of NFPackage.collectConstants: time 2.798e-05/0.3948, allocations: 15.16 kB / 495.3 MB, free: 8.648 MB / 362.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001906/0.3967, allocations: 1.301 MB / 496.6 MB, free: 8.203 MB / 362.7 MB Notification: Performance of NFScalarize.scalarize: time 9.646e-05/0.3968, allocations: 79.08 kB / 496.7 MB, free: 8.176 MB / 362.7 MB Notification: Performance of NFVerifyModel.verify: time 9.541e-05/0.3969, allocations: 87.91 kB / 496.8 MB, free: 8.16 MB / 362.7 MB Notification: Performance of NFConvertDAE.convert: time 0.00143/0.3984, allocations: 0.9955 MB / 497.8 MB, free: 7.812 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.3984, allocations: 3.062 kB / 497.8 MB, free: 7.812 MB / 362.7 MB Notification: Performance of FrontEnd: time 2.174e-06/0.3984, allocations: 0 / 497.8 MB, free: 7.812 MB / 362.7 MB Notification: Performance of Transformations before backend: time 7.294e-06/0.3984, allocations: 4 kB / 497.8 MB, free: 7.809 MB / 362.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.0008793/0.3993, allocations: 0.5773 MB / 498.4 MB, free: 7.316 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.549e-05/0.3993, allocations: 11.31 kB / 498.4 MB, free: 7.316 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0009154/0.4002, allocations: 234.2 kB / 498.6 MB, free: 7.23 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002609/0.4005, allocations: 192.9 kB / 498.8 MB, free: 7.066 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.368e-05/0.4005, allocations: 16 kB / 498.8 MB, free: 7.066 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.158e-05/0.4006, allocations: 20.72 kB / 498.9 MB, free: 7.066 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003115/0.4009, allocations: 462.9 kB / 499.3 MB, free: 6.684 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.117e-05/0.4009, allocations: 3.938 kB / 499.3 MB, free: 6.68 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.911e-05/0.4009, allocations: 9.594 kB / 499.3 MB, free: 6.68 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.971e-06/0.4009, allocations: 2.562 kB / 499.3 MB, free: 6.68 MB / 362.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002176/0.4011, allocations: 175.1 kB / 499.5 MB, free: 6.637 MB / 362.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.0008899/0.402, allocations: 0.7354 MB / 0.4885 GB, free: 6.152 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002063/0.4022, allocations: 178.8 kB / 0.4887 GB, free: 6.062 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.693e-05/0.4023, allocations: 81.5 kB / 0.4887 GB, free: 6.027 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0007867/0.4031, allocations: 298.6 kB / 0.489 GB, free: 5.949 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.641e-05/0.4031, allocations: 42.11 kB / 0.4891 GB, free: 5.906 MB / 362.7 MB Notification: Performance of pre-optimization done (n=29): time 4.759e-06/0.4031, allocations: 3.984 kB / 0.4891 GB, free: 5.902 MB / 362.7 MB Notification: Performance of matching and sorting (n=29): time 0.0006447/0.4038, allocations: 287.9 kB / 0.4894 GB, free: 5.797 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.527e-05/0.4038, allocations: 94.77 kB / 0.4894 GB, free: 5.691 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.91e-05/0.4038, allocations: 170 kB / 0.4896 GB, free: 5.523 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 2.206e-05/0.4039, allocations: 32.11 kB / 0.4896 GB, free: 5.492 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.704e-05/0.4039, allocations: 162.2 kB / 0.4898 GB, free: 5.34 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.702e-05/0.404, allocations: 112.6 kB / 0.4899 GB, free: 5.258 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 7.384e-05/0.404, allocations: 69.84 kB / 0.49 GB, free: 5.227 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.615e-05/0.4041, allocations: 0.4948 MB / 0.4904 GB, free: 4.73 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.096e-05/0.4042, allocations: 46.09 kB / 0.4905 GB, free: 4.723 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.238e-05/0.4042, allocations: 177 kB / 0.4907 GB, free: 4.559 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001733/0.4044, allocations: 244.7 kB / 0.4909 GB, free: 4.395 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.324e-06/0.4044, allocations: 0 / 0.4909 GB, free: 4.395 MB / 362.7 MB Notification: Performance of matching and sorting (n=39) (initialization): time 0.0002815/0.4047, allocations: 262.3 kB / 0.4911 GB, free: 4.309 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.771e-05/0.4047, allocations: 5.625 kB / 0.4911 GB, free: 4.309 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.175e-06/0.4047, allocations: 10.89 kB / 0.4912 GB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.294e-05/0.4047, allocations: 5.344 kB / 0.4912 GB, free: 4.301 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001813/0.4049, allocations: 74.31 kB / 0.4912 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.054e-06/0.4049, allocations: 3.062 kB / 0.4912 GB, free: 4.285 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001058/0.405, allocations: 30.72 kB / 0.4913 GB, free: 4.27 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.137e-05/0.4051, allocations: 18.27 kB / 0.4913 GB, free: 4.266 MB / 362.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 8.401e-05/0.4052, allocations: 180.1 kB / 0.4915 GB, free: 4.094 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.418e-05/0.4052, allocations: 27.3 kB / 0.4915 GB, free: 4.086 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003053/0.4055, allocations: 255.2 kB / 0.4917 GB, free: 3.996 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.13e-06/0.4055, allocations: 6.656 kB / 0.4917 GB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.976e-06/0.4055, allocations: 2.312 kB / 0.4917 GB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.428e-06/0.4055, allocations: 0 / 0.4917 GB, free: 3.992 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002836/0.4058, allocations: 206.7 kB / 0.4919 GB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.217e-06/0.4058, allocations: 0 / 0.4919 GB, free: 3.844 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001621/0.406, allocations: 52.16 kB / 0.492 GB, free: 3.836 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.857e-06/0.406, allocations: 2.906 kB / 0.492 GB, free: 3.836 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.911e-05/0.406, allocations: 10.39 kB / 0.492 GB, free: 3.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.517e-06/0.406, allocations: 6.844 kB / 0.492 GB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.406, allocations: 0 / 0.492 GB, free: 3.828 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003559/0.4064, allocations: 0.5367 MB / 0.4925 GB, free: 3.465 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.377e-05/0.4064, allocations: 16.84 kB / 0.4925 GB, free: 3.453 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.419e-05/0.4064, allocations: 13.67 kB / 0.4926 GB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001411/0.4066, allocations: 8.906 kB / 0.4926 GB, free: 3.449 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.863e-05/0.4066, allocations: 27.67 kB / 0.4926 GB, free: 3.434 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.186e-05/0.4066, allocations: 15.48 kB / 0.4926 GB, free: 3.43 MB / 362.7 MB Notification: Performance of sorting global known variables: time 2.448e-05/0.4066, allocations: 128.6 kB / 0.4927 GB, free: 3.312 MB / 362.7 MB Notification: Performance of sort global known variables: time 5e-08/0.4066, allocations: 0 / 0.4927 GB, free: 3.312 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0007375/0.4074, allocations: 232 kB / 0.4929 GB, free: 3.266 MB / 362.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.0006443/0.408, allocations: 446 kB / 0.4934 GB, free: 3.047 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0002088/0.4082, allocations: 174.2 kB / 0.4935 GB, free: 2.996 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.374e-06/0.4082, allocations: 0 / 0.4935 GB, free: 2.996 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 8.536e-05/0.4083, allocations: 106.5 kB / 0.4936 GB, free: 2.961 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003912/0.4087, allocations: 99.98 kB / 0.4937 GB, free: 2.922 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008741/0.4096, allocations: 0.5739 MB / 0.4943 GB, free: 2.492 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 5.494e-05/0.4096, allocations: 82.86 kB / 0.4944 GB, free: 2.414 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 0.0001855/0.4098, allocations: 58.89 kB / 0.4944 GB, free: 2.383 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002467/0.4101, allocations: 186.2 kB / 0.4946 GB, free: 2.277 MB / 362.7 MB Notification: Performance of SimCode: time 5.41e-07/0.4101, allocations: 0 / 0.4946 GB, free: 2.277 MB / 362.7 MB Notification: Performance of Templates: time 0.0122/0.4223, allocations: 10.03 MB / 0.5044 GB, free: 8.824 MB / 378.7 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.makefile [Timeout 660] (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.sim & ./ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir -abortSlowSimulation -alarm=240 -emit_protected -lv LOG_STATS > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir.pipe 2>&1) [Timeout 240] diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.MixIdealGasAir_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/MixIdealGasAir/MixIdealGasAir.csv","",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) [Timeout 660] "" [Timeout remaining time 660] Reference file matches [Calling sys.exit(0), Time elapsed: 3.813931653276086]