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.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.001212/0.001212, allocations: 122.3 kB / 18.45 MB, free: 4.605 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.001206/0.001206, allocations: 190.9 kB / 21.39 MB, free: 1.672 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.327/1.327, allocations: 207.6 MB / 231.8 MB, free: 4.09 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.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(Modelica.Media.Examples.TestOnly.IdealGasN2,fileNamePrefix="Modelica_3_2_3_Modelica_Media_Examples_TestOnly_IdealGasN2",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.001628/0.001628, allocations: 55.92 kB / 342.2 MB, free: 10.03 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08812/0.08975, allocations: 49.12 MB / 391.4 MB, free: 8.742 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.TestOnly.IdealGasN2): time 0.3232/0.413, allocations: 151 MB / 0.5297 GB, free: 11.06 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001317/0.4143, allocations: 0.9794 MB / 0.5306 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.357e-05/0.4143, allocations: 7.125 kB / 0.5306 GB, free: 10.28 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002213/0.4146, allocations: 26.48 kB / 0.5307 GB, free: 10.25 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005897/0.4152, allocations: 247.4 kB / 0.5309 GB, free: 10.07 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003222/0.4155, allocations: 129.1 kB / 0.531 GB, free: 9.977 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002172/0.4157, allocations: 158.6 kB / 0.5312 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 3.901e-05/0.4157, allocations: 5.062 kB / 0.5312 GB, free: 9.891 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002087/0.4159, allocations: 92.14 kB / 0.5313 GB, free: 9.84 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.42e-05/0.416, allocations: 50.08 kB / 0.5313 GB, free: 9.812 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 1.912e-05/0.4161, allocations: 5.688 kB / 0.5313 GB, free: 9.812 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0004694/0.4165, allocations: 269.6 kB / 0.5316 GB, free: 9.652 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 5.529e-05/0.4166, allocations: 23.91 kB / 0.5316 GB, free: 9.629 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 6.998e-05/0.4166, allocations: 44.55 kB / 0.5316 GB, free: 9.586 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000441/0.4171, allocations: 285.5 kB / 0.5319 GB, free: 9.309 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.396e-06/0.4171, allocations: 0 / 0.5319 GB, free: 9.309 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.062e-06/0.4171, allocations: 0 / 0.5319 GB, free: 9.309 MB / 414.1 MB Notification: Performance of Transformations before backend: time 4.578e-06/0.4171, allocations: 0 / 0.5319 GB, free: 9.309 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.0005464/0.4176, allocations: 411.5 kB / 0.5323 GB, free: 8.859 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.574e-05/0.4177, allocations: 8.031 kB / 0.5323 GB, free: 8.852 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.416e-05/0.4177, allocations: 42.73 kB / 0.5324 GB, free: 8.801 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001968/0.4197, allocations: 190 kB / 0.5325 GB, free: 8.617 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003246/0.42, allocations: 200.3 kB / 0.5327 GB, free: 8.383 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.191e-05/0.42, allocations: 15.88 kB / 0.5327 GB, free: 8.367 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.405e-05/0.4201, allocations: 4 kB / 0.5328 GB, free: 8.363 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005103/0.4206, allocations: 239.9 kB / 0.533 GB, free: 8.113 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.01e-05/0.4206, allocations: 4 kB / 0.533 GB, free: 8.109 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.775e-05/0.4206, allocations: 0 / 0.533 GB, free: 8.109 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.785e-06/0.4206, allocations: 4 kB / 0.533 GB, free: 8.105 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004238/0.4211, allocations: 171.8 kB / 0.5332 GB, free: 7.938 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.001027/0.4221, allocations: 0.58 MB / 0.5337 GB, free: 7.301 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003355/0.4224, allocations: 130.5 kB / 0.5338 GB, free: 7.164 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001386/0.4226, allocations: 65.08 kB / 0.5339 GB, free: 7.098 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.4226, allocations: 16.97 kB / 0.5339 GB, free: 7.082 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.802e-05/0.4226, allocations: 30.56 kB / 0.534 GB, free: 7.043 MB / 414.1 MB Notification: Performance of pre-optimization done (n=14): time 1.283e-06/0.4226, allocations: 4 kB / 0.534 GB, free: 7.039 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.005127/0.4278, allocations: 1.295 MB / 0.5352 GB, free: 5.656 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.783e-05/0.4278, allocations: 51.41 kB / 0.5353 GB, free: 5.594 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.626e-05/0.4279, allocations: 121.8 kB / 0.5354 GB, free: 5.465 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.957e-05/0.4279, allocations: 25.7 kB / 0.5354 GB, free: 5.434 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.16e-05/0.428, allocations: 104 kB / 0.5355 GB, free: 5.328 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.411e-05/0.428, allocations: 73.75 kB / 0.5356 GB, free: 5.258 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.992e-05/0.4281, allocations: 53.7 kB / 0.5356 GB, free: 5.199 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001385/0.4283, allocations: 318.8 kB / 0.5359 GB, free: 4.879 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001578/0.4284, allocations: 63.97 kB / 0.536 GB, free: 4.816 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001883/0.4286, allocations: 115.2 kB / 0.5361 GB, free: 4.691 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003453/0.429, allocations: 179.3 kB / 0.5363 GB, free: 4.504 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.012e-06/0.429, allocations: 0 / 0.5363 GB, free: 4.504 MB / 414.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.000516/0.4295, allocations: 278.1 kB / 0.5365 GB, free: 4.223 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.412e-05/0.4295, allocations: 4 kB / 0.5365 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.851e-06/0.4295, allocations: 1.125 kB / 0.5365 GB, free: 4.219 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001704/0.4297, allocations: 48.83 kB / 0.5366 GB, free: 4.168 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003269/0.43, allocations: 55.91 kB / 0.5366 GB, free: 4.113 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004885/0.4305, allocations: 0.5719 MB / 0.5372 GB, free: 3.516 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001702/0.4307, allocations: 4 kB / 0.5372 GB, free: 3.512 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.622e-05/0.4307, allocations: 27.98 kB / 0.5372 GB, free: 3.484 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.0001267/0.4308, allocations: 125.7 kB / 0.5374 GB, free: 3.352 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.758e-05/0.4309, allocations: 7.953 kB / 0.5374 GB, free: 3.344 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007671/0.4317, allocations: 339.1 kB / 0.5377 GB, free: 3.012 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.651e-06/0.4317, allocations: 7.938 kB / 0.5377 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.588e-06/0.4317, allocations: 0 / 0.5377 GB, free: 3.004 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.919e-06/0.4317, allocations: 7.984 kB / 0.5377 GB, free: 2.996 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.4327, allocations: 0.6191 MB / 0.5383 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.943e-06/0.4327, allocations: 0 / 0.5383 GB, free: 2.309 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003503/0.4331, allocations: 63.98 kB / 0.5384 GB, free: 2.246 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.477e-05/0.4332, allocations: 24.84 kB / 0.5384 GB, free: 2.219 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.906e-05/0.4332, allocations: 19.92 kB / 0.5384 GB, free: 2.199 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001111/0.4343, allocations: 1.363 MB / 0.5397 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.273e-06/0.4343, allocations: 0 / 0.5397 GB, free: 0.6953 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007369/0.435, allocations: 438.7 kB / 0.5402 GB, free: 244 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.029e-05/0.4351, allocations: 85.02 kB / 0.5402 GB, free: 140 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.634e-05/0.4351, allocations: 12.86 kB / 0.5403 GB, free: 128 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002158/0.4353, allocations: 4 kB / 0.5403 GB, free: 124 kB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.339e-05/0.4354, allocations: 23.97 kB / 0.5403 GB, free: 100 kB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.588e-05/0.4354, allocations: 36.05 kB / 0.5403 GB, free: 64 kB / 414.1 MB Notification: Performance of sorting global known variables: time 7.229e-05/0.4355, allocations: 79.28 kB / 0.5404 GB, free: 15.98 MB / 430.1 MB Notification: Performance of sort global known variables: time 7e-08/0.4355, allocations: 0 / 0.5404 GB, free: 15.98 MB / 430.1 MB Notification: Performance of remove unused functions: time 0.0004044/0.4359, allocations: 87.86 kB / 0.5405 GB, free: 15.9 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 (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.001272/0.4372, allocations: 1.008 MB / 0.5415 GB, free: 14.85 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.0004858/0.4377, allocations: 200.4 kB / 0.5416 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: created event and clocks part: time 2.505e-06/0.4377, allocations: 3.938 kB / 0.5417 GB, free: 14.65 MB / 430.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003505/0.438, allocations: 214.9 kB / 0.5419 GB, free: 14.43 MB / 430.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000455/0.4385, allocations: 61.52 kB / 0.5419 GB, free: 14.37 MB / 430.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002791/0.4413, allocations: 2.074 MB / 0.5439 GB, free: 12.17 MB / 430.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003465/0.4416, allocations: 0.7046 MB / 0.5446 GB, free: 11.44 MB / 430.1 MB Notification: Performance of simCode: alias equations: time 0.0002839/0.4419, allocations: 69.39 kB / 0.5447 GB, free: 11.37 MB / 430.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001888/0.4421, allocations: 75.33 kB / 0.5448 GB, free: 11.3 MB / 430.1 MB Notification: Performance of SimCode: time 3.21e-07/0.4421, allocations: 0 / 0.5448 GB, free: 11.3 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03456/0.4766, allocations: 7.349 MB / 0.5519 GB, free: 3.898 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.96, allocations: 7.906 kB / 0.552 GB, free: 3.891 MB / 430.1 MB " [Timeout remaining time 648] (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_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/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.16759826708585]