Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.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.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_3.2.3_Modelica.Media.Examples.WaterIF97") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00155/0.00155, allocations: 111.4 kB / 18.4 MB, free: 4.691 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.001686/0.001686, allocations: 187.1 kB / 19.35 MB, free: 3.762 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.271/1.271, allocations: 205.1 MB / 225.2 MB, free: 12.22 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.001211/0.001211, allocations: 47.92 kB / 329.2 MB, free: 3.336 MB / 270.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.07113/0.07235, allocations: 46.63 MB / 375.8 MB, free: 4.602 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.1588/0.2311, allocations: 12.92 MB / 388.7 MB, free: 6.566 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.01084/0.242, allocations: 11.53 MB / 400.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.685e-05/0.2421, allocations: 1.094 kB / 400.3 MB, free: 14.61 MB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003034/0.2425, allocations: 76.31 kB / 400.3 MB, free: 14.56 MB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002666/0.2428, allocations: 84.16 kB / 400.4 MB, free: 14.51 MB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01368/0.2564, allocations: 5.062 MB / 405.5 MB, free: 11.93 MB / 334.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003301/0.2568, allocations: 237.2 kB / 405.7 MB, free: 11.8 MB / 334.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.533e-05/0.2568, allocations: 16.47 kB / 405.7 MB, free: 11.79 MB / 334.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004012/0.2573, allocations: 199.4 kB / 405.9 MB, free: 11.66 MB / 334.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001152/0.2574, allocations: 68.78 kB / 406 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFPackage.collectConstants: time 2.114e-05/0.2574, allocations: 7.656 kB / 406 MB, free: 11.62 MB / 334.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01307/0.2705, allocations: 6.995 MB / 413 MB, free: 7.953 MB / 334.1 MB Notification: Performance of NFScalarize.scalarize: time 6.869e-05/0.2706, allocations: 30.36 kB / 413 MB, free: 7.93 MB / 334.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001154/0.2707, allocations: 71.55 kB / 413.1 MB, free: 7.891 MB / 334.1 MB Notification: Performance of NFConvertDAE.convert: time 0.00715/0.2779, allocations: 3.869 MB / 417 MB, free: 5.414 MB / 334.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.31e-06/0.2779, allocations: 9.125 kB / 417 MB, free: 5.406 MB / 334.1 MB Notification: Performance of FrontEnd: time 1.323e-06/0.2779, allocations: 0 / 417 MB, free: 5.406 MB / 334.1 MB Notification: Performance of Transformations before backend: time 6.022e-06/0.2779, allocations: 0 / 417 MB, free: 5.406 MB / 334.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.005158/0.2831, allocations: 1.161 MB / 418.1 MB, free: 4.582 MB / 334.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.729e-05/0.2831, allocations: 11.94 kB / 418.1 MB, free: 4.578 MB / 334.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005072/0.2836, allocations: 50.64 kB / 418.2 MB, free: 4.559 MB / 334.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002712/0.2839, allocations: 228.6 kB / 418.4 MB, free: 4.309 MB / 334.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.811e-05/0.2839, allocations: 10.75 kB / 418.4 MB, free: 4.305 MB / 334.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.218e-05/0.284, allocations: 18.28 kB / 418.4 MB, free: 4.297 MB / 334.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001292/0.2853, allocations: 382 kB / 418.8 MB, free: 4.027 MB / 334.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.603e-05/0.2853, allocations: 4 kB / 418.8 MB, free: 4.023 MB / 334.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.413e-05/0.2854, allocations: 6.438 kB / 418.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.693e-06/0.2854, allocations: 4.812 kB / 418.8 MB, free: 4.02 MB / 334.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001438/0.2868, allocations: 353.4 kB / 419.2 MB, free: 3.852 MB / 334.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.001382/0.2882, allocations: 1.183 MB / 420.4 MB, free: 2.676 MB / 334.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008407/0.2891, allocations: 275.2 kB / 420.6 MB, free: 2.5 MB / 334.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000272/0.2894, allocations: 117.4 kB / 420.7 MB, free: 2.426 MB / 334.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09285/0.3822, allocations: 47.65 MB / 468.4 MB, free: 13.24 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.511e-05/0.3823, allocations: 46.48 kB / 468.4 MB, free: 13.18 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.234e-06/0.3823, allocations: 0 / 468.4 MB, free: 13.18 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.006953/0.3893, allocations: 1.576 MB / 470 MB, free: 11.55 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.452e-05/0.3893, allocations: 110.8 kB / 470.1 MB, free: 11.42 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.949e-05/0.3894, allocations: 125.8 kB / 470.2 MB, free: 11.29 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 3.405e-05/0.3895, allocations: 29.7 kB / 470.3 MB, free: 11.25 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.448e-05/0.3895, allocations: 104.6 kB / 470.4 MB, free: 11.15 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 9.472e-05/0.3896, allocations: 126.9 kB / 470.5 MB, free: 11.02 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001166/0.3898, allocations: 65.69 kB / 470.6 MB, free: 10.95 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001071/0.3899, allocations: 334.8 kB / 470.9 MB, free: 10.62 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003906/0.3903, allocations: 127.9 kB / 471 MB, free: 10.49 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004203/0.3907, allocations: 206.5 kB / 471.2 MB, free: 10.27 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008115/0.3915, allocations: 342.5 kB / 471.6 MB, free: 9.906 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.174e-06/0.3915, allocations: 0 / 471.6 MB, free: 9.906 MB / 398.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001086/0.3926, allocations: 429.9 kB / 472 MB, free: 9.477 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.874e-05/0.3927, allocations: 16.2 kB / 472 MB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.681e-06/0.3927, allocations: 0 / 472 MB, free: 9.461 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002324/0.3929, allocations: 36.84 kB / 472 MB, free: 9.422 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004909/0.3934, allocations: 87.88 kB / 472.1 MB, free: 9.336 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003532/0.3938, allocations: 0.5523 MB / 472.7 MB, free: 8.758 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002988/0.3941, allocations: 19.98 kB / 472.7 MB, free: 8.738 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.808e-05/0.3941, allocations: 17.06 kB / 472.7 MB, free: 8.723 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 8 * Number of states: 0 () * Number of discrete variables: 3 (medium.phase,state.phase,state2.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (40): * Single equations (assignments): 39 * 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.0001455/0.3943, allocations: 141.7 kB / 472.8 MB, free: 8.574 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.971e-05/0.3944, allocations: 15.91 kB / 472.9 MB, free: 8.559 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0021/0.3965, allocations: 1.445 MB / 474.3 MB, free: 7.109 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 9.959e-06/0.3965, allocations: 7.922 kB / 474.3 MB, free: 7.102 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.819e-06/0.3965, allocations: 4 kB / 474.3 MB, free: 7.098 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.312e-05/0.3966, allocations: 120.7 kB / 474.4 MB, free: 6.961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.773e-05/0.3967, allocations: 8 kB / 474.4 MB, free: 6.953 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004071/0.3971, allocations: 34.22 kB / 474.5 MB, free: 6.922 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.849e-05/0.3971, allocations: 27.95 kB / 474.5 MB, free: 6.895 MB / 398.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002039/0.3992, allocations: 1.215 MB / 475.7 MB, free: 5.664 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002219/0.4014, allocations: 1.698 MB / 477.4 MB, free: 3.953 MB / 398.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006527/0.4021, allocations: 468.8 kB / 477.9 MB, free: 3.496 MB / 398.1 MB Notification: Performance of sorting global known variables: time 5.696e-05/0.4022, allocations: 95.53 kB / 478 MB, free: 3.402 MB / 398.1 MB Notification: Performance of Backend: time 5.01e-07/0.4022, allocations: 4 kB / 478 MB, free: 3.398 MB / 398.1 MB Notification: Performance of simCode: created initialization part: time 0.007113/0.4093, allocations: 1.56 MB / 479.5 MB, free: 1.828 MB / 398.1 MB Notification: Performance of SimCode: time 0.001273/0.4106, allocations: 1.234 MB / 480.8 MB, free: 0.543 MB / 398.1 MB Notification: Performance of Templates: time 0.05017/0.4608, allocations: 39.1 MB / 0.5077 GB, free: 9.375 MB / 446.1 MB make -j1 -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_3.2.3_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.pipe 2>&1) diffSimulationResults("Modelica_3.2.3_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v3.2.3+build.4/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_3.2.3_Modelica.Media.Examples.WaterIF97.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches