Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.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) 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: translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") translateModel(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|volume.medium.T|volume.medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001569/0.001568, allocations: 110.6 kB / 18.4 MB, free: 4.699 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.001788/0.001789, allocations: 190.1 kB / 19.34 MB, free: 3.777 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.303/1.303, allocations: 205.1 MB / 225.2 MB, free: 12.23 MB / 190.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.001221/0.001221, allocations: 51.92 kB / 329.3 MB, free: 3.258 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07394/0.07517, allocations: 46.62 MB / 375.9 MB, free: 4.527 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater): time 0.1647/0.2399, allocations: 15.84 MB / 391.7 MB, free: 4.152 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.002251/0.2422, allocations: 1.91 MB / 393.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002798/0.2426, allocations: 4.281 kB / 393.6 MB, free: 2.781 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0005523/0.2431, allocations: 174.8 kB / 393.8 MB, free: 2.676 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006677/0.2438, allocations: 308.7 kB / 394.1 MB, free: 2.492 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006794/0.2445, allocations: 278.4 kB / 394.4 MB, free: 2.344 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0009549/0.2455, allocations: 0.8332 MB / 395.2 MB, free: 1.969 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001952/0.2457, allocations: 111.1 kB / 395.3 MB, free: 1.918 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0009904/0.2467, allocations: 0.5092 MB / 395.8 MB, free: 1.684 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0004303/0.2471, allocations: 276.6 kB / 396.1 MB, free: 1.574 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 6.741e-05/0.2472, allocations: 33.31 kB / 396.1 MB, free: 1.57 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001671/0.2474, allocations: 37.91 kB / 396.2 MB, free: 1.566 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.88e-05/0.2475, allocations: 93.28 kB / 396.3 MB, free: 1.52 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001943/0.2477, allocations: 177.3 kB / 396.4 MB, free: 1.43 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004539/0.2481, allocations: 435.5 kB / 396.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.258e-06/0.2481, allocations: 0 / 396.9 MB, free: 1.293 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.332e-06/0.2481, allocations: 3.938 kB / 396.9 MB, free: 1.289 MB / 318.1 MB Notification: Performance of Transformations before backend: time 1.177e-05/0.2482, allocations: 0 / 396.9 MB, free: 1.289 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 60 * Number of variables: 60 Notification: Performance of Generate backend data structure: time 0.0008876/0.2491, allocations: 0.581 MB / 397.4 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.42e-05/0.2491, allocations: 9.125 kB / 397.4 MB, free: 0.8086 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002853/0.2494, allocations: 44.58 kB / 397.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003849/0.2498, allocations: 288.2 kB / 397.8 MB, free: 0.5312 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.852e-05/0.2498, allocations: 19.38 kB / 397.8 MB, free: 0.5234 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.995e-05/0.2498, allocations: 23.56 kB / 397.8 MB, free: 0.5156 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004633/0.2503, allocations: 306.5 kB / 398.1 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.537e-05/0.2503, allocations: 1.062 kB / 398.1 MB, free: 348 kB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.381e-05/0.2504, allocations: 16.5 kB / 398.1 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.247e-06/0.2504, allocations: 6.344 kB / 398.1 MB, free: 336 kB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003368/0.2507, allocations: 198 kB / 398.3 MB, free: 268 kB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.2524, allocations: 1.43 MB / 399.8 MB, free: 15.04 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003218/0.2528, allocations: 191.1 kB / 399.9 MB, free: 14.95 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001456/0.2529, allocations: 88.78 kB / 400 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.684e-05/0.253, allocations: 2.906 kB / 400 MB, free: 14.91 MB / 334.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.596e-05/0.253, allocations: 33.53 kB / 400.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of pre-optimization done (n=21): time 1.512e-06/0.253, allocations: 0 / 400.1 MB, free: 14.87 MB / 334.1 MB Notification: Performance of matching and sorting (n=26): time 0.002512/0.2555, allocations: 1.003 MB / 401.1 MB, free: 14.23 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.856e-05/0.2556, allocations: 55.62 kB / 401.1 MB, free: 14.17 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002816/0.2559, allocations: 265.6 kB / 401.4 MB, free: 14.01 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 3.063e-05/0.2559, allocations: 31.81 kB / 401.4 MB, free: 13.97 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.256, allocations: 176.5 kB / 401.6 MB, free: 13.82 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.093e-05/0.2561, allocations: 91.75 kB / 401.7 MB, free: 13.75 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/0.2562, allocations: 62.31 kB / 401.7 MB, free: 13.71 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001129/0.2563, allocations: 336.5 kB / 402.1 MB, free: 13.39 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001665/0.2565, allocations: 85.2 kB / 402.2 MB, free: 13.36 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002124/0.2567, allocations: 184.5 kB / 402.3 MB, free: 13.2 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003924/0.2571, allocations: 286.2 kB / 402.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.415e-06/0.2571, allocations: 1.125 kB / 402.6 MB, free: 12.99 MB / 334.1 MB Notification: Performance of matching and sorting (n=42) (initialization): time 0.0006968/0.2578, allocations: 391 kB / 403 MB, free: 12.8 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.404e-05/0.2578, allocations: 4.094 kB / 403 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.276e-06/0.2579, allocations: 3.391 kB / 403 MB, free: 12.8 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002467/0.2581, allocations: 64.14 kB / 403.1 MB, free: 12.77 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0003019/0.2584, allocations: 68.2 kB / 403.1 MB, free: 12.76 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002217/0.2607, allocations: 2.886 MB / 406 MB, free: 9.871 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000236/0.2609, allocations: 8.25 kB / 406 MB, free: 9.867 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.731e-05/0.2609, allocations: 14.5 kB / 406 MB, free: 9.863 MB / 334.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * 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 (39): * Single equations (assignments): 37 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 2 * 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,2,100.0%)} * Non-linear torn systems (#iteration vars, #inner vars): 1 system {(1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.0001574/0.2611, allocations: 152.6 kB / 406.2 MB, free: 9.723 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.661e-05/0.2612, allocations: 34.44 kB / 406.2 MB, free: 9.703 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.48e-05/0.2613, allocations: 34.98 kB / 406.3 MB, free: 9.676 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.000601/0.2619, allocations: 0.5647 MB / 406.8 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.865e-06/0.2619, allocations: 0.7969 kB / 406.8 MB, free: 9.148 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.833e-05/0.262, allocations: 97.95 kB / 406.9 MB, free: 9.043 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.499e-05/0.262, allocations: 7.875 kB / 406.9 MB, free: 9.039 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002021/0.2622, allocations: 7.297 kB / 406.9 MB, free: 9.035 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.175e-05/0.2623, allocations: 19.55 kB / 407 MB, free: 9.031 MB / 334.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.0007302/0.263, allocations: 353 kB / 407.3 MB, free: 8.828 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.0006386/0.2637, allocations: 0.5049 MB / 407.8 MB, free: 8.48 MB / 334.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0001503/0.2638, allocations: 90.38 kB / 407.9 MB, free: 8.445 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0001826/0.264, allocations: 186.4 kB / 408.1 MB, free: 8.336 MB / 334.1 MB Notification: Performance of Backend: time 6.61e-07/0.264, allocations: 1.594 kB / 408.1 MB, free: 8.336 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.001013/0.265, allocations: 495.8 kB / 408.6 MB, free: 7.969 MB / 334.1 MB Notification: Performance of SimCode: time 0.001521/0.2666, allocations: 1.154 MB / 409.7 MB, free: 7.094 MB / 334.1 MB Notification: Performance of Templates: time 0.01073/0.2773, allocations: 5.277 MB / 415 MB, free: 4.941 MB / 334.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.sim & ./Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/Tests/MediaTestModels/LinearFluid/LinearColdWater/LinearColdWater.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.Tests.MediaTestModels.LinearFluid.LinearColdWater.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches