Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.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.001404/0.001404, allocations: 112.2 kB / 21.94 MB, free: 12 kB / 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.001476/0.001476, allocations: 200.8 kB / 25.24 MB, free: 3.539 MB / 14.72 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 1.445/1.445, allocations: 207.6 MB / 236 MB, free: 10.87 MB / 190.1 MB " [Timeout remaining time 178] 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(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") translateModel(Modelica.Media.Examples.MixtureGases,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|medium1.T|medium1.p|medium2.T|medium2.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.MixtureGases") [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.1.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001864/0.001864, allocations: 58.67 kB / 348.4 MB, free: 9.738 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2783/0.2802, allocations: 49.16 MB / 397.6 MB, free: 9.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.MixtureGases): time 0.1888/0.469, allocations: 154.8 MB / 0.5394 GB, free: 8.051 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.004206/0.4732, allocations: 3.057 MB / 0.5424 GB, free: 4.984 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.00017/0.4733, allocations: 3.938 kB / 0.5424 GB, free: 4.98 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005892/0.4739, allocations: 115.4 kB / 0.5425 GB, free: 4.867 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.003286/0.4772, allocations: 1.245 MB / 0.5438 GB, free: 3.621 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001204/0.4784, allocations: 390.8 kB / 0.5441 GB, free: 3.238 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0007531/0.4792, allocations: 470.8 kB / 0.5446 GB, free: 2.777 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.264e-05/0.4792, allocations: 5.75 kB / 0.5446 GB, free: 2.773 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004466/0.4797, allocations: 231.1 kB / 0.5448 GB, free: 2.547 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002558/0.4799, allocations: 147.5 kB / 0.5449 GB, free: 2.402 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 4.029e-05/0.48, allocations: 16 kB / 0.545 GB, free: 2.387 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.004795/0.4848, allocations: 2.272 MB / 0.5472 GB, free: 116 kB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0002122/0.485, allocations: 135.7 kB / 0.5473 GB, free: 15.98 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002619/0.4852, allocations: 167.3 kB / 0.5475 GB, free: 15.82 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.003373/0.4886, allocations: 1.551 MB / 0.549 GB, free: 14.25 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.855e-06/0.4886, allocations: 4 kB / 0.549 GB, free: 14.25 MB / 478.1 MB Notification: Performance of FrontEnd: time 2.204e-06/0.4886, allocations: 3.938 kB / 0.549 GB, free: 14.25 MB / 478.1 MB Notification: Performance of Transformations before backend: time 9.147e-06/0.4886, allocations: 0 / 0.549 GB, free: 14.25 MB / 478.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 75 * Number of variables: 75 Notification: Performance of Generate backend data structure: time 0.002431/0.4911, allocations: 0.6998 MB / 0.5497 GB, free: 13.51 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.557e-05/0.4911, allocations: 11.98 kB / 0.5497 GB, free: 13.5 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0007526/0.4919, allocations: 108.7 kB / 0.5498 GB, free: 13.39 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00049/0.4923, allocations: 225.7 kB / 0.55 GB, free: 13.15 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.51e-05/0.4924, allocations: 20.66 kB / 0.55 GB, free: 13.13 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.621e-05/0.4924, allocations: 31.92 kB / 0.5501 GB, free: 13.1 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001184/0.4936, allocations: 0.597 MB / 0.5506 GB, free: 12.49 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.899e-05/0.4937, allocations: 3.938 kB / 0.5506 GB, free: 12.48 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 5.683e-05/0.4937, allocations: 16 kB / 0.5507 GB, free: 12.47 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.352e-05/0.4938, allocations: 24.42 kB / 0.5507 GB, free: 12.45 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001307/0.4951, allocations: 0.638 MB / 0.5513 GB, free: 11.8 MB / 478.1 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.003223/0.4983, allocations: 1.255 MB / 0.5525 GB, free: 10.5 MB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009821/0.4993, allocations: 356.8 kB / 0.5529 GB, free: 10.13 MB / 478.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0004606/0.4997, allocations: 173.6 kB / 0.553 GB, free: 9.957 MB / 478.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.002164/0.5019, allocations: 491.3 kB / 0.5535 GB, free: 9.477 MB / 478.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.406e-05/0.5019, allocations: 42.73 kB / 0.5535 GB, free: 9.426 MB / 478.1 MB Notification: Performance of pre-optimization done (n=35): time 3.076e-06/0.5019, allocations: 0 / 0.5535 GB, free: 9.426 MB / 478.1 MB Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium1.T Please use -d=bltdump for more information. Warning: Some equations could not be differentiated for following variables having attribute stateSelect=StateSelect.prefer. They will be treated as if they had stateSelect=StateSelect.default ======================================== 1: medium2.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=48): time 0.01543/0.5174, allocations: 3.174 MB / 0.5566 GB, free: 6.117 MB / 478.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.907e-05/0.5174, allocations: 85.11 kB / 0.5567 GB, free: 6.016 MB / 478.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001942/0.5176, allocations: 179.5 kB / 0.5569 GB, free: 5.832 MB / 478.1 MB Notification: Performance of collectPreVariables (initialization): time 6.965e-05/0.5177, allocations: 37.7 kB / 0.5569 GB, free: 5.789 MB / 478.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001312/0.5178, allocations: 176.6 kB / 0.5571 GB, free: 5.609 MB / 478.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001824/0.518, allocations: 190.4 kB / 0.5573 GB, free: 5.422 MB / 478.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002219/0.5182, allocations: 114.3 kB / 0.5574 GB, free: 5.305 MB / 478.1 MB Notification: Performance of setup shared object (initialization): time 0.0001652/0.5184, allocations: 338.8 kB / 0.5577 GB, free: 4.965 MB / 478.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007787/0.5192, allocations: 269.1 kB / 0.558 GB, free: 4.699 MB / 478.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008874/0.5201, allocations: 425.5 kB / 0.5584 GB, free: 4.219 MB / 478.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00168/0.5218, allocations: 0.6952 MB / 0.5591 GB, free: 3.457 MB / 478.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.266e-06/0.5218, allocations: 4 kB / 0.5591 GB, free: 3.453 MB / 478.1 MB Notification: Performance of matching and sorting (n=72) (initialization): time 0.002062/0.5238, allocations: 0.7918 MB / 0.5598 GB, free: 2.648 MB / 478.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.371e-05/0.5238, allocations: 8.094 kB / 0.5598 GB, free: 2.641 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.869e-05/0.5239, allocations: 12 kB / 0.5599 GB, free: 2.629 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002505/0.5241, allocations: 53.69 kB / 0.5599 GB, free: 2.57 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00117/0.5253, allocations: 180 kB / 0.5601 GB, free: 2.395 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.000806/0.5261, allocations: 1.077 MB / 0.5611 GB, free: 1.266 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000794/0.5269, allocations: 44.14 kB / 0.5612 GB, free: 1.223 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.846e-05/0.527, allocations: 39.97 kB / 0.5612 GB, free: 1.184 MB / 478.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 22 * 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 (70): * Single equations (assignments): 68 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 0 systems * Non-linear torn systems (#iteration vars, #inner vars): 2 systems {(1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0003459/0.5273, allocations: 177.8 kB / 0.5614 GB, free: 1 MB / 478.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001515/0.5275, allocations: 31.81 kB / 0.5614 GB, free: 0.9688 MB / 478.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002281/0.5297, allocations: 0.7863 MB / 0.5622 GB, free: 168 kB / 478.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.516e-06/0.5298, allocations: 4 kB / 0.5622 GB, free: 164 kB / 478.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.097e-05/0.5298, allocations: 4 kB / 0.5622 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.163e-06/0.5298, allocations: 0 / 0.5622 GB, free: 160 kB / 478.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.2101/0.7398, allocations: 1.518 MB / 0.5637 GB, free: 163.9 MB / 478.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.524e-06/0.7398, allocations: 5.297 kB / 0.5637 GB, free: 163.9 MB / 478.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.00113/0.741, allocations: 152 kB / 0.5638 GB, free: 163.9 MB / 478.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0001448/0.7411, allocations: 43.2 kB / 0.5639 GB, free: 163.9 MB / 478.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.336e-05/0.7412, allocations: 27.02 kB / 0.5639 GB, free: 163.9 MB / 478.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001304/0.7425, allocations: 2.521 MB / 0.5663 GB, free: 161.3 MB / 478.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.029e-06/0.7425, allocations: 9.25 kB / 0.5664 GB, free: 161.3 MB / 478.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002566/0.7451, allocations: 1.071 MB / 0.5674 GB, free: 160.8 MB / 478.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.673e-05/0.7451, allocations: 26.66 kB / 0.5674 GB, free: 160.8 MB / 478.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.155e-05/0.7452, allocations: 18.47 kB / 0.5674 GB, free: 160.8 MB / 478.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0008266/0.746, allocations: 39.2 kB / 0.5675 GB, free: 160.8 MB / 478.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001004/0.7461, allocations: 45.23 kB / 0.5675 GB, free: 160.8 MB / 478.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 8.037e-05/0.7462, allocations: 37.72 kB / 0.5676 GB, free: 160.8 MB / 478.1 MB Notification: Performance of sorting global known variables: time 0.0001022/0.7463, allocations: 123.1 kB / 0.5677 GB, free: 160.7 MB / 478.1 MB Notification: Performance of sort global known variables: time 7.1e-08/0.7463, allocations: 0 / 0.5677 GB, free: 160.7 MB / 478.1 MB Notification: Performance of remove unused functions: time 0.001524/0.7478, allocations: 387.8 kB / 0.568 GB, free: 160.7 MB / 478.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 9 * Number of states: 4 (medium2.p,medium2.T,medium1.p,medium1.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 (48): * Single equations (assignments): 46 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 2 systems {(1,1,100.0%), (1,1,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.002456/0.7503, allocations: 0.8593 MB / 0.5689 GB, free: 160.5 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.002004/0.7523, allocations: 0.6241 MB / 0.5695 GB, free: 160.3 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 6.883e-06/0.7523, allocations: 6.906 kB / 0.5695 GB, free: 160.3 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001082/0.7534, allocations: 0.5287 MB / 0.57 GB, free: 160 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0007833/0.7542, allocations: 95.61 kB / 0.5701 GB, free: 160 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002065/0.7562, allocations: 1.041 MB / 0.5711 GB, free: 159.4 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000269/0.7565, allocations: 0.7795 MB / 0.5719 GB, free: 158.7 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0004618/0.757, allocations: 76.67 kB / 0.572 GB, free: 158.7 MB / 478.1 MB Notification: Performance of SimCode: time 1.333e-06/0.757, allocations: 0 / 0.572 GB, free: 158.7 MB / 478.1 MB Notification: Performance of Templates: time 0.02252/0.7795, allocations: 14.67 MB / 0.5863 GB, free: 152.3 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.makefile [Timeout 660] (rm -f Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.sim & ./Modelica_3.2.3_Modelica.Media.Examples.MixtureGases -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.MixtureGases_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/MixtureGases/MixtureGases.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.MixtureGases.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: 10.795416191918775]