Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_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.001989/0.001989, allocations: 84.95 kB / 20.68 MB, free: 1.035 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.002565/0.002565, allocations: 158.2 kB / 23.95 MB, free: 4.168 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.48/1.48, allocations: 177 MB / 204.1 MB, free: 9.184 MB / 190.1 MB " [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2153/0.2153, allocations: 34.26 MB / 294.8 MB, free: 14.55 MB / 286.1 MB " [Timeout remaining time 180] Using package ModelicaTest with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/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_trunk_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_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 1.883e-06/1.883e-06, allocations: 0 / 442.7 MB, free: 5.309 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 3.14e-05/3.328e-05, allocations: 4.812 kB / 442.7 MB, free: 5.305 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater): time 0.2233/0.2234, allocations: 18.57 MB / 461.2 MB, free: 8.773 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.006815/0.2302, allocations: 3.993 MB / 465.2 MB, free: 6.105 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0008857/0.2311, allocations: 26.81 kB / 465.3 MB, free: 6.09 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.001085/0.2321, allocations: 307.1 kB / 465.6 MB, free: 5.926 MB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.002485/0.2346, allocations: 0.9059 MB / 466.5 MB, free: 5.398 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.003053/0.2377, allocations: 0.9524 MB / 467.4 MB, free: 4.922 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.002952/0.2406, allocations: 1.834 MB / 469.2 MB, free: 4.082 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0008035/0.2414, allocations: 386.8 kB / 469.6 MB, free: 3.922 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0029/0.2443, allocations: 1.174 MB / 470.8 MB, free: 3.418 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.001127/0.2455, allocations: 0.6146 MB / 471.4 MB, free: 3.234 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 0.0001718/0.2456, allocations: 66.59 kB / 471.5 MB, free: 3.227 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001072/0.2467, allocations: 300 kB / 471.8 MB, free: 3.145 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0003109/0.247, allocations: 276 kB / 472 MB, free: 3.02 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0004067/0.2474, allocations: 274.1 kB / 472.3 MB, free: 2.918 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001541/0.249, allocations: 1.122 MB / 473.4 MB, free: 2.414 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.388e-06/0.249, allocations: 0 / 473.4 MB, free: 2.414 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.343e-06/0.249, allocations: 1.344 kB / 473.4 MB, free: 2.414 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.086e-05/0.249, allocations: 0 / 473.4 MB, free: 2.414 MB / 366.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.002203/0.2512, allocations: 0.9863 MB / 474.4 MB, free: 1.668 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.775e-05/0.2512, allocations: 9.969 kB / 474.4 MB, free: 1.668 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0003876/0.2516, allocations: 92.08 kB / 474.5 MB, free: 1.625 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0008968/0.2525, allocations: 481.2 kB / 475 MB, free: 1.25 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001387/0.2527, allocations: 153.2 kB / 475.1 MB, free: 1.105 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001135/0.2528, allocations: 56.27 kB / 475.2 MB, free: 1.082 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001307/0.2541, allocations: 1.07 MB / 476.3 MB, free: 192 kB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.511e-05/0.2541, allocations: 11.34 kB / 476.3 MB, free: 184 kB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.558e-05/0.2542, allocations: 22.55 kB / 476.3 MB, free: 168 kB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-05/0.2542, allocations: 38.48 kB / 476.3 MB, free: 160 kB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001245/0.2555, allocations: 0.6404 MB / 477 MB, free: 15.83 MB / 382.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.005163/0.2607, allocations: 3.329 MB / 480.3 MB, free: 13.04 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.001005/0.2617, allocations: 392.5 kB / 480.7 MB, free: 12.84 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003607/0.262, allocations: 200 kB / 480.9 MB, free: 12.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.0003066/0.2623, allocations: 49.75 kB / 480.9 MB, free: 12.71 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.841e-05/0.2624, allocations: 39.52 kB / 481 MB, free: 12.67 MB / 382.1 MB Notification: Performance of pre-optimization done (n=40): time 2.524e-06/0.2624, allocations: 4 kB / 481 MB, free: 12.67 MB / 382.1 MB Notification: Performance of matching and sorting (n=45): time 0.003715/0.2661, allocations: 1.456 MB / 482.4 MB, free: 11.79 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.616e-05/0.2662, allocations: 137.6 kB / 482.6 MB, free: 11.63 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0007274/0.2669, allocations: 0.517 MB / 483.1 MB, free: 11.32 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 5.83e-05/0.267, allocations: 32.86 kB / 483.1 MB, free: 11.28 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003135/0.2673, allocations: 370.8 kB / 483.5 MB, free: 10.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001605/0.2674, allocations: 171.4 kB / 483.6 MB, free: 10.8 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.000239/0.2677, allocations: 140.4 kB / 483.8 MB, free: 10.71 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0002048/0.2679, allocations: 364.6 kB / 484.1 MB, free: 10.36 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004326/0.2683, allocations: 225.4 kB / 484.4 MB, free: 10.25 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0007606/0.2691, allocations: 0.595 MB / 485 MB, free: 9.652 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001201/0.2703, allocations: 0.7828 MB / 485.7 MB, free: 9.008 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.781e-06/0.2703, allocations: 2.281 kB / 485.7 MB, free: 9.008 MB / 382.1 MB Notification: Performance of matching and sorting (n=88) (initialization): time 0.001967/0.2723, allocations: 0.9415 MB / 486.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.438e-05/0.2723, allocations: 8.406 kB / 486.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.345e-05/0.2723, allocations: 10.17 kB / 486.7 MB, free: 8.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001219/0.2735, allocations: 261.6 kB / 487 MB, free: 8.387 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004442/0.274, allocations: 125.8 kB / 487.1 MB, free: 8.355 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001145/0.2751, allocations: 0.867 MB / 487.9 MB, free: 7.645 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0005419/0.2756, allocations: 31.14 kB / 488 MB, free: 7.629 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.858e-05/0.2757, allocations: 31.62 kB / 488 MB, free: 7.625 MB / 382.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.0004153/0.2761, allocations: 255.2 kB / 488.3 MB, free: 7.418 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001393/0.2763, allocations: 69.92 kB / 488.3 MB, free: 7.383 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001597/0.2779, allocations: 0.7098 MB / 489 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.03e-05/0.2779, allocations: 3.75 kB / 489 MB, free: 6.957 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.023e-05/0.2779, allocations: 5.75 kB / 489 MB, free: 6.953 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.024e-05/0.2779, allocations: 3.984 kB / 489 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.002356/0.2802, allocations: 1.239 MB / 490.3 MB, free: 5.746 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.122e-06/0.2803, allocations: 4 kB / 490.3 MB, free: 5.742 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.001099/0.2814, allocations: 187.8 kB / 490.5 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.000266/0.2816, allocations: 60.75 kB / 490.5 MB, free: 5.496 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 3.945e-05/0.2817, allocations: 8 kB / 490.5 MB, free: 5.488 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002678/0.2843, allocations: 2.733 MB / 493.3 MB, free: 2.555 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.324e-06/0.2843, allocations: 4.219 kB / 493.3 MB, free: 2.551 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001803/0.2861, allocations: 0.9954 MB / 494.3 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002868/0.2864, allocations: 111.6 kB / 494.4 MB, free: 1.406 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001015/0.2865, allocations: 16.98 kB / 494.4 MB, free: 1.391 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003801/0.2869, allocations: 15.94 kB / 494.4 MB, free: 1.375 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001098/0.287, allocations: 39.88 kB / 494.4 MB, free: 1.336 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.405e-05/0.2871, allocations: 19.98 kB / 494.5 MB, free: 1.316 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0004633/0.2875, allocations: 350.8 kB / 494.8 MB, free: 0.9766 MB / 382.1 MB Notification: Performance of sort global known variables: time 1e-07/0.2875, allocations: 4.062 kB / 494.8 MB, free: 0.9727 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0009414/0.2885, allocations: 211.8 kB / 495 MB, free: 0.7656 MB / 382.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.0004459/0.2889, allocations: 208.4 kB / 495.2 MB, free: 0.5547 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001278/0.2902, allocations: 0.585 MB / 495.8 MB, free: 15.97 MB / 398.1 MB Notification: Performance of simCode: created event and clocks part: time 3.186e-06/0.2902, allocations: 0 / 495.8 MB, free: 15.97 MB / 398.1 MB Notification: Performance of simCode: created simulation system equations: time 0.001294/0.2915, allocations: 479.6 kB / 496.3 MB, free: 15.49 MB / 398.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.001635/0.2931, allocations: 322.9 kB / 496.6 MB, free: 15.19 MB / 398.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002462/0.2956, allocations: 1.321 MB / 497.9 MB, free: 13.82 MB / 398.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004077/0.296, allocations: 333.1 kB / 498.2 MB, free: 13.47 MB / 398.1 MB Notification: Performance of simCode: alias equations: time 0.0006268/0.2966, allocations: 201.9 kB / 498.4 MB, free: 13.29 MB / 398.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001784/0.2968, allocations: 60.48 kB / 498.5 MB, free: 13.23 MB / 398.1 MB Notification: Performance of SimCode: time 4.51e-07/0.2968, allocations: 0 / 498.5 MB, free: 13.23 MB / 398.1 MB Notification: Performance of Templates: time 0.02669/0.3235, allocations: 13.81 MB / 0.5003 GB, free: 15.7 MB / 414.1 MB " [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.sim & ./ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Media.TestsWithFluid.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_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_trunk_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.476358998566866]