Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) 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.Fluid.TestPipesAndValves.SeriesPipes13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe2.mediums.2..h|pipe2.mediums.2..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valve.filter.x.1.|valve.filter.x.2.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13") translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipe1.mediums.1..h|pipe1.mediums.1..p|pipe2.mediums.1..h|pipe2.mediums.1..p|pipe2.mediums.2..h|pipe2.mediums.2..p|pipe3.mediums.1..h|pipe3.mediums.1..p|valve.filter.x.1.|valve.filter.x.2.",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001063/0.001063, allocations: 116.7 kB / 18.46 MB, free: 4.613 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001176/0.001176, allocations: 210.8 kB / 19.41 MB, free: 3.668 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.325/1.325, allocations: 227.4 MB / 247.6 MB, free: 10.47 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2045/0.2045, allocations: 46.1 MB / 345 MB, free: 11.5 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001439/0.001439, allocations: 75.88 kB / 482 MB, free: 4.066 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.2844/0.2858, allocations: 62.44 MB / 0.5317 GB, free: 13.6 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13): time 0.09346/0.3793, allocations: 92.01 MB / 0.6215 GB, free: 5.422 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.04868/0.428, allocations: 37.31 MB / 0.658 GB, free: 12 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.00274/0.4308, allocations: 87.55 kB / 0.658 GB, free: 15.92 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.00328/0.4341, allocations: 1.177 MB / 0.6592 GB, free: 14.74 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.02261/0.4568, allocations: 7.972 MB / 0.667 GB, free: 6.758 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.02237/0.4792, allocations: 9.083 MB / 0.6758 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008474/0.4877, allocations: 6.632 MB / 0.6823 GB, free: 7.027 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002782/0.4905, allocations: 1.511 MB / 0.6838 GB, free: 5.492 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.004909/0.4954, allocations: 2.617 MB / 0.6864 GB, free: 2.867 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.0262/0.5216, allocations: 13.55 MB / 0.6996 GB, free: 5.125 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.0007548/0.5224, allocations: 216 kB / 0.6998 GB, free: 4.914 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.02084/0.5432, allocations: 10.49 MB / 0.71 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.00159/0.5449, allocations: 0.9349 MB / 0.7109 GB, free: 9.473 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.002626/0.5475, allocations: 1.4 MB / 0.7123 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.2964/0.8439, allocations: 9.505 MB / 0.7216 GB, free: 43.16 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 5.29e-06/0.8439, allocations: 2 kB / 0.7216 GB, free: 43.16 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.292e-06/0.8439, allocations: 0.6562 kB / 0.7216 GB, free: 43.16 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001072/0.8441, allocations: 0 / 0.7216 GB, free: 43.16 MB / 0.5606 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 512 * Number of variables: 512 Notification: Performance of Generate backend data structure: time 0.01026/0.8543, allocations: 4.078 MB / 0.7256 GB, free: 41.7 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.235e-05/0.8544, allocations: 10.94 kB / 0.7256 GB, free: 41.7 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005972/0.8604, allocations: 0.8099 MB / 0.7264 GB, free: 41.56 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01062/0.871, allocations: 6.678 MB / 0.7329 GB, free: 41 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001521/0.8712, allocations: 176.7 kB / 0.7331 GB, free: 40.99 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003407/0.8715, allocations: 203.6 kB / 0.7333 GB, free: 40.99 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006725/0.8783, allocations: 3.483 MB / 0.7367 GB, free: 40.54 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.525e-05/0.8783, allocations: 6.844 kB / 0.7367 GB, free: 40.54 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002127/0.8785, allocations: 88.89 kB / 0.7368 GB, free: 40.53 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0002122/0.8788, allocations: 185.3 kB / 0.7369 GB, free: 40.53 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006673/0.8854, allocations: 3.225 MB / 0.7401 GB, free: 40.5 MB / 0.5606 GB 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.01541/0.9009, allocations: 15.1 MB / 0.7548 GB, free: 31.44 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.005112/0.906, allocations: 2.258 MB / 0.757 GB, free: 31.4 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001613/0.9076, allocations: 1.138 MB / 0.7581 GB, free: 31.39 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04355/0.9512, allocations: 27.26 MB / 0.7848 GB, free: 12.93 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004576/0.9558, allocations: 1.611 MB / 0.7863 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=155): time 4.578e-06/0.9558, allocations: 0 / 0.7863 GB, free: 12.84 MB / 0.5606 GB Notification: Performance of matching and sorting (n=171): time 0.01799/0.9738, allocations: 8.025 MB / 0.7942 GB, free: 11.16 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 5.664e-05/0.9739, allocations: 226.9 kB / 0.7944 GB, free: 10.89 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00178/0.9757, allocations: 1.63 MB / 0.796 GB, free: 9.93 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.0001549/0.9759, allocations: 61.2 kB / 0.796 GB, free: 9.887 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0008321/0.9767, allocations: 0.9868 MB / 0.797 GB, free: 25.29 MB / 0.5763 GB Notification: Performance of collectInitialBindings (initialization): time 0.000328/0.977, allocations: 0.5828 MB / 0.7976 GB, free: 24.79 MB / 0.5763 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005805/0.9776, allocations: 432.6 kB / 0.798 GB, free: 24.51 MB / 0.5763 GB Notification: Performance of setup shared object (initialization): time 9.946e-05/0.9778, allocations: 304.7 kB / 0.7983 GB, free: 24.21 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001762/0.9795, allocations: 1.164 MB / 0.7994 GB, free: 23.42 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001989/0.9815, allocations: 1.656 MB / 0.801 GB, free: 21.99 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003767/0.9853, allocations: 2.878 MB / 0.8038 GB, free: 19.89 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.416e-06/0.9853, allocations: 6.25 kB / 0.8038 GB, free: 19.89 MB / 0.5763 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005965/0.9913, allocations: 3.971 MB / 0.8077 GB, free: 17.19 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 4.434e-05/0.9913, allocations: 49.58 kB / 0.8078 GB, free: 17.14 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.231e-05/0.9914, allocations: 15.98 kB / 0.8078 GB, free: 17.12 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.01528/1.007, allocations: 3.146 MB / 0.8109 GB, free: 14.33 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001161/1.008, allocations: 317.6 kB / 0.8112 GB, free: 14.05 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.005512/1.013, allocations: 3.445 MB / 0.8145 GB, free: 11.56 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001796/1.015, allocations: 101.4 kB / 0.8146 GB, free: 11.5 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002626/1.015, allocations: 103 kB / 0.8147 GB, free: 11.41 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002896/1.018, allocations: 1.598 MB / 0.8163 GB, free: 10.34 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.002347/1.021, allocations: 1.597 MB / 0.8178 GB, free: 8.938 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004488/1.025, allocations: 2.773 MB / 0.8205 GB, free: 6.875 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 2.315e-05/1.025, allocations: 5.328 kB / 0.8206 GB, free: 6.871 MB / 0.5763 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.007529/1.033, allocations: 3.744 MB / 0.8242 GB, free: 4.258 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 4.249e-05/1.033, allocations: 45.62 kB / 0.8243 GB, free: 4.211 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.897e-05/1.033, allocations: 19.94 kB / 0.8243 GB, free: 4.191 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.006921/1.04, allocations: 1.717 MB / 0.826 GB, free: 2.672 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001317/1.041, allocations: 355.1 kB / 0.8263 GB, free: 2.348 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.004207/1.045, allocations: 2.752 MB / 0.829 GB, free: 15.59 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001728/1.047, allocations: 107 kB / 0.8291 GB, free: 15.49 MB / 0.5919 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002242/1.047, allocations: 99.97 kB / 0.8292 GB, free: 15.39 MB / 0.5919 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 60 * Number of states: 0 () * Number of discrete variables: 23 (pipe3.state_a.phase,pipe1.state_a.phase,simpleGenericOrifice.state_b.phase,simpleGenericOrifice.state_a.phase,valve.state_b.phase,valve.state_a.phase,pipe3.statesFM[2].phase,valveOpening1.nextEventScaled,valveOpening1.nextEvent,$PRE.valveOpening1.nextEvent,valveOpening1.last,valveOpening1.b,valveOpening1.a,pipe2.statesFM[2].phase,pipe2.statesFM[1].phase,sink.medium.phase,pipe1.statesFM[2].phase,source.medium.phase,$whenCondition1,pipe3.state_b.phase,pipe2.state_b.phase,pipe2.state_a.phase,pipe1.state_b.phase) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (164): * Single equations (assignments): 160 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * 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 {(8,86)} Notification: Performance of prepare postOptimizeDAE: time 0.0006278/1.048, allocations: 347.5 kB / 0.8295 GB, free: 15.05 MB / 0.5919 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.000532/1.049, allocations: 201.6 kB / 0.8297 GB, free: 14.86 MB / 0.5919 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01084/1.059, allocations: 7.667 MB / 0.8372 GB, free: 7.098 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008479/1.068, allocations: 6.619 MB / 0.8436 GB, free: 332 kB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.588e-06/1.068, allocations: 0 / 0.8436 GB, free: 332 kB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.00133/1.069, allocations: 0.6358 MB / 0.8443 GB, free: 15.67 MB / 0.6075 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0006349/1.07, allocations: 87.42 kB / 0.8444 GB, free: 15.58 MB / 0.6075 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001593/1.072, allocations: 119.9 kB / 0.8445 GB, free: 15.46 MB / 0.6075 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003399/1.072, allocations: 157.8 kB / 0.8446 GB, free: 15.31 MB / 0.6075 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.008065/1.08, allocations: 4.816 MB / 0.8493 GB, free: 10.43 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009746/1.09, allocations: 6.907 MB / 0.8561 GB, free: 3.398 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002806/1.093, allocations: 2.243 MB / 0.8583 GB, free: 1.156 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.002118/1.095, allocations: 1.293 MB / 0.8595 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of Backend: time 5.01e-07/1.095, allocations: 0 / 0.8595 GB, free: 15.84 MB / 0.6231 GB Notification: Performance of simCode: created initialization part: time 0.01775/1.112, allocations: 6.224 MB / 0.8656 GB, free: 9.934 MB / 0.6231 GB Notification: Performance of SimCode: time 0.01104/1.123, allocations: 6.355 MB / 0.8718 GB, free: 3.562 MB / 0.6231 GB Notification: Performance of Templates: time 0.1588/1.282, allocations: 108.4 MB / 0.9777 GB, free: 7.703 MB / 0.7325 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestPipesAndValves/SeriesPipes13/SeriesPipes13.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes13.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches