Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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.004076/0.004076, allocations: 114.1 kB / 21.97 MB, free: 5.223 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.001235/0.001235, allocations: 216.3 kB / 25.28 MB, free: 3.246 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.21/1.21, allocations: 207.6 MB / 236 MB, free: 9.969 MB / 190.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.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: "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="cs",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="cs",version="2.0",platforms={"static"}) [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.001566/0.001566, allocations: 54.58 kB / 348 MB, free: 10.02 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2053/0.2068, allocations: 49.15 MB / 397.1 MB, free: 8.98 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.1536/0.3605, allocations: 151.1 MB / 0.5353 GB, free: 11.7 MB / 462.1 MB Notification: Performance of NFInst.instExpressions: time 0.001359/0.3618, allocations: 0.9929 MB / 0.5363 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.584e-05/0.3619, allocations: 0 / 0.5363 GB, free: 10.7 MB / 462.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002342/0.3621, allocations: 31.83 kB / 0.5363 GB, free: 10.67 MB / 462.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006735/0.3628, allocations: 246.6 kB / 0.5366 GB, free: 10.43 MB / 462.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003731/0.3632, allocations: 111.7 kB / 0.5367 GB, free: 10.32 MB / 462.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002528/0.3634, allocations: 171.2 kB / 0.5369 GB, free: 10.15 MB / 462.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.638e-05/0.3635, allocations: 11.97 kB / 0.5369 GB, free: 10.14 MB / 462.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000222/0.3637, allocations: 91.44 kB / 0.5369 GB, free: 10.05 MB / 462.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001126/0.3638, allocations: 55.77 kB / 0.537 GB, free: 10 MB / 462.1 MB Notification: Performance of NFPackage.collectConstants: time 2.258e-05/0.3638, allocations: 8 kB / 0.537 GB, free: 9.992 MB / 462.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005439/0.3644, allocations: 267.7 kB / 0.5373 GB, free: 9.73 MB / 462.1 MB Notification: Performance of NFScalarize.scalarize: time 5.81e-05/0.3644, allocations: 23.91 kB / 0.5373 GB, free: 9.707 MB / 462.1 MB Notification: Performance of NFVerifyModel.verify: time 5.759e-05/0.3645, allocations: 39.86 kB / 0.5373 GB, free: 9.668 MB / 462.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004519/0.3649, allocations: 283.8 kB / 0.5376 GB, free: 9.395 MB / 462.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.657e-06/0.3649, allocations: 0 / 0.5376 GB, free: 9.395 MB / 462.1 MB Notification: Performance of FrontEnd: time 1.193e-06/0.3649, allocations: 0 / 0.5376 GB, free: 9.395 MB / 462.1 MB Notification: Performance of Transformations before backend: time 9.448e-06/0.3649, allocations: 0 / 0.5376 GB, free: 9.395 MB / 462.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0004804/0.3654, allocations: 333.9 kB / 0.5379 GB, free: 9.039 MB / 462.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.005e-05/0.3655, allocations: 19.92 kB / 0.5379 GB, free: 9.02 MB / 462.1 MB Notification: Performance of preOpt introduceOutputRealDerivatives (simulation): time 1.153e-05/0.3655, allocations: 4.125 kB / 0.5379 GB, free: 9.016 MB / 462.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.02e-05/0.3655, allocations: 42.75 kB / 0.538 GB, free: 8.965 MB / 462.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001941/0.3675, allocations: 188.6 kB / 0.5382 GB, free: 8.781 MB / 462.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003078/0.3678, allocations: 146 kB / 0.5383 GB, free: 8.613 MB / 462.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.581e-05/0.3678, allocations: 15.95 kB / 0.5383 GB, free: 8.598 MB / 462.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.476e-05/0.3678, allocations: 4 kB / 0.5383 GB, free: 8.594 MB / 462.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004973/0.3683, allocations: 228 kB / 0.5385 GB, free: 8.355 MB / 462.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.328e-06/0.3683, allocations: 0 / 0.5385 GB, free: 8.355 MB / 462.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.011e-05/0.3684, allocations: 0 / 0.5385 GB, free: 8.355 MB / 462.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.3684, allocations: 4 kB / 0.5385 GB, free: 8.352 MB / 462.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004318/0.3688, allocations: 175.8 kB / 0.5387 GB, free: 8.18 MB / 462.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.0009729/0.3698, allocations: 0.5475 MB / 0.5392 GB, free: 7.582 MB / 462.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003269/0.3701, allocations: 138.5 kB / 0.5394 GB, free: 7.438 MB / 462.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001405/0.3702, allocations: 72.81 kB / 0.5394 GB, free: 7.363 MB / 462.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.921e-05/0.3703, allocations: 15.92 kB / 0.5395 GB, free: 7.348 MB / 462.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.455e-05/0.3703, allocations: 34.55 kB / 0.5395 GB, free: 7.305 MB / 462.1 MB Notification: Performance of pre-optimization done (n=14): time 1.012e-06/0.3703, allocations: 0 / 0.5395 GB, free: 7.305 MB / 462.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.004931/0.3752, allocations: 1.148 MB / 0.5406 GB, free: 6.098 MB / 462.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.713e-05/0.3753, allocations: 51.41 kB / 0.5407 GB, free: 6.035 MB / 462.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.157e-05/0.3754, allocations: 113.8 kB / 0.5408 GB, free: 5.914 MB / 462.1 MB Notification: Performance of collectPreVariables (initialization): time 3.049e-05/0.3754, allocations: 25.7 kB / 0.5408 GB, free: 5.883 MB / 462.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.784e-05/0.3755, allocations: 104 kB / 0.5409 GB, free: 5.777 MB / 462.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.132e-05/0.3755, allocations: 71.41 kB / 0.541 GB, free: 5.707 MB / 462.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.328e-05/0.3756, allocations: 57.7 kB / 0.541 GB, free: 5.645 MB / 462.1 MB Notification: Performance of setup shared object (initialization): time 0.0001235/0.3757, allocations: 322.8 kB / 0.5413 GB, free: 5.32 MB / 462.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001504/0.3759, allocations: 63.97 kB / 0.5414 GB, free: 5.258 MB / 462.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001733/0.3761, allocations: 111.2 kB / 0.5415 GB, free: 5.137 MB / 462.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003324/0.3764, allocations: 187.3 kB / 0.5417 GB, free: 4.941 MB / 462.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.163e-06/0.3764, allocations: 0 / 0.5417 GB, free: 4.941 MB / 462.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0004845/0.3769, allocations: 262.2 kB / 0.5419 GB, free: 4.676 MB / 462.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.217e-05/0.3769, allocations: 4 kB / 0.5419 GB, free: 4.672 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.668e-06/0.3769, allocations: 0 / 0.5419 GB, free: 4.672 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001674/0.3771, allocations: 56.92 kB / 0.542 GB, free: 4.613 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002939/0.3774, allocations: 47.97 kB / 0.542 GB, free: 4.566 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004175/0.3778, allocations: 0.5679 MB / 0.5426 GB, free: 3.973 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001632/0.3779, allocations: 15.94 kB / 0.5426 GB, free: 3.957 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.176e-05/0.378, allocations: 27.98 kB / 0.5426 GB, free: 3.93 MB / 462.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.0001192/0.3781, allocations: 125.9 kB / 0.5427 GB, free: 3.797 MB / 462.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.151e-05/0.3781, allocations: 11.95 kB / 0.5428 GB, free: 3.785 MB / 462.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007128/0.3789, allocations: 339 kB / 0.5431 GB, free: 3.449 MB / 462.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.729e-06/0.3789, allocations: 4 kB / 0.5431 GB, free: 3.445 MB / 462.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.799e-06/0.3789, allocations: 0 / 0.5431 GB, free: 3.445 MB / 462.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.711e-06/0.3789, allocations: 3.984 kB / 0.5431 GB, free: 3.441 MB / 462.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0009629/0.3798, allocations: 0.5988 MB / 0.5437 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.3798, allocations: 0 / 0.5437 GB, free: 2.781 MB / 462.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003285/0.3802, allocations: 63.89 kB / 0.5437 GB, free: 2.719 MB / 462.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.874e-05/0.3802, allocations: 20.84 kB / 0.5437 GB, free: 2.695 MB / 462.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.033e-05/0.3803, allocations: 20.08 kB / 0.5438 GB, free: 2.676 MB / 462.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009206/0.3812, allocations: 1.267 MB / 0.545 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.322e-06/0.3812, allocations: 0 / 0.545 GB, free: 1.293 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006776/0.3819, allocations: 430.7 kB / 0.5454 GB, free: 0.8438 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 2.134e-05/0.3819, allocations: 15.88 kB / 0.5454 GB, free: 0.8281 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.618e-05/0.3819, allocations: 8 kB / 0.5454 GB, free: 0.8203 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002071/0.3821, allocations: 11.98 kB / 0.5454 GB, free: 0.8086 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.25e-05/0.3822, allocations: 15.97 kB / 0.5455 GB, free: 0.793 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.352e-05/0.3822, allocations: 31.98 kB / 0.5455 GB, free: 0.7617 MB / 462.1 MB Notification: Performance of sorting global known variables: time 5.062e-05/0.3823, allocations: 91.27 kB / 0.5456 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of sort global known variables: time 7e-08/0.3823, allocations: 0 / 0.5456 GB, free: 0.6719 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0003831/0.3826, allocations: 72 kB / 0.5457 GB, free: 0.6016 MB / 462.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 (21): * Single equations (assignments): 20 * 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.001197/0.3838, allocations: 1.017 MB / 0.5466 GB, free: 15.54 MB / 478.1 MB Notification: Performance of simCode: created initialization part: time 0.0004643/0.3843, allocations: 203.9 kB / 0.5468 GB, free: 15.34 MB / 478.1 MB Notification: Performance of simCode: created event and clocks part: time 2.104e-06/0.3843, allocations: 0 / 0.5468 GB, free: 15.34 MB / 478.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003311/0.3846, allocations: 218.5 kB / 0.547 GB, free: 15.12 MB / 478.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004285/0.3851, allocations: 48.81 kB / 0.5471 GB, free: 15.07 MB / 478.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002598/0.3877, allocations: 2.074 MB / 0.5491 GB, free: 12.87 MB / 478.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000288/0.388, allocations: 0.7086 MB / 0.5498 GB, free: 12.14 MB / 478.1 MB Notification: Performance of simCode: alias equations: time 0.0002767/0.3882, allocations: 73.39 kB / 0.5499 GB, free: 12.07 MB / 478.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001905/0.3884, allocations: 71.39 kB / 0.5499 GB, free: 12 MB / 478.1 MB Notification: Performance of SimCode: time 3.9e-07/0.3884, allocations: 0 / 0.5499 GB, free: 12 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03039/0.4188, allocations: 7.558 MB / 0.5573 GB, free: 4.383 MB / 478.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.94/12.36, allocations: 4.312 kB / 0.5573 GB, free: 4.379 MB / 478.1 MB " [Timeout remaining time 647] (rm -f Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat --tempDir=temp_Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2.fmu > Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.TestOnly.IdealGasN2.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.68786771298619]