Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00123/0.00123, allocations: 122.2 kB / 18.45 MB, free: 4.477 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001219/0.001219, allocations: 190.9 kB / 21.39 MB, free: 1.543 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.329/1.329, allocations: 207.6 MB / 231.8 MB, free: 4.004 MB / 174.1 MB " [Timeout remaining time 179] 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.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 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) Running command: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2Mix,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.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.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001599/0.001599, allocations: 52.3 kB / 342.3 MB, free: 10 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08376/0.08535, allocations: 49.12 MB / 391.4 MB, free: 8.715 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2Mix): time 0.3265/0.4119, allocations: 151.3 MB / 0.53 GB, free: 11.07 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001959/0.4139, allocations: 1.495 MB / 0.5314 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.523e-05/0.4139, allocations: 0 / 0.5314 GB, free: 9.887 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003254/0.4143, allocations: 57.84 kB / 0.5315 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.001025/0.4153, allocations: 395.2 kB / 0.5318 GB, free: 9.488 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004963/0.4158, allocations: 167.4 kB / 0.532 GB, free: 9.324 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002722/0.416, allocations: 179.3 kB / 0.5322 GB, free: 9.148 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.92e-05/0.4161, allocations: 15.92 kB / 0.5322 GB, free: 9.133 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001734/0.4163, allocations: 83.69 kB / 0.5323 GB, free: 9.051 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001356/0.4164, allocations: 55.81 kB / 0.5323 GB, free: 8.996 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 2.083e-05/0.4164, allocations: 8 kB / 0.5323 GB, free: 8.988 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001093/0.4175, allocations: 0.5963 MB / 0.5329 GB, free: 8.391 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 6.517e-05/0.4176, allocations: 35.88 kB / 0.5329 GB, free: 8.355 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 7.025e-05/0.4177, allocations: 45.97 kB / 0.533 GB, free: 8.312 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006315/0.4183, allocations: 393.2 kB / 0.5334 GB, free: 7.93 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.729e-06/0.4183, allocations: 4 kB / 0.5334 GB, free: 7.926 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.022e-06/0.4183, allocations: 0 / 0.5334 GB, free: 7.926 MB / 414.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.4183, allocations: 3.938 kB / 0.5334 GB, free: 7.922 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 21 * Number of variables: 21 Notification: Performance of Generate backend data structure: time 0.0005954/0.4189, allocations: 426.9 kB / 0.5338 GB, free: 7.457 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.999e-05/0.4189, allocations: 12.03 kB / 0.5338 GB, free: 7.445 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.116e-05/0.419, allocations: 42.75 kB / 0.5338 GB, free: 7.395 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.002076/0.4211, allocations: 192.6 kB / 0.534 GB, free: 7.207 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002684/0.4213, allocations: 204.4 kB / 0.5342 GB, free: 6.969 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.587e-05/0.4213, allocations: 7.938 kB / 0.5342 GB, free: 6.961 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.489e-05/0.4214, allocations: 15.95 kB / 0.5342 GB, free: 6.945 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004696/0.4219, allocations: 209.5 kB / 0.5344 GB, free: 6.734 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.568e-06/0.4219, allocations: 0 / 0.5344 GB, free: 6.734 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.271e-05/0.4219, allocations: 4 kB / 0.5344 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.418e-06/0.4219, allocations: 0 / 0.5344 GB, free: 6.73 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0005801/0.4225, allocations: 247.7 kB / 0.5347 GB, free: 6.488 MB / 414.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.001765/0.4243, allocations: 0.6697 MB / 0.5353 GB, free: 5.766 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0004395/0.4247, allocations: 182.5 kB / 0.5355 GB, free: 5.578 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002031/0.4249, allocations: 85.64 kB / 0.5356 GB, free: 5.492 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0001719/0.4251, allocations: 94.5 kB / 0.5357 GB, free: 5.383 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.404e-05/0.4251, allocations: 46.48 kB / 0.5357 GB, free: 5.328 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.4251, allocations: 0 / 0.5357 GB, free: 5.328 MB / 414.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: medium.T Please use -d=bltdump for more information. Notification: Performance of matching and sorting (n=19): time 0.005562/0.4307, allocations: 1.547 MB / 0.5372 GB, free: 3.672 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.824e-05/0.4307, allocations: 51.41 kB / 0.5373 GB, free: 3.609 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.452e-05/0.4308, allocations: 109.8 kB / 0.5374 GB, free: 3.492 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.438e-05/0.4308, allocations: 29.7 kB / 0.5374 GB, free: 3.457 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.583e-05/0.4309, allocations: 100.4 kB / 0.5375 GB, free: 3.355 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.399e-05/0.431, allocations: 67.42 kB / 0.5376 GB, free: 3.289 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001011/0.4311, allocations: 45.7 kB / 0.5376 GB, free: 3.238 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001375/0.4312, allocations: 318.8 kB / 0.5379 GB, free: 2.918 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002146/0.4314, allocations: 87.95 kB / 0.538 GB, free: 2.832 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002386/0.4317, allocations: 127.2 kB / 0.5381 GB, free: 2.695 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004536/0.4321, allocations: 223.3 kB / 0.5383 GB, free: 2.465 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.015e-06/0.4321, allocations: 3.938 kB / 0.5383 GB, free: 2.461 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0006121/0.4327, allocations: 294.1 kB / 0.5386 GB, free: 2.164 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.393e-05/0.4327, allocations: 8.094 kB / 0.5386 GB, free: 2.156 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.19e-06/0.4327, allocations: 6.938 kB / 0.5386 GB, free: 2.152 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001222/0.4329, allocations: 20.84 kB / 0.5387 GB, free: 2.129 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004316/0.4333, allocations: 55.95 kB / 0.5387 GB, free: 2.074 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003931/0.4337, allocations: 0.5329 MB / 0.5392 GB, free: 1.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002669/0.434, allocations: 12.08 kB / 0.5392 GB, free: 1.504 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.925e-05/0.434, allocations: 8 kB / 0.5392 GB, free: 1.496 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * 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 (23): * Single equations (assignments): 22 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * 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): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001329/0.4341, allocations: 133.7 kB / 0.5394 GB, free: 1.355 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.506e-05/0.4342, allocations: 7.953 kB / 0.5394 GB, free: 1.348 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007289/0.4349, allocations: 315.4 kB / 0.5397 GB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.585e-06/0.4349, allocations: 0 / 0.5397 GB, free: 1.027 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.125e-05/0.4349, allocations: 7.938 kB / 0.5397 GB, free: 1.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.218e-06/0.4349, allocations: 3.984 kB / 0.5397 GB, free: 1.016 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001128/0.4361, allocations: 0.6793 MB / 0.5404 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.4361, allocations: 0 / 0.5404 GB, free: 276 kB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0004379/0.4365, allocations: 55.89 kB / 0.5404 GB, free: 220 kB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.752e-05/0.4366, allocations: 20.84 kB / 0.5404 GB, free: 196 kB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.6e-05/0.4366, allocations: 7.984 kB / 0.5404 GB, free: 188 kB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001073/0.4377, allocations: 1.372 MB / 0.5418 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.4377, allocations: 0 / 0.5418 GB, free: 14.68 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008373/0.4385, allocations: 454.7 kB / 0.5422 GB, free: 14.2 MB / 430.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.148e-05/0.4386, allocations: 89 kB / 0.5423 GB, free: 14.1 MB / 430.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.381e-05/0.4386, allocations: 4 kB / 0.5423 GB, free: 14.09 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003178/0.4389, allocations: 11.98 kB / 0.5423 GB, free: 14.08 MB / 430.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.202e-05/0.439, allocations: 11.98 kB / 0.5423 GB, free: 14.07 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.072e-05/0.439, allocations: 13.17 kB / 0.5423 GB, free: 14.06 MB / 430.1 MB Notification: Performance of sorting global known variables: time 5.428e-05/0.439, allocations: 91.27 kB / 0.5424 GB, free: 13.97 MB / 430.1 MB Notification: Performance of sort global known variables: time 5e-08/0.439, allocations: 0 / 0.5424 GB, free: 13.97 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004892/0.4395, allocations: 135.7 kB / 0.5426 GB, free: 13.84 MB / 430.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 4 * Number of states: 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 (19): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(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.001692/0.4412, allocations: 1.133 MB / 0.5437 GB, free: 12.66 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.000616/0.4418, allocations: 227.6 kB / 0.5439 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.825e-06/0.4418, allocations: 0 / 0.5439 GB, free: 12.44 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0004045/0.4422, allocations: 226.9 kB / 0.5441 GB, free: 12.21 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004229/0.4427, allocations: 55.83 kB / 0.5441 GB, free: 12.15 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003088/0.4458, allocations: 2.139 MB / 0.5462 GB, free: 9.887 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003486/0.4461, allocations: 0.7046 MB / 0.5469 GB, free: 9.156 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002787/0.4464, allocations: 57.77 kB / 0.547 GB, free: 9.102 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001414/0.4465, allocations: 39.42 kB / 0.547 GB, free: 9.062 MB / 430.1 MB Notification: Performance of SimCode: time 3.01e-07/0.4465, allocations: 0 / 0.547 GB, free: 9.062 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03836/0.4849, allocations: 8.04 MB / 0.5549 GB, free: 0.957 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.62/12.1, allocations: 0 / 0.5549 GB, free: 0.957 MB / 430.1 MB " [Timeout remaining time 648] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2Mix.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2Mix/IdealGasN2Mix.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2Mix.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: 14.340229130815715]