Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.0.0_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 4.0.0+maint.om/package.mo", uses=false) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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_4.0.0_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_4.0.0_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.001281/0.001281, allocations: 110.5 kB / 17.75 MB, free: 5.332 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.001258/0.001258, allocations: 187 kB / 18.68 MB, free: 4.406 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.296/1.296, allocations: 222.9 MB / 242.4 MB, free: 15.19 MB / 206.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0009422/0.0009422, allocations: 51.91 kB / 352 MB, free: 3.27 MB / 286.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2059/0.2068, allocations: 49.44 MB / 401.4 MB, free: 8.723 MB / 318.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01411/0.221, allocations: 12.91 MB / 414.3 MB, free: 11.89 MB / 334.1 MB Notification: Performance of NFInst.instExpressions: time 0.01222/0.2332, allocations: 11.54 MB / 425.8 MB, free: 320 kB / 334.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.567e-05/0.2333, allocations: 4 kB / 425.8 MB, free: 316 kB / 334.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002842/0.2336, allocations: 79.48 kB / 425.9 MB, free: 236 kB / 334.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000237/0.2339, allocations: 83.44 kB / 426 MB, free: 152 kB / 334.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01056/0.2444, allocations: 5.067 MB / 431.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002769/0.2447, allocations: 238.9 kB / 431.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.45e-05/0.2448, allocations: 13.44 kB / 431.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003758/0.2452, allocations: 199.3 kB / 431.5 MB, free: 10.64 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001076/0.2453, allocations: 67.77 kB / 431.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.467e-05/0.2453, allocations: 8 kB / 431.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.01056/0.2559, allocations: 6.985 MB / 438.6 MB, free: 3.574 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.741e-05/0.256, allocations: 31.89 kB / 438.6 MB, free: 3.543 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 9.057e-05/0.256, allocations: 71.67 kB / 438.7 MB, free: 3.473 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.004943/0.261, allocations: 3.86 MB / 442.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.737e-06/0.261, allocations: 0 / 442.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.663e-06/0.261, allocations: 0 / 442.5 MB, free: 15.61 MB / 366.1 MB Notification: Performance of Transformations before backend: time 4.839e-06/0.261, allocations: 4 kB / 442.5 MB, free: 15.6 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: 34 * Number of variables: 34 Notification: Performance of Generate backend data structure: time 0.004293/0.2653, allocations: 1.143 MB / 443.7 MB, free: 14.41 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.654e-05/0.2654, allocations: 15.88 kB / 443.7 MB, free: 14.39 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0004966/0.2659, allocations: 60.7 kB / 443.8 MB, free: 14.34 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003032/0.2662, allocations: 216.2 kB / 444 MB, free: 14.09 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.624e-05/0.2662, allocations: 8.656 kB / 444 MB, free: 14.08 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.331e-05/0.2663, allocations: 16.38 kB / 444 MB, free: 14.06 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001314/0.2676, allocations: 384.8 kB / 444.4 MB, free: 13.66 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.553e-05/0.2676, allocations: 3.906 kB / 444.4 MB, free: 13.65 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.638e-05/0.2677, allocations: 8 kB / 444.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.324e-06/0.2677, allocations: 8 kB / 444.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001489/0.2692, allocations: 351.5 kB / 444.7 MB, free: 13.29 MB / 366.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.001354/0.2706, allocations: 1.191 MB / 445.9 MB, free: 12 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008926/0.2715, allocations: 279.7 kB / 446.2 MB, free: 11.7 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000286/0.2718, allocations: 108.4 kB / 446.3 MB, free: 11.59 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.1004/0.3721, allocations: 47.65 MB / 493.9 MB, free: 6.324 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.661e-05/0.3722, allocations: 38.5 kB / 494 MB, free: 6.277 MB / 414.1 MB Notification: Performance of pre-optimization done (n=23): time 2.805e-06/0.3722, allocations: 0 / 494 MB, free: 6.277 MB / 414.1 MB Notification: Performance of matching and sorting (n=33): time 0.007108/0.3793, allocations: 1.589 MB / 495.6 MB, free: 4.633 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.176e-05/0.3794, allocations: 110.9 kB / 495.7 MB, free: 4.5 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 8.649e-05/0.3795, allocations: 117.8 kB / 495.8 MB, free: 4.375 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.862e-05/0.3795, allocations: 33.7 kB / 495.8 MB, free: 4.336 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.985e-05/0.3796, allocations: 104.5 kB / 495.9 MB, free: 4.23 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 8.888e-05/0.3797, allocations: 118.3 kB / 496 MB, free: 4.113 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001222/0.3798, allocations: 73.47 kB / 496.1 MB, free: 4.035 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001029/0.3799, allocations: 326.8 kB / 496.4 MB, free: 3.707 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004144/0.3803, allocations: 135.9 kB / 496.6 MB, free: 3.574 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004452/0.3808, allocations: 198.5 kB / 496.8 MB, free: 3.355 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008382/0.3816, allocations: 354.5 kB / 497.1 MB, free: 2.984 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.176e-06/0.3817, allocations: 3.938 kB / 497.1 MB, free: 2.98 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001128/0.3828, allocations: 425.9 kB / 497.5 MB, free: 2.555 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.536e-05/0.3828, allocations: 4 kB / 497.5 MB, free: 2.551 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.344e-06/0.3828, allocations: 4 kB / 497.5 MB, free: 2.547 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002248/0.3831, allocations: 37.05 kB / 497.6 MB, free: 2.508 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004937/0.3836, allocations: 91.88 kB / 497.7 MB, free: 2.418 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0003502/0.3839, allocations: 0.5484 MB / 498.2 MB, free: 1.844 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002945/0.3842, allocations: 27.97 kB / 498.2 MB, free: 1.816 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.439e-05/0.3843, allocations: 16 kB / 498.3 MB, free: 1.801 MB / 414.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.0001429/0.3844, allocations: 133.7 kB / 498.4 MB, free: 1.66 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001029/0.3845, allocations: 15.91 kB / 498.4 MB, free: 1.645 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002136/0.3867, allocations: 1.446 MB / 499.8 MB, free: 188 kB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.536e-06/0.3867, allocations: 3.938 kB / 499.8 MB, free: 184 kB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.388e-06/0.3867, allocations: 384 / 499.8 MB, free: 184 kB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.644e-05/0.3868, allocations: 128.4 kB / 500 MB, free: 36 kB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.165e-05/0.3869, allocations: 8 kB / 500 MB, free: 28 kB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004187/0.3873, allocations: 27.97 kB / 0.4883 GB, free: 0 / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.63e-05/0.3874, allocations: 32.02 kB / 0.4883 GB, free: 15.96 MB / 430.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.001995/0.3894, allocations: 1.22 MB / 0.4895 GB, free: 14.73 MB / 430.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002515/0.3919, allocations: 1.695 MB / 0.4912 GB, free: 13.02 MB / 430.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.0006617/0.3926, allocations: 472.8 kB / 0.4916 GB, free: 12.56 MB / 430.1 MB Notification: Performance of sorting global known variables: time 4.606e-05/0.3926, allocations: 91.27 kB / 0.4917 GB, free: 12.47 MB / 430.1 MB Notification: Performance of Backend: time 3.91e-07/0.3926, allocations: 0 / 0.4917 GB, free: 12.47 MB / 430.1 MB Notification: Performance of simCode: created initialization part: time 0.005722/0.3984, allocations: 1.548 MB / 0.4932 GB, free: 10.91 MB / 430.1 MB Notification: Performance of SimCode: time 0.001289/0.3997, allocations: 1.207 MB / 0.4944 GB, free: 9.656 MB / 430.1 MB Notification: Performance of Templates: time 0.0463/0.446, allocations: 39.13 MB / 0.5326 GB, free: 2.496 MB / 462.1 MB make -j1 -f Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.makefile (rm -f Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_4.0.0_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.pipe 2>&1) diffSimulationResults("Modelica_4.0.0_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.0.0_Modelica.Media.Examples.WaterIF97.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches