Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Media.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.0008492/0.0008492, allocations: 83.69 kB / 20.67 MB, free: 3.891 MB / 18.57 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.0009046/0.0009046, allocations: 170 kB / 23.95 MB, free: 0.6172 MB / 18.57 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 0.9395/0.9395, allocations: 177.1 MB / 204.3 MB, free: 5.727 MB / 186.7 MB " [Timeout remaining time 179] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2471/0.2471, allocations: 32.79 MB / 293.5 MB, free: 1.199 MB / 266.7 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo) Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+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(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.413e-06/1.413e-06, allocations: 0 / 439.6 MB, free: 4.277 MB / 410.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 1.471e-05/1.612e-05, allocations: 2.844 kB / 439.6 MB, free: 4.273 MB / 410.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.2791/0.2791, allocations: 131.4 MB / 0.5575 GB, free: 1.281 MB / 458.7 MB Notification: Performance of NFInst.instExpressions: time 0.0008413/0.28, allocations: 0.8829 MB / 0.5584 GB, free: 420 kB / 458.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.172e-05/0.28, allocations: 0 / 0.5584 GB, free: 420 kB / 458.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002447/0.2803, allocations: 27.77 kB / 0.5584 GB, free: 392 kB / 458.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0004539/0.2807, allocations: 257.7 kB / 0.5587 GB, free: 136 kB / 458.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002528/0.281, allocations: 125.4 kB / 0.5588 GB, free: 12 kB / 458.7 MB Notification: Performance of NFFlatten.flatten: time 0.0001812/0.2812, allocations: 171.2 kB / 0.559 GB, free: 15.84 MB / 474.7 MB Notification: Performance of NFFlatten.resolveConnections: time 3.949e-05/0.2812, allocations: 6.922 kB / 0.559 GB, free: 15.84 MB / 474.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001943/0.2814, allocations: 123.6 kB / 0.5591 GB, free: 15.72 MB / 474.7 MB Notification: Performance of NFSimplifyModel.simplify: time 6.962e-05/0.2815, allocations: 43.89 kB / 0.5591 GB, free: 15.68 MB / 474.7 MB Notification: Performance of NFPackage.collectConstants: time 1.758e-05/0.2815, allocations: 4 kB / 0.5591 GB, free: 15.67 MB / 474.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002842/0.2818, allocations: 255.5 kB / 0.5594 GB, free: 15.42 MB / 474.7 MB Notification: Performance of NFScalarize.scalarize: time 5.416e-05/0.2818, allocations: 27.91 kB / 0.5594 GB, free: 15.39 MB / 474.7 MB Notification: Performance of NFVerifyModel.verify: time 4.026e-05/0.2819, allocations: 35.91 kB / 0.5594 GB, free: 15.36 MB / 474.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0003179/0.2822, allocations: 311.3 kB / 0.5597 GB, free: 15.05 MB / 474.7 MB Notification: Performance of FrontEnd - DAE generated: time 4.698e-06/0.2822, allocations: 7.984 kB / 0.5597 GB, free: 15.05 MB / 474.7 MB Notification: Performance of FrontEnd: time 1.443e-06/0.2822, allocations: 3.938 kB / 0.5597 GB, free: 15.04 MB / 474.7 MB Notification: Performance of Transformations before backend: time 5.09e-06/0.2822, allocations: 0 / 0.5597 GB, free: 15.04 MB / 474.7 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.000422/0.2826, allocations: 330.5 kB / 0.5601 GB, free: 14.7 MB / 474.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.119e-05/0.2826, allocations: 12.03 kB / 0.5601 GB, free: 14.68 MB / 474.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.546e-05/0.2827, allocations: 42.69 kB / 0.5601 GB, free: 14.63 MB / 474.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001072/0.2838, allocations: 207.8 kB / 0.5603 GB, free: 14.43 MB / 474.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002534/0.284, allocations: 157.8 kB / 0.5605 GB, free: 14.25 MB / 474.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.331e-05/0.284, allocations: 7.938 kB / 0.5605 GB, free: 14.25 MB / 474.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.525e-05/0.2841, allocations: 11.98 kB / 0.5605 GB, free: 14.23 MB / 474.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003519/0.2844, allocations: 297.1 kB / 0.5608 GB, free: 13.91 MB / 474.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.385e-06/0.2844, allocations: 0 / 0.5608 GB, free: 13.91 MB / 474.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.365e-05/0.2844, allocations: 8 kB / 0.5608 GB, free: 13.9 MB / 474.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.458e-06/0.2844, allocations: 0 / 0.5608 GB, free: 13.9 MB / 474.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002609/0.2847, allocations: 169.4 kB / 0.5609 GB, free: 13.74 MB / 474.7 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.0006531/0.2854, allocations: 0.5312 MB / 0.5614 GB, free: 13.16 MB / 474.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002088/0.2856, allocations: 130.5 kB / 0.5616 GB, free: 13.02 MB / 474.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.737e-05/0.2857, allocations: 68.58 kB / 0.5616 GB, free: 12.96 MB / 474.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.484e-05/0.2857, allocations: 7.5 kB / 0.5616 GB, free: 12.95 MB / 474.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.23e-05/0.2857, allocations: 42.48 kB / 0.5617 GB, free: 12.9 MB / 474.7 MB Notification: Performance of pre-optimization done (n=14): time 1.343e-06/0.2857, allocations: 0 / 0.5617 GB, free: 12.9 MB / 474.7 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.002784/0.2885, allocations: 1.153 MB / 0.5628 GB, free: 11.7 MB / 474.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.126e-05/0.2885, allocations: 55.39 kB / 0.5629 GB, free: 11.64 MB / 474.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 7.047e-05/0.2886, allocations: 111.4 kB / 0.563 GB, free: 11.52 MB / 474.7 MB Notification: Performance of collectPreVariables (initialization): time 2.183e-05/0.2886, allocations: 32.05 kB / 0.563 GB, free: 11.48 MB / 474.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.632e-05/0.2887, allocations: 96.05 kB / 0.5631 GB, free: 11.39 MB / 474.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.229e-05/0.2887, allocations: 71.36 kB / 0.5632 GB, free: 11.32 MB / 474.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.717e-05/0.2888, allocations: 60.94 kB / 0.5632 GB, free: 11.25 MB / 474.7 MB Notification: Performance of setup shared object (initialization): time 8.97e-05/0.2889, allocations: 322.8 kB / 0.5635 GB, free: 10.93 MB / 474.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.881e-05/0.289, allocations: 67.97 kB / 0.5636 GB, free: 10.86 MB / 474.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001049/0.2891, allocations: 101.6 kB / 0.5637 GB, free: 10.75 MB / 474.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003475/0.2894, allocations: 192.9 kB / 0.5639 GB, free: 10.55 MB / 474.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.293e-06/0.2894, allocations: 0 / 0.5639 GB, free: 10.55 MB / 474.7 MB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0003003/0.2897, allocations: 255.8 kB / 0.5641 GB, free: 10.3 MB / 474.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.445e-05/0.2898, allocations: 11.98 kB / 0.5641 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.688e-06/0.2898, allocations: 0 / 0.5641 GB, free: 10.29 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.000131/0.2899, allocations: 52.77 kB / 0.5642 GB, free: 10.23 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001651/0.2901, allocations: 51.97 kB / 0.5642 GB, free: 10.18 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0002799/0.2903, allocations: 0.5679 MB / 0.5648 GB, free: 9.586 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.648e-05/0.2904, allocations: 4 kB / 0.5648 GB, free: 9.582 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.941e-05/0.2904, allocations: 32.17 kB / 0.5648 GB, free: 9.551 MB / 474.7 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 7.971e-05/0.2905, allocations: 118.9 kB / 0.5649 GB, free: 9.426 MB / 474.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.685e-05/0.2905, allocations: 11.95 kB / 0.5649 GB, free: 9.414 MB / 474.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0004538/0.291, allocations: 350.2 kB / 0.5653 GB, free: 9.074 MB / 474.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.593e-06/0.291, allocations: 0 / 0.5653 GB, free: 9.074 MB / 474.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.282e-06/0.291, allocations: 11.06 kB / 0.5653 GB, free: 9.066 MB / 474.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.369e-06/0.291, allocations: 3.984 kB / 0.5653 GB, free: 9.062 MB / 474.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006043/0.2916, allocations: 0.5669 MB / 0.5658 GB, free: 8.438 MB / 474.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.485e-06/0.2916, allocations: 4 kB / 0.5658 GB, free: 8.434 MB / 474.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001635/0.2918, allocations: 64.83 kB / 0.5659 GB, free: 8.371 MB / 474.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.541e-05/0.2918, allocations: 16.84 kB / 0.5659 GB, free: 8.352 MB / 474.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.955e-05/0.2918, allocations: 15.98 kB / 0.5659 GB, free: 8.336 MB / 474.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0005627/0.2924, allocations: 1.263 MB / 0.5672 GB, free: 6.957 MB / 474.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.135e-06/0.2924, allocations: 8.016 kB / 0.5672 GB, free: 6.949 MB / 474.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004021/0.2928, allocations: 422.6 kB / 0.5676 GB, free: 6.508 MB / 474.7 MB Notification: Performance of postOpt removeConstants (simulation): time 9.548e-06/0.2928, allocations: 16.67 kB / 0.5676 GB, free: 6.492 MB / 474.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.86e-05/0.2928, allocations: 4 kB / 0.5676 GB, free: 6.488 MB / 474.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001043/0.2929, allocations: 8 kB / 0.5676 GB, free: 6.48 MB / 474.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.438e-05/0.293, allocations: 31.91 kB / 0.5676 GB, free: 6.449 MB / 474.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.535e-05/0.293, allocations: 26.41 kB / 0.5677 GB, free: 6.426 MB / 474.7 MB Notification: Performance of sorting global known variables: time 2.931e-05/0.293, allocations: 91.27 kB / 0.5678 GB, free: 6.336 MB / 474.7 MB Notification: Performance of sort global known variables: time 8e-08/0.293, allocations: 0 / 0.5678 GB, free: 6.336 MB / 474.7 MB Notification: Performance of remove unused functions: time 0.0002612/0.2933, allocations: 83.88 kB / 0.5678 GB, free: 6.254 MB / 474.7 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.0007637/0.2941, allocations: 1.015 MB / 0.5688 GB, free: 5.199 MB / 474.7 MB Notification: Performance of simCode: created initialization part: time 0.0003091/0.2944, allocations: 203.2 kB / 0.569 GB, free: 5.004 MB / 474.7 MB Notification: Performance of simCode: created event and clocks part: time 1.844e-06/0.2944, allocations: 0 / 0.569 GB, free: 5.004 MB / 474.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002036/0.2946, allocations: 223.4 kB / 0.5692 GB, free: 4.773 MB / 474.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002836/0.2949, allocations: 49.83 kB / 0.5693 GB, free: 4.727 MB / 474.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001833/0.2967, allocations: 2.007 MB / 0.5712 GB, free: 2.605 MB / 474.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 6.511e-05/0.2968, allocations: 94.09 kB / 0.5713 GB, free: 2.496 MB / 474.7 MB Notification: Performance of simCode: alias equations: time 0.0001898/0.2969, allocations: 77.39 kB / 0.5714 GB, free: 2.426 MB / 474.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001376/0.2971, allocations: 72.41 kB / 0.5715 GB, free: 2.355 MB / 474.7 MB Notification: Performance of SimCode: time 6.21e-07/0.2971, allocations: 0 / 0.5715 GB, free: 2.355 MB / 474.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01942/0.3165, allocations: 7.995 MB / 0.5793 GB, free: 10.53 MB / 490.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.767/8.083, allocations: 12.06 kB / 0.5793 GB, free: 10.52 MB / 490.7 MB " [Timeout remaining time 652] (rm -f ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.0.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.0.0_ModelicaTest.Media.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: 10.104732492938638]