Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.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.001329/0.001329, allocations: 111.1 kB / 20.44 MB, free: 1.176 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.001497/0.001497, allocations: 206.8 kB / 23.73 MB, free: 4.379 MB / 14.72 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 1.48/1.48, allocations: 230.6 MB / 257.5 MB, free: 7.805 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0+maint.om/package.mo): time 0.2436/0.2436, allocations: 46.95 MB / 360.9 MB, free: 4.156 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.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_1_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Media.TestOnly.IdealGasN2,fileNamePrefix="ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001952/0.001952, allocations: 67.89 kB / 0.4961 GB, free: 7.758 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.316/0.318, allocations: 66.03 MB / 0.5606 GB, free: 4.258 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestOnly.IdealGasN2): time 0.165/0.483, allocations: 131.3 MB / 0.6888 GB, free: 400 kB / 0.5137 GB Notification: Performance of NFInst.instExpressions: time 0.001379/0.4844, allocations: 0.9579 MB / 0.6898 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFInst.updateImplicitVariability: time 5.187e-05/0.4844, allocations: 0 / 0.6898 GB, free: 15.43 MB / 0.5294 GB Notification: Performance of NFTyping.typeComponents: time 0.0002471/0.4846, allocations: 31.78 kB / 0.6898 GB, free: 15.4 MB / 0.5294 GB Notification: Performance of NFTyping.typeBindings: time 0.0006694/0.4853, allocations: 276.4 kB / 0.6901 GB, free: 15.13 MB / 0.5294 GB Notification: Performance of NFTyping.typeClassSections: time 0.0003494/0.4857, allocations: 119.6 kB / 0.6902 GB, free: 15.02 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.0002525/0.4859, allocations: 183.2 kB / 0.6904 GB, free: 14.84 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 4.377e-05/0.486, allocations: 3.984 kB / 0.6904 GB, free: 14.83 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.0002004/0.4862, allocations: 99.56 kB / 0.6905 GB, free: 14.73 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0001156/0.4863, allocations: 63.8 kB / 0.6905 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFPackage.collectConstants: time 1.604e-05/0.4863, allocations: 4 kB / 0.6905 GB, free: 14.67 MB / 0.5294 GB Notification: Performance of NFFlatten.collectFunctions: time 0.0004768/0.4868, allocations: 267.7 kB / 0.6908 GB, free: 14.41 MB / 0.5294 GB Notification: Performance of NFScalarize.scalarize: time 5.892e-05/0.4868, allocations: 27.84 kB / 0.6908 GB, free: 14.38 MB / 0.5294 GB Notification: Performance of NFVerifyModel.verify: time 6.194e-05/0.4869, allocations: 35.88 kB / 0.6908 GB, free: 14.34 MB / 0.5294 GB Notification: Performance of NFConvertDAE.convert: time 0.0004298/0.4873, allocations: 283.2 kB / 0.6911 GB, free: 14.07 MB / 0.5294 GB Notification: Performance of FrontEnd - DAE generated: time 4.718e-06/0.4873, allocations: 3.984 kB / 0.6911 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of FrontEnd: time 9.92e-07/0.4873, allocations: 0 / 0.6911 GB, free: 14.06 MB / 0.5294 GB Notification: Performance of Transformations before backend: time 4.268e-06/0.4873, allocations: 0 / 0.6911 GB, free: 14.06 MB / 0.5294 GB 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.0004672/0.4878, allocations: 337.8 kB / 0.6914 GB, free: 13.7 MB / 0.5294 GB Notification: Performance of prepare preOptimizeDAE: time 3.706e-05/0.4878, allocations: 12.03 kB / 0.6915 GB, free: 13.69 MB / 0.5294 GB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.914e-05/0.4879, allocations: 34.75 kB / 0.6915 GB, free: 13.65 MB / 0.5294 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00209/0.49, allocations: 204.5 kB / 0.6917 GB, free: 13.45 MB / 0.5294 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003723/0.4903, allocations: 149.6 kB / 0.6918 GB, free: 13.28 MB / 0.5294 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.052e-05/0.4904, allocations: 11.94 kB / 0.6918 GB, free: 13.27 MB / 0.5294 GB Notification: Performance of preOpt expandDerOperator (simulation): time 5.541e-05/0.4904, allocations: 15.98 kB / 0.6918 GB, free: 13.25 MB / 0.5294 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005897/0.491, allocations: 297.2 kB / 0.6921 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt findStateOrder (simulation): time 1.094e-05/0.491, allocations: 0 / 0.6921 GB, free: 12.93 MB / 0.5294 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.626e-05/0.4911, allocations: 4 kB / 0.6921 GB, free: 12.92 MB / 0.5294 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.74e-06/0.4911, allocations: 7.938 kB / 0.6921 GB, free: 12.91 MB / 0.5294 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004424/0.4915, allocations: 159.9 kB / 0.6923 GB, free: 12.76 MB / 0.5294 GB 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.001075/0.4926, allocations: 0.5394 MB / 0.6928 GB, free: 12.17 MB / 0.5294 GB Notification: Performance of preOpt comSubExp (simulation): time 0.0003554/0.4929, allocations: 138.5 kB / 0.693 GB, free: 12.02 MB / 0.5294 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001435/0.4931, allocations: 64.83 kB / 0.693 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt evalFunc (simulation): time 2.152e-05/0.4931, allocations: 0 / 0.693 GB, free: 11.96 MB / 0.5294 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.104e-05/0.4931, allocations: 42.8 kB / 0.6931 GB, free: 11.91 MB / 0.5294 GB Notification: Performance of pre-optimization done (n=14): time 8.72e-07/0.4931, allocations: 0 / 0.6931 GB, free: 11.91 MB / 0.5294 GB 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.005314/0.4984, allocations: 1.154 MB / 0.6942 GB, free: 10.7 MB / 0.5294 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.085e-05/0.4985, allocations: 55.41 kB / 0.6942 GB, free: 10.63 MB / 0.5294 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.211e-05/0.4986, allocations: 113.8 kB / 0.6943 GB, free: 10.51 MB / 0.5294 GB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.4986, allocations: 33.64 kB / 0.6944 GB, free: 10.47 MB / 0.5294 GB Notification: Performance of collectInitialEqns (initialization): time 6.447e-05/0.4987, allocations: 99.98 kB / 0.6945 GB, free: 10.37 MB / 0.5294 GB Notification: Performance of collectInitialBindings (initialization): time 6.608e-05/0.4987, allocations: 75.36 kB / 0.6945 GB, free: 10.29 MB / 0.5294 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001059/0.4988, allocations: 49.7 kB / 0.6946 GB, free: 10.24 MB / 0.5294 GB Notification: Performance of setup shared object (initialization): time 0.0001339/0.499, allocations: 322.8 kB / 0.6949 GB, free: 9.914 MB / 0.5294 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001599/0.4991, allocations: 71.95 kB / 0.695 GB, free: 9.844 MB / 0.5294 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001808/0.4993, allocations: 104.9 kB / 0.6951 GB, free: 9.73 MB / 0.5294 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003445/0.4997, allocations: 183.3 kB / 0.6952 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.062e-06/0.4997, allocations: 0 / 0.6952 GB, free: 9.539 MB / 0.5294 GB Notification: Performance of matching and sorting (n=24) (initialization): time 0.0005378/0.5002, allocations: 259.6 kB / 0.6955 GB, free: 9.277 MB / 0.5294 GB Notification: Performance of prepare postOptimizeDAE: time 1.617e-05/0.5002, allocations: 4 kB / 0.6955 GB, free: 9.273 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.492e-06/0.5002, allocations: 7.938 kB / 0.6955 GB, free: 9.266 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0001799/0.5004, allocations: 52.92 kB / 0.6956 GB, free: 9.211 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003418/0.5007, allocations: 55.91 kB / 0.6956 GB, free: 9.156 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004506/0.5012, allocations: 0.5643 MB / 0.6962 GB, free: 8.566 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000181/0.5014, allocations: 8.031 kB / 0.6962 GB, free: 8.559 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5e-05/0.5014, allocations: 23.98 kB / 0.6962 GB, free: 8.535 MB / 0.5294 GB 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.0001239/0.5016, allocations: 121.8 kB / 0.6963 GB, free: 8.406 MB / 0.5294 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.51e-05/0.5016, allocations: 15.84 kB / 0.6963 GB, free: 8.391 MB / 0.5294 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007825/0.5024, allocations: 365.3 kB / 0.6967 GB, free: 8.031 MB / 0.5294 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.975e-06/0.5024, allocations: 3.938 kB / 0.6967 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.628e-06/0.5024, allocations: 0 / 0.6967 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.436e-06/0.5024, allocations: 0 / 0.6967 GB, free: 8.027 MB / 0.5294 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001038/0.5034, allocations: 0.5675 MB / 0.6972 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.425e-06/0.5034, allocations: 0 / 0.6972 GB, free: 7.398 MB / 0.5294 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003778/0.5038, allocations: 71.98 kB / 0.6973 GB, free: 7.328 MB / 0.5294 GB Notification: Performance of postOpt tearingSystem (simulation): time 7.637e-05/0.5039, allocations: 16.84 kB / 0.6973 GB, free: 7.309 MB / 0.5294 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.225e-05/0.5039, allocations: 15.98 kB / 0.6973 GB, free: 7.293 MB / 0.5294 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.0009813/0.5049, allocations: 1.256 MB / 0.6986 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.503e-06/0.5049, allocations: 0 / 0.6986 GB, free: 5.926 MB / 0.5294 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007179/0.5056, allocations: 440.7 kB / 0.699 GB, free: 5.469 MB / 0.5294 GB Notification: Performance of postOpt removeConstants (simulation): time 1.737e-05/0.5056, allocations: 7.984 kB / 0.699 GB, free: 5.461 MB / 0.5294 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.708e-05/0.5057, allocations: 8 kB / 0.699 GB, free: 5.453 MB / 0.5294 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002326/0.5059, allocations: 8 kB / 0.699 GB, free: 5.445 MB / 0.5294 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.75e-05/0.506, allocations: 27.95 kB / 0.699 GB, free: 5.418 MB / 0.5294 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.358e-05/0.506, allocations: 23.98 kB / 0.699 GB, free: 5.395 MB / 0.5294 GB Notification: Performance of sorting global known variables: time 6.59e-05/0.5061, allocations: 91.22 kB / 0.6991 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of sort global known variables: time 8e-08/0.5061, allocations: 0 / 0.6991 GB, free: 5.305 MB / 0.5294 GB Notification: Performance of remove unused functions: time 0.0004556/0.5065, allocations: 83.92 kB / 0.6992 GB, free: 5.223 MB / 0.5294 GB 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.001305/0.5078, allocations: 1.015 MB / 0.7002 GB, free: 4.172 MB / 0.5294 GB Notification: Performance of simCode: created initialization part: time 0.0005013/0.5083, allocations: 195.7 kB / 0.7004 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of simCode: created event and clocks part: time 2.474e-06/0.5083, allocations: 0 / 0.7004 GB, free: 3.98 MB / 0.5294 GB Notification: Performance of simCode: created simulation system equations: time 0.0003647/0.5087, allocations: 222.5 kB / 0.7006 GB, free: 3.75 MB / 0.5294 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004504/0.5092, allocations: 48.56 kB / 0.7006 GB, free: 3.703 MB / 0.5294 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002853/0.512, allocations: 2.087 MB / 0.7027 GB, free: 1.496 MB / 0.5294 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 9.243e-05/0.5121, allocations: 97.97 kB / 0.7028 GB, free: 1.383 MB / 0.5294 GB Notification: Performance of simCode: alias equations: time 0.0003033/0.5124, allocations: 69.39 kB / 0.7028 GB, free: 1.312 MB / 0.5294 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000204/0.5126, allocations: 71.39 kB / 0.7029 GB, free: 1.242 MB / 0.5294 GB Notification: Performance of SimCode: time 6.31e-07/0.5126, allocations: 4 kB / 0.7029 GB, free: 1.238 MB / 0.5294 GB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03995/0.5526, allocations: 7.935 MB / 0.7107 GB, free: 9.465 MB / 0.545 GB Notification: Performance of buildModelFMU: Generate platform static: time 12.36/12.91, allocations: 0 / 0.7107 GB, free: 9.465 MB / 0.545 GB " [Timeout remaining time 647] (rm -f ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; mkfifo ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe ; head -c 1048576 < ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe >> ../files/ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat --tempDir=temp_ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2_fmu --startTime=0 --stopTime=1 --stepSize=0.00019992 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0_ModelicaTest_Media_TestOnly_IdealGasN2.fmu > ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_4.1.0_ModelicaTest.Media.TestOnly.IdealGasN2_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestOnly/IdealGasN2/IdealGasN2.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.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: 15.845344153000042]