Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001514/0.001514, allocations: 106.5 kB / 21.23 MB, free: 0.6562 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001724/0.001724, allocations: 213.2 kB / 24.54 MB, free: 4.016 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 230.3 MB / 258 MB, free: 8.23 MB / 206.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2284/0.2284, allocations: 46.95 MB / 361.4 MB, free: 4.484 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-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") translateModel(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|volume.medium.p|volume.medium.T",fileNamePrefix="ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002316/0.002316, allocations: 83.86 kB / 0.4972 GB, free: 7.516 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3688/0.3711, allocations: 66.05 MB / 0.5617 GB, free: 4.551 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.02538/0.3965, allocations: 20.69 MB / 0.5819 GB, free: 15.79 MB / 430.1 MB Notification: Performance of NFInst.instExpressions: time 0.00774/0.4042, allocations: 4.341 MB / 0.5861 GB, free: 11.43 MB / 430.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008753/0.4051, allocations: 27.75 kB / 0.5861 GB, free: 11.41 MB / 430.1 MB Notification: Performance of NFTyping.typeComponents: time 0.00116/0.4063, allocations: 322 kB / 0.5864 GB, free: 11.09 MB / 430.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002654/0.4089, allocations: 0.8823 MB / 0.5873 GB, free: 10.2 MB / 430.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.002913/0.4118, allocations: 0.9377 MB / 0.5882 GB, free: 9.27 MB / 430.1 MB Notification: Performance of NFFlatten.flatten: time 0.002915/0.4148, allocations: 1.813 MB / 0.59 GB, free: 7.449 MB / 430.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0007875/0.4155, allocations: 393.6 kB / 0.5904 GB, free: 7.062 MB / 430.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.002252/0.4178, allocations: 0.9652 MB / 0.5913 GB, free: 6.094 MB / 430.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001172/0.419, allocations: 0.6773 MB / 0.592 GB, free: 5.414 MB / 430.1 MB Notification: Performance of NFPackage.collectConstants: time 0.000121/0.4191, allocations: 59.98 kB / 0.592 GB, free: 5.355 MB / 430.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0009558/0.42, allocations: 323.6 kB / 0.5923 GB, free: 5.039 MB / 430.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003288/0.4204, allocations: 267.2 kB / 0.5926 GB, free: 4.777 MB / 430.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004855/0.4209, allocations: 390.2 kB / 0.593 GB, free: 4.395 MB / 430.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001757/0.4226, allocations: 1.089 MB / 0.594 GB, free: 3.305 MB / 430.1 MB Notification: Performance of FrontEnd - DAE generated: time 8.095e-06/0.4226, allocations: 0 / 0.594 GB, free: 3.305 MB / 430.1 MB Notification: Performance of FrontEnd: time 2.535e-06/0.4226, allocations: 4 kB / 0.594 GB, free: 3.301 MB / 430.1 MB Notification: Performance of Transformations before backend: time 1.819e-05/0.4226, allocations: 0 / 0.594 GB, free: 3.301 MB / 430.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 130 * Number of variables: 130 Notification: Performance of Generate backend data structure: time 0.003034/0.4257, allocations: 0.9873 MB / 0.595 GB, free: 2.281 MB / 430.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.457e-05/0.4257, allocations: 11.97 kB / 0.595 GB, free: 2.27 MB / 430.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003922/0.4261, allocations: 96.41 kB / 0.5951 GB, free: 2.176 MB / 430.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0009356/0.4271, allocations: 478.8 kB / 0.5956 GB, free: 1.68 MB / 430.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001304/0.4272, allocations: 96.97 kB / 0.5957 GB, free: 1.574 MB / 430.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001042/0.4273, allocations: 56.31 kB / 0.5957 GB, free: 1.52 MB / 430.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.00135/0.4286, allocations: 0.8174 MB / 0.5965 GB, free: 0.625 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.379e-05/0.4287, allocations: 7.938 kB / 0.5965 GB, free: 0.6172 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.534e-05/0.4287, allocations: 20 kB / 0.5965 GB, free: 0.5977 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.997e-05/0.4288, allocations: 40.97 kB / 0.5966 GB, free: 0.5586 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001179/0.43, allocations: 0.6478 MB / 0.5972 GB, free: 15.91 MB / 446.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.005194/0.4352, allocations: 4.166 MB / 0.6013 GB, free: 11.46 MB / 446.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009217/0.4361, allocations: 392 kB / 0.6016 GB, free: 11.07 MB / 446.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003364/0.4364, allocations: 193.4 kB / 0.6018 GB, free: 10.88 MB / 446.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003136/0.4368, allocations: 56.28 kB / 0.6019 GB, free: 10.83 MB / 446.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.691e-05/0.4368, allocations: 42.89 kB / 0.6019 GB, free: 10.78 MB / 446.1 MB Notification: Performance of pre-optimization done (n=40): time 2.565e-06/0.4368, allocations: 0 / 0.6019 GB, free: 10.78 MB / 446.1 MB Notification: Performance of matching and sorting (n=45): time 0.003477/0.4403, allocations: 1.456 MB / 0.6033 GB, free: 9.285 MB / 446.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001208/0.4404, allocations: 136.5 kB / 0.6035 GB, free: 9.121 MB / 446.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007831/0.4412, allocations: 0.5693 MB / 0.604 GB, free: 8.539 MB / 446.1 MB Notification: Performance of collectPreVariables (initialization): time 6.323e-05/0.4412, allocations: 37.7 kB / 0.6041 GB, free: 8.496 MB / 446.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003965/0.4416, allocations: 363.8 kB / 0.6044 GB, free: 8.137 MB / 446.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001917/0.4418, allocations: 174.6 kB / 0.6046 GB, free: 7.965 MB / 446.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0002662/0.4421, allocations: 134.6 kB / 0.6047 GB, free: 7.828 MB / 446.1 MB Notification: Performance of setup shared object (initialization): time 0.0001967/0.4423, allocations: 382.6 kB / 0.6051 GB, free: 7.445 MB / 446.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003879/0.4427, allocations: 229.8 kB / 0.6053 GB, free: 7.219 MB / 446.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006686/0.4433, allocations: 0.517 MB / 0.6058 GB, free: 6.562 MB / 446.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001085/0.4444, allocations: 0.7796 MB / 0.6066 GB, free: 5.656 MB / 446.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.059e-06/0.4444, allocations: 4 kB / 0.6066 GB, free: 5.652 MB / 446.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001846/0.4463, allocations: 0.9417 MB / 0.6075 GB, free: 4.703 MB / 446.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.963e-05/0.4463, allocations: 10.5 kB / 0.6075 GB, free: 4.695 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.476e-05/0.4463, allocations: 8 kB / 0.6075 GB, free: 4.688 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001149/0.4475, allocations: 267.7 kB / 0.6078 GB, free: 4.426 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004298/0.4479, allocations: 131.8 kB / 0.6079 GB, free: 4.297 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001035/0.4489, allocations: 0.8683 MB / 0.6087 GB, free: 3.402 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004981/0.4494, allocations: 31.98 kB / 0.6088 GB, free: 3.371 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.27e-05/0.4495, allocations: 32 kB / 0.6088 GB, free: 3.34 MB / 446.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 42 * Number of states: 0 () * Number of discrete variables: 4 (volume.regularFlow[1],volume.regularFlow[2],volume.inFlow[2],volume.inFlow[1]) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (73): * Single equations (assignments): 72 * 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 {(2,14)} Notification: Performance of prepare postOptimizeDAE: time 0.000359/0.4499, allocations: 249.9 kB / 0.609 GB, free: 3.086 MB / 446.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001199/0.45, allocations: 67.58 kB / 0.6091 GB, free: 3.02 MB / 446.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001476/0.4515, allocations: 0.7129 MB / 0.6098 GB, free: 2.305 MB / 446.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.314e-05/0.4515, allocations: 4 kB / 0.6098 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.746e-06/0.4515, allocations: 0 / 0.6098 GB, free: 2.301 MB / 446.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.231e-05/0.4515, allocations: 3.984 kB / 0.6098 GB, free: 2.297 MB / 446.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002347/0.4538, allocations: 1.367 MB / 0.6111 GB, free: 0.8516 MB / 446.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 8.856e-06/0.4538, allocations: 7.938 kB / 0.6111 GB, free: 0.8438 MB / 446.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0009789/0.4548, allocations: 192 kB / 0.6113 GB, free: 0.6562 MB / 446.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.0002588/0.4551, allocations: 60.73 kB / 0.6114 GB, free: 0.5938 MB / 446.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 4.358e-05/0.4551, allocations: 12 kB / 0.6114 GB, free: 0.582 MB / 446.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002818/0.4579, allocations: 2.776 MB / 0.6141 GB, free: 13.58 MB / 462.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.699e-06/0.4579, allocations: 4.031 kB / 0.6141 GB, free: 13.57 MB / 462.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001704/0.4597, allocations: 1.01 MB / 0.6151 GB, free: 12.52 MB / 462.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003159/0.46, allocations: 131.4 kB / 0.6152 GB, free: 12.39 MB / 462.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.288e-05/0.4601, allocations: 12 kB / 0.6152 GB, free: 12.38 MB / 462.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003655/0.4604, allocations: 20 kB / 0.6152 GB, free: 12.36 MB / 462.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001166/0.4605, allocations: 43.92 kB / 0.6153 GB, free: 12.32 MB / 462.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.342e-05/0.4606, allocations: 16 kB / 0.6153 GB, free: 12.3 MB / 462.1 MB Notification: Performance of sorting global known variables: time 0.0006058/0.4612, allocations: 423 kB / 0.6157 GB, free: 11.89 MB / 462.1 MB Notification: Performance of sort global known variables: time 1e-07/0.4612, allocations: 3.938 kB / 0.6157 GB, free: 11.88 MB / 462.1 MB Notification: Performance of remove unused functions: time 0.0008136/0.462, allocations: 207.9 kB / 0.6159 GB, free: 11.68 MB / 462.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 8 * Number of states: 2 (volume.medium.p,volume.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 (47): * Single equations (assignments): 43 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 2 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 1 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 1 system {1} * Without analytic Jacobian (size): 0 systems Notification: Torn system details for strict tearing set: * Linear torn systems (#iteration vars, #inner vars, density): 1 system {(1,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.0004297/0.4624, allocations: 233.8 kB / 0.6161 GB, free: 11.45 MB / 462.1 MB Notification: Performance of simCode: created initialization part: time 0.001295/0.4637, allocations: 0.5887 MB / 0.6167 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simCode: created event and clocks part: time 4.659e-06/0.4637, allocations: 3.938 kB / 0.6167 GB, free: 10.86 MB / 462.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001189/0.4649, allocations: 471 kB / 0.6172 GB, free: 10.38 MB / 462.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0016/0.4665, allocations: 366.3 kB / 0.6175 GB, free: 10.04 MB / 462.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002408/0.4689, allocations: 1.412 MB / 0.6189 GB, free: 8.57 MB / 462.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006284/0.4696, allocations: 0.9423 MB / 0.6198 GB, free: 7.602 MB / 462.1 MB Notification: Performance of simCode: alias equations: time 0.0006377/0.4702, allocations: 212.8 kB / 0.62 GB, free: 7.406 MB / 462.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001612/0.4704, allocations: 59.42 kB / 0.6201 GB, free: 7.348 MB / 462.1 MB Notification: Performance of SimCode: time 6.81e-07/0.4704, allocations: 0 / 0.6201 GB, free: 7.348 MB / 462.1 MB Notification: Performance of Templates: time 0.03055/0.5009, allocations: 15.89 MB / 0.6356 GB, free: 7.617 MB / 478.1 MB " [Timeout remaining time 659] make -j1 -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/ModelicaTest/Media/TestsWithFluid/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.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: 5.73596887756139]