Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) 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.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(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001525/0.001525, allocations: 111.8 kB / 16.41 MB, free: 6.496 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001562/0.001562, allocations: 185.5 kB / 17.34 MB, free: 5.762 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.411/1.411, allocations: 205.1 MB / 223.2 MB, free: 12.22 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2097/0.2097, allocations: 43.52 MB / 314.1 MB, free: 456 kB / 254.1 MB 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.002179/0.002179, allocations: 71.89 kB / 441.3 MB, free: 6.188 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.107/0.1092, allocations: 57.79 MB / 499.1 MB, free: 12.32 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.3911/0.5003, allocations: 150.6 MB / 0.6344 GB, free: 4.297 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.001325/0.5017, allocations: 0.9751 MB / 0.6354 GB, free: 3.332 MB / 478.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.75e-05/0.5017, allocations: 0 / 0.6354 GB, free: 3.332 MB / 478.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002495/0.502, allocations: 27.83 kB / 0.6354 GB, free: 3.305 MB / 478.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000625/0.5027, allocations: 250.6 kB / 0.6357 GB, free: 3.059 MB / 478.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003495/0.503, allocations: 112.6 kB / 0.6358 GB, free: 2.949 MB / 478.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002366/0.5033, allocations: 171.2 kB / 0.6359 GB, free: 2.781 MB / 478.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.211e-05/0.5033, allocations: 11.97 kB / 0.6359 GB, free: 2.77 MB / 478.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001873/0.5035, allocations: 87.62 kB / 0.636 GB, free: 2.684 MB / 478.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.506e-05/0.5036, allocations: 54.97 kB / 0.6361 GB, free: 2.633 MB / 478.1 MB Notification: Performance of NFPackage.collectConstants: time 2.216e-05/0.5037, allocations: 4 kB / 0.6361 GB, free: 2.629 MB / 478.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0005233/0.5042, allocations: 263.7 kB / 0.6363 GB, free: 2.371 MB / 478.1 MB Notification: Performance of NFScalarize.scalarize: time 6.613e-05/0.5043, allocations: 27.91 kB / 0.6364 GB, free: 2.344 MB / 478.1 MB Notification: Performance of NFVerifyModel.verify: time 6.789e-05/0.5043, allocations: 39.86 kB / 0.6364 GB, free: 2.305 MB / 478.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004755/0.5048, allocations: 286.3 kB / 0.6367 GB, free: 2.031 MB / 478.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.5048, allocations: 4 kB / 0.6367 GB, free: 2.027 MB / 478.1 MB Notification: Performance of FrontEnd: time 1.312e-06/0.5048, allocations: 0 / 0.6367 GB, free: 2.027 MB / 478.1 MB Notification: Performance of Transformations before backend: time 5.189e-06/0.5049, allocations: 0 / 0.6367 GB, free: 2.027 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: 19 * Number of variables: 19 Notification: Performance of Generate backend data structure: time 0.000535/0.5054, allocations: 403.1 kB / 0.6371 GB, free: 1.586 MB / 478.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.777e-05/0.5054, allocations: 11.89 kB / 0.6371 GB, free: 1.574 MB / 478.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.381e-05/0.5055, allocations: 45.36 kB / 0.6371 GB, free: 1.523 MB / 478.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001944/0.5074, allocations: 193.1 kB / 0.6373 GB, free: 1.336 MB / 478.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003161/0.5078, allocations: 212.2 kB / 0.6375 GB, free: 1.09 MB / 478.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.637e-05/0.5078, allocations: 11.94 kB / 0.6375 GB, free: 1.078 MB / 478.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.04e-05/0.5078, allocations: 8 kB / 0.6375 GB, free: 1.07 MB / 478.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005035/0.5084, allocations: 227.3 kB / 0.6377 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.032e-05/0.5084, allocations: 0 / 0.6377 GB, free: 0.8359 MB / 478.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.363e-05/0.5084, allocations: 12 kB / 0.6377 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.03e-06/0.5084, allocations: 0 / 0.6377 GB, free: 0.8242 MB / 478.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004598/0.5089, allocations: 167.9 kB / 0.6379 GB, free: 0.6602 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.001041/0.5099, allocations: 0.5758 MB / 0.6385 GB, free: 28 kB / 478.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003632/0.5103, allocations: 134.5 kB / 0.6386 GB, free: 15.89 MB / 494.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001469/0.5105, allocations: 72.83 kB / 0.6387 GB, free: 15.81 MB / 494.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.662e-05/0.5105, allocations: 7.984 kB / 0.6387 GB, free: 15.8 MB / 494.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.264e-05/0.5106, allocations: 30.56 kB / 0.6387 GB, free: 15.77 MB / 494.1 MB Notification: Performance of pre-optimization done (n=14): time 1.663e-06/0.5106, allocations: 3.938 kB / 0.6387 GB, free: 15.76 MB / 494.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.005166/0.5157, allocations: 1.295 MB / 0.64 GB, free: 14.38 MB / 494.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.382e-05/0.5158, allocations: 63.34 kB / 0.64 GB, free: 14.3 MB / 494.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.616e-05/0.5159, allocations: 113.8 kB / 0.6401 GB, free: 14.18 MB / 494.1 MB Notification: Performance of collectPreVariables (initialization): time 3.572e-05/0.5159, allocations: 33.7 kB / 0.6402 GB, free: 14.14 MB / 494.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.934e-05/0.516, allocations: 88.03 kB / 0.6403 GB, free: 14.05 MB / 494.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.363e-05/0.5161, allocations: 79.36 kB / 0.6403 GB, free: 13.98 MB / 494.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001012/0.5162, allocations: 53.69 kB / 0.6404 GB, free: 13.92 MB / 494.1 MB Notification: Performance of setup shared object (initialization): time 0.0001481/0.5163, allocations: 322.8 kB / 0.6407 GB, free: 13.59 MB / 494.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001559/0.5165, allocations: 63.97 kB / 0.6408 GB, free: 13.53 MB / 494.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.000186/0.5167, allocations: 107.4 kB / 0.6409 GB, free: 13.41 MB / 494.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003666/0.5171, allocations: 183.3 kB / 0.641 GB, free: 13.22 MB / 494.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.5171, allocations: 0 / 0.641 GB, free: 13.22 MB / 494.1 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005107/0.5176, allocations: 262.3 kB / 0.6413 GB, free: 12.96 MB / 494.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.5176, allocations: 8 kB / 0.6413 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.039e-06/0.5176, allocations: 0 / 0.6413 GB, free: 12.95 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001821/0.5178, allocations: 52.77 kB / 0.6413 GB, free: 12.89 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003099/0.5181, allocations: 51.95 kB / 0.6414 GB, free: 12.84 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004942/0.5186, allocations: 0.5679 MB / 0.6419 GB, free: 12.25 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000162/0.5188, allocations: 12.14 kB / 0.642 GB, free: 12.24 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.311e-05/0.5189, allocations: 28 kB / 0.642 GB, free: 12.21 MB / 494.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.000128/0.519, allocations: 121.8 kB / 0.6421 GB, free: 12.08 MB / 494.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.909e-05/0.5191, allocations: 7.953 kB / 0.6421 GB, free: 12.07 MB / 494.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007827/0.5199, allocations: 344.7 kB / 0.6424 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.454e-06/0.5199, allocations: 3.938 kB / 0.6424 GB, free: 11.73 MB / 494.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.212e-06/0.5199, allocations: 8.688 kB / 0.6424 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.5199, allocations: 0 / 0.6424 GB, free: 11.72 MB / 494.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001051/0.521, allocations: 0.623 MB / 0.6431 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.725e-06/0.521, allocations: 0 / 0.6431 GB, free: 11.03 MB / 494.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003317/0.5213, allocations: 59.98 kB / 0.6431 GB, free: 10.97 MB / 494.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.943e-05/0.5214, allocations: 29.72 kB / 0.6431 GB, free: 10.94 MB / 494.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.068e-05/0.5215, allocations: 15.98 kB / 0.6432 GB, free: 10.93 MB / 494.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001223/0.5227, allocations: 1.368 MB / 0.6445 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.964e-06/0.5227, allocations: 0 / 0.6445 GB, free: 9.422 MB / 494.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007654/0.5235, allocations: 446.2 kB / 0.6449 GB, free: 8.961 MB / 494.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.966e-05/0.5235, allocations: 89 kB / 0.645 GB, free: 8.855 MB / 494.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.404e-05/0.5236, allocations: 5.188 kB / 0.645 GB, free: 8.852 MB / 494.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.000207/0.5238, allocations: 8 kB / 0.645 GB, free: 8.844 MB / 494.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.776e-05/0.5239, allocations: 23.97 kB / 0.645 GB, free: 8.82 MB / 494.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.612e-05/0.5239, allocations: 27.98 kB / 0.6451 GB, free: 8.793 MB / 494.1 MB Notification: Performance of sorting global known variables: time 7.151e-05/0.524, allocations: 91.64 kB / 0.6452 GB, free: 8.703 MB / 494.1 MB Notification: Performance of sort global known variables: time 4.31e-07/0.524, allocations: 0 / 0.6452 GB, free: 8.703 MB / 494.1 MB Notification: Performance of remove unused functions: time 0.0004294/0.5244, allocations: 79.94 kB / 0.6452 GB, free: 8.625 MB / 494.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.0015/0.5259, allocations: 1.02 MB / 0.6462 GB, free: 7.562 MB / 494.1 MB Notification: Performance of simCode: created initialization part: time 0.0006579/0.5266, allocations: 203.8 kB / 0.6464 GB, free: 7.363 MB / 494.1 MB Notification: Performance of simCode: created event and clocks part: time 3.587e-06/0.5266, allocations: 0 / 0.6464 GB, free: 7.363 MB / 494.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003931/0.527, allocations: 222.5 kB / 0.6466 GB, free: 7.133 MB / 494.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004917/0.5275, allocations: 60.08 kB / 0.6467 GB, free: 7.078 MB / 494.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002861/0.5304, allocations: 2.07 MB / 0.6487 GB, free: 4.883 MB / 494.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003426/0.5308, allocations: 0.7046 MB / 0.6494 GB, free: 4.152 MB / 494.1 MB Notification: Performance of simCode: alias equations: time 0.0003117/0.5311, allocations: 81.36 kB / 0.6495 GB, free: 4.07 MB / 494.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001959/0.5313, allocations: 67.41 kB / 0.6495 GB, free: 4.004 MB / 494.1 MB Notification: Performance of SimCode: time 8.31e-07/0.5313, allocations: 0 / 0.6495 GB, free: 4.004 MB / 494.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.04357/0.5749, allocations: 7.305 MB / 0.6567 GB, free: 12.7 MB / 0.4981 GB Notification: Performance of buildModelFMU: Generate platform static: time 11.96/12.53, allocations: 7.922 kB / 0.6567 GB, free: 12.69 MB / 0.4981 GB (rm -f ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) diffSimulationResults("ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_3.2.3_ModelicaTest.Media.TestOnly.IdealGasN2.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches