Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo): time 0.001877/0.001877, allocations: 106.8 kB / 21.19 MB, free: 0.6406 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo): time 0.002257/0.002257, allocations: 214.8 kB / 24.49 MB, free: 3.934 MB / 14.72 MB " [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo", uses=false) [Timeout 180] "Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo): time 1.479/1.479, allocations: 230.6 MB / 258.3 MB, free: 7.781 MB / 206.1 MB " [Timeout remaining time 178] Using package Modelica with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.1.0+maint.om/package.mo) Using package Complex with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.1.0+maint.om/package.mo) Using package ModelicaServices with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.1.0+maint.om/package.mo) Running command: translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.WaterIF97") translateModel(Modelica.Media.Examples.WaterIF97,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5002,variableFilter="time|V|medium.h|medium.p",fileNamePrefix="Modelica_4.1.0_Modelica.Media.Examples.WaterIF97") [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.001576/0.001576, allocations: 47.92 kB / 379 MB, free: 2.496 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2119/0.2135, allocations: 53.37 MB / 432.3 MB, free: 6.738 MB / 334.1 MB Notification: Performance of NFInst.instantiate(Modelica.Media.Examples.WaterIF97): time 0.01651/0.23, allocations: 11.93 MB / 444.2 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.01354/0.2436, allocations: 10.12 MB / 454.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.581e-05/0.2436, allocations: 0 / 454.4 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002902/0.2439, allocations: 59.59 kB / 454.4 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002734/0.2442, allocations: 91.42 kB / 454.5 MB, free: 480 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.01133/0.2555, allocations: 5.044 MB / 459.6 MB, free: 11.43 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003259/0.2558, allocations: 242.9 kB / 459.8 MB, free: 11.19 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.999e-05/0.2559, allocations: 5.641 kB / 459.8 MB, free: 11.18 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0004166/0.2563, allocations: 187.4 kB / 460 MB, free: 10.99 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001225/0.2564, allocations: 71.75 kB / 460.1 MB, free: 10.92 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.2e-05/0.2565, allocations: 8 kB / 460.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0116/0.2681, allocations: 6.966 MB / 467 MB, free: 3.941 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.923e-05/0.2681, allocations: 35.89 kB / 467.1 MB, free: 3.906 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 8.747e-05/0.2682, allocations: 55.8 kB / 467.1 MB, free: 3.852 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.005643/0.2739, allocations: 3.878 MB / 471 MB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.331e-06/0.2739, allocations: 4 kB / 471 MB, free: 15.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.142e-06/0.2739, allocations: 3.938 kB / 471 MB, free: 15.96 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.099e-05/0.2739, allocations: 0 / 471 MB, free: 15.96 MB / 382.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.004765/0.2786, allocations: 1.091 MB / 472.1 MB, free: 14.83 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.044e-05/0.2787, allocations: 12.03 kB / 472.1 MB, free: 14.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0005067/0.2792, allocations: 48.84 kB / 472.2 MB, free: 14.77 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003313/0.2795, allocations: 162.3 kB / 472.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.114e-05/0.2796, allocations: 12.66 kB / 472.3 MB, free: 14.58 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.701e-05/0.2796, allocations: 16.38 kB / 472.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001435/0.281, allocations: 444.2 kB / 472.8 MB, free: 14.09 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.828e-05/0.2811, allocations: 4 kB / 472.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.904e-05/0.2811, allocations: 4 kB / 472.8 MB, free: 14.08 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.169e-05/0.2811, allocations: 8 kB / 472.8 MB, free: 14.07 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001528/0.2826, allocations: 355.5 kB / 473.1 MB, free: 13.72 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.001386/0.284, allocations: 0.9894 MB / 474.1 MB, free: 12.68 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0009053/0.2849, allocations: 283.7 kB / 474.4 MB, free: 12.37 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003058/0.2852, allocations: 106.5 kB / 474.5 MB, free: 12.26 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 0.09527/0.3805, allocations: 26.11 MB / 0.4889 GB, free: 2.113 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.589e-05/0.3806, allocations: 38.55 kB / 0.4889 GB, free: 2.066 MB / 398.1 MB Notification: Performance of pre-optimization done (n=23): time 2.355e-06/0.3806, allocations: 0 / 0.4889 GB, free: 2.066 MB / 398.1 MB Notification: Performance of matching and sorting (n=33): time 0.007494/0.3881, allocations: 1.517 MB / 0.4904 GB, free: 0.5156 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.235e-05/0.3881, allocations: 106.8 kB / 0.4905 GB, free: 396 kB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001093/0.3882, allocations: 121.8 kB / 0.4906 GB, free: 264 kB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 4.507e-05/0.3883, allocations: 33.7 kB / 0.4907 GB, free: 224 kB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.976e-05/0.3883, allocations: 104.6 kB / 0.4908 GB, free: 116 kB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 0.0001281/0.3885, allocations: 123 kB / 0.4909 GB, free: 15.99 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001274/0.3886, allocations: 69.7 kB / 0.4909 GB, free: 15.92 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001445/0.3887, allocations: 330.8 kB / 0.4913 GB, free: 15.59 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004256/0.3892, allocations: 131.7 kB / 0.4914 GB, free: 15.46 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004641/0.3896, allocations: 195.1 kB / 0.4916 GB, free: 15.24 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008779/0.3905, allocations: 346.6 kB / 0.4919 GB, free: 14.88 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.063e-06/0.3905, allocations: 4 kB / 0.4919 GB, free: 14.88 MB / 414.1 MB Notification: Performance of matching and sorting (n=41) (initialization): time 0.001185/0.3917, allocations: 430 kB / 0.4923 GB, free: 14.45 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.549e-05/0.3917, allocations: 7.938 kB / 0.4923 GB, free: 14.44 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.985e-06/0.3917, allocations: 4 kB / 0.4923 GB, free: 14.43 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.0002496/0.392, allocations: 40.83 kB / 0.4924 GB, free: 14.39 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0005244/0.3925, allocations: 87.88 kB / 0.4924 GB, free: 14.3 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.0004301/0.3929, allocations: 0.5525 MB / 0.493 GB, free: 13.73 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003144/0.3932, allocations: 23.92 kB / 0.493 GB, free: 13.7 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.884e-05/0.3933, allocations: 12 kB / 0.493 GB, free: 13.69 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.0001574/0.3934, allocations: 141.8 kB / 0.4932 GB, free: 13.54 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001113/0.3935, allocations: 19.89 kB / 0.4932 GB, free: 13.52 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.002408/0.396, allocations: 1.498 MB / 0.4946 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.073e-05/0.396, allocations: 3.984 kB / 0.4946 GB, free: 12.02 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.45e-06/0.396, allocations: 3.938 kB / 0.4946 GB, free: 12.01 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.505e-05/0.396, allocations: 47.58 kB / 0.4947 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.244e-05/0.3961, allocations: 8 kB / 0.4947 GB, free: 11.96 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004316/0.3965, allocations: 27.97 kB / 0.4947 GB, free: 11.93 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.292e-05/0.3966, allocations: 35.73 kB / 0.4948 GB, free: 11.89 MB / 414.1 MB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.002204/0.3988, allocations: 1.234 MB / 0.496 GB, free: 10.65 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.002476/0.4012, allocations: 1.738 MB / 0.4977 GB, free: 8.895 MB / 414.1 MB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.000659/0.4019, allocations: 393.7 kB / 0.498 GB, free: 8.512 MB / 414.1 MB Notification: Performance of sorting global known variables: time 5.561e-05/0.402, allocations: 87.28 kB / 0.4981 GB, free: 8.426 MB / 414.1 MB Notification: Performance of Backend: time 3.5e-07/0.402, allocations: 0 / 0.4981 GB, free: 8.426 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.005833/0.4078, allocations: 1.542 MB / 0.4996 GB, free: 6.871 MB / 414.1 MB Notification: Performance of SimCode: time 0.001443/0.4092, allocations: 1.224 MB / 0.5008 GB, free: 5.598 MB / 414.1 MB Notification: Performance of Templates: time 0.214/0.6232, allocations: 39.8 MB / 0.5397 GB, free: 110 MB / 446.1 MB " [Timeout remaining time 659] make -j1 -f Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.makefile [Timeout 660] (rm -f Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe ; mkfifo Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe ; head -c 1048576 < Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe >> ../files/Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.sim & ./Modelica_4.1.0_Modelica.Media.Examples.WaterIF97 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.pipe 2>&1) [Timeout 480] diffSimulationResults("Modelica_4.1.0_Modelica.Media.Examples.WaterIF97_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.1.0/Modelica/Media/Examples/WaterIF97/WaterIF97.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/Modelica_4.1.0_Modelica.Media.Examples.WaterIF97.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: 7.044071555006667]