Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.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.SeriesPipes1,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.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1") translateModel(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1,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.|valveOpening1.a|valveOpening1.b|valveOpening1.last|valveOpening1.nextEvent",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.00132/0.00132, allocations: 114.3 kB / 18.45 MB, free: 4.617 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.00141/0.00141, allocations: 206.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.306/1.306, allocations: 227.4 MB / 247.6 MB, free: 10.5 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2032/0.2032, allocations: 46.1 MB / 345 MB, free: 11.54 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001531/0.001531, allocations: 83.86 kB / 482 MB, free: 4.113 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3028/0.3044, allocations: 62.43 MB / 0.5317 GB, free: 13.63 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1): time 0.08877/0.3932, allocations: 91.99 MB / 0.6215 GB, free: 5.492 MB / 478.1 MB Notification: Performance of NFInst.instExpressions: time 0.04509/0.4383, allocations: 37.31 MB / 0.6579 GB, free: 80 kB / 0.4981 GB Notification: Performance of NFInst.updateImplicitVariability: time 0.002288/0.4406, allocations: 87.55 kB / 0.658 GB, free: 15.99 MB / 0.5138 GB Notification: Performance of NFTyping.typeComponents: time 0.002844/0.4435, allocations: 1.173 MB / 0.6592 GB, free: 14.81 MB / 0.5138 GB Notification: Performance of NFTyping.typeBindings: time 0.01922/0.4627, allocations: 8.022 MB / 0.667 GB, free: 6.777 MB / 0.5138 GB Notification: Performance of NFTyping.typeClassSections: time 0.01995/0.4827, allocations: 9.102 MB / 0.6759 GB, free: 13.68 MB / 0.5294 GB Notification: Performance of NFFlatten.flatten: time 0.008238/0.4909, allocations: 6.64 MB / 0.6824 GB, free: 7.02 MB / 0.5294 GB Notification: Performance of NFFlatten.resolveConnections: time 0.002424/0.4934, allocations: 1.508 MB / 0.6838 GB, free: 5.488 MB / 0.5294 GB Notification: Performance of NFEvalConstants.evaluate: time 0.00525/0.4987, allocations: 2.628 MB / 0.6864 GB, free: 2.852 MB / 0.5294 GB Notification: Performance of NFSimplifyModel.simplify: time 0.03686/0.5356, allocations: 13.54 MB / 0.6996 GB, free: 5.121 MB / 0.545 GB Notification: Performance of NFPackage.collectConstants: time 0.00119/0.5368, allocations: 220 kB / 0.6998 GB, free: 4.906 MB / 0.545 GB Notification: Performance of NFFlatten.collectFunctions: time 0.03281/0.5696, allocations: 10.48 MB / 0.7101 GB, free: 10.41 MB / 0.5606 GB Notification: Performance of NFScalarize.scalarize: time 0.002491/0.5721, allocations: 0.9388 MB / 0.711 GB, free: 9.469 MB / 0.5606 GB Notification: Performance of NFVerifyModel.verify: time 0.0036/0.5758, allocations: 1.396 MB / 0.7124 GB, free: 8.066 MB / 0.5606 GB Notification: Performance of NFConvertDAE.convert: time 0.2962/0.872, allocations: 9.546 MB / 0.7217 GB, free: 43.27 MB / 0.5606 GB Notification: Performance of FrontEnd - DAE generated: time 6.793e-06/0.872, allocations: 1.094 kB / 0.7217 GB, free: 43.27 MB / 0.5606 GB Notification: Performance of FrontEnd: time 1.723e-06/0.8721, allocations: 0.5312 kB / 0.7217 GB, free: 43.27 MB / 0.5606 GB Notification: Performance of Transformations before backend: time 0.0001055/0.8722, allocations: 0 / 0.7217 GB, free: 43.27 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.01047/0.8826, allocations: 4.206 MB / 0.7258 GB, free: 41.4 MB / 0.5606 GB Notification: Performance of prepare preOptimizeDAE: time 4.08e-05/0.8827, allocations: 8.844 kB / 0.7258 GB, free: 41.4 MB / 0.5606 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.005675/0.8884, allocations: 0.8248 MB / 0.7266 GB, free: 41.25 MB / 0.5606 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.01103/0.8994, allocations: 6.706 MB / 0.7331 GB, free: 40.67 MB / 0.5606 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 0.0001496/0.8996, allocations: 175.3 kB / 0.7333 GB, free: 40.67 MB / 0.5606 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003626/0.9, allocations: 205.8 kB / 0.7335 GB, free: 40.66 MB / 0.5606 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.006725/0.9067, allocations: 3.487 MB / 0.7369 GB, free: 40.21 MB / 0.5606 GB Notification: Performance of preOpt findStateOrder (simulation): time 4.783e-05/0.9068, allocations: 3.094 kB / 0.7369 GB, free: 40.21 MB / 0.5606 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002073/0.907, allocations: 87.52 kB / 0.737 GB, free: 40.21 MB / 0.5606 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001991/0.9072, allocations: 183.1 kB / 0.7372 GB, free: 40.21 MB / 0.5606 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.006522/0.9137, allocations: 3.228 MB / 0.7403 GB, free: 40.18 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.01546/0.9292, allocations: 15.12 MB / 0.7551 GB, free: 31.12 MB / 0.5606 GB Notification: Performance of preOpt comSubExp (simulation): time 0.004874/0.9341, allocations: 2.256 MB / 0.7573 GB, free: 31.08 MB / 0.5606 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001575/0.9357, allocations: 1.134 MB / 0.7584 GB, free: 31.07 MB / 0.5606 GB Notification: Performance of preOpt evalFunc (simulation): time 0.04207/0.9778, allocations: 27.27 MB / 0.785 GB, free: 12.6 MB / 0.5606 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.004086/0.9819, allocations: 1.609 MB / 0.7866 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of pre-optimization done (n=155): time 4.007e-06/0.9819, allocations: 0 / 0.7866 GB, free: 12.51 MB / 0.5606 GB Notification: Performance of matching and sorting (n=171): time 0.02128/1.003, allocations: 8.683 MB / 0.7951 GB, free: 10.26 MB / 0.5606 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.617e-05/1.003, allocations: 226.9 kB / 0.7953 GB, free: 9.984 MB / 0.5606 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001646/1.005, allocations: 1.638 MB / 0.7969 GB, free: 8.785 MB / 0.5606 GB Notification: Performance of collectPreVariables (initialization): time 0.000137/1.005, allocations: 59.14 kB / 0.797 GB, free: 8.742 MB / 0.5606 GB Notification: Performance of collectInitialEqns (initialization): time 0.0005193/1.006, allocations: 1.007 MB / 0.7979 GB, free: 8.105 MB / 0.5606 GB Notification: Performance of collectInitialBindings (initialization): time 0.0003271/1.006, allocations: 0.6094 MB / 0.7985 GB, free: 7.582 MB / 0.5606 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0005896/1.007, allocations: 435.3 kB / 0.799 GB, free: 7.301 MB / 0.5606 GB Notification: Performance of setup shared object (initialization): time 3.193e-05/1.007, allocations: 306.8 kB / 0.7992 GB, free: 7.004 MB / 0.5606 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001691/1.008, allocations: 1.163 MB / 0.8004 GB, free: 6.207 MB / 0.5606 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001935/1.01, allocations: 1.656 MB / 0.802 GB, free: 4.777 MB / 0.5606 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.003661/1.014, allocations: 2.87 MB / 0.8048 GB, free: 2.684 MB / 0.5606 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.995e-06/1.014, allocations: 4 kB / 0.8048 GB, free: 2.68 MB / 0.5606 GB Notification: Performance of matching and sorting (n=264) (initialization): time 0.005346/1.019, allocations: 3.377 MB / 0.8081 GB, free: 16.32 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 5.512e-05/1.019, allocations: 45.88 kB / 0.8081 GB, free: 16.27 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.747e-05/1.019, allocations: 16 kB / 0.8082 GB, free: 16.26 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008633/1.02, allocations: 257.9 kB / 0.8084 GB, free: 16.05 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002075/1.022, allocations: 0.5129 MB / 0.8089 GB, free: 15.59 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001516/1.024, allocations: 2.494 MB / 0.8113 GB, free: 13.16 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001594/1.025, allocations: 112.2 kB / 0.8115 GB, free: 13.09 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001903/1.026, allocations: 101 kB / 0.8116 GB, free: 13.01 MB / 0.5763 GB Notification: Performance of preBalanceInitialSystem (initialization_lambda0): time 0.002623/1.028, allocations: 1.593 MB / 0.8131 GB, free: 11.94 MB / 0.5763 GB Notification: Performance of partitionIndependentBlocks (initialization_lambda0): time 0.00228/1.031, allocations: 1.598 MB / 0.8147 GB, free: 10.53 MB / 0.5763 GB Notification: Performance of analyzeInitialSystem (initialization_lambda0): time 0.004203/1.035, allocations: 2.765 MB / 0.8174 GB, free: 8.477 MB / 0.5763 GB Notification: Performance of solveInitialSystemEqSystem (initialization_lambda0): time 9.187e-06/1.035, allocations: 4 kB / 0.8174 GB, free: 8.473 MB / 0.5763 GB Notification: Performance of matching and sorting (n=264) (initialization_lambda0): time 0.005716/1.041, allocations: 3.249 MB / 0.8205 GB, free: 6.18 MB / 0.5763 GB Notification: Performance of prepare postOptimizeDAE: time 4.143e-05/1.041, allocations: 47.06 kB / 0.8206 GB, free: 6.129 MB / 0.5763 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.491e-05/1.041, allocations: 20.11 kB / 0.8206 GB, free: 6.109 MB / 0.5763 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0008783/1.041, allocations: 260.8 kB / 0.8209 GB, free: 5.898 MB / 0.5763 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.002194/1.044, allocations: 0.5059 MB / 0.8214 GB, free: 5.445 MB / 0.5763 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001582/1.045, allocations: 2.499 MB / 0.8238 GB, free: 3.02 MB / 0.5763 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00171/1.047, allocations: 104.9 kB / 0.8239 GB, free: 2.949 MB / 0.5763 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001866/1.047, allocations: 99.17 kB / 0.824 GB, free: 2.871 MB / 0.5763 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 (253): * Single equations (assignments): 246 * Array equations: 1 * Algorithm blocks: 1 * Record equations: 1 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 4 * 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): 4 systems {(1,1), (1,1), (1,1), (1,1)} Notification: Performance of prepare postOptimizeDAE: time 0.000606/1.048, allocations: 356.7 kB / 0.8243 GB, free: 2.602 MB / 0.5763 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0004177/1.048, allocations: 214.6 kB / 0.8245 GB, free: 2.391 MB / 0.5763 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.01038/1.059, allocations: 7.68 MB / 0.832 GB, free: 11.95 MB / 0.5919 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.008536/1.067, allocations: 6.621 MB / 0.8385 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.068e-05/1.067, allocations: 0 / 0.8385 GB, free: 5.176 MB / 0.5919 GB Notification: Performance of postOpt removeConstants (simulation): time 0.001641/1.069, allocations: 0.6463 MB / 0.8391 GB, free: 4.508 MB / 0.5919 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003861/1.069, allocations: 87.61 kB / 0.8392 GB, free: 4.422 MB / 0.5919 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.00121/1.071, allocations: 127.9 kB / 0.8393 GB, free: 4.297 MB / 0.5919 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0003428/1.071, allocations: 149.7 kB / 0.8395 GB, free: 4.152 MB / 0.5919 GB Notification: Performance of postOpt createDAEmodeBDAE (simulation): time 0.007529/1.078, allocations: 4.822 MB / 0.8442 GB, free: 15.26 MB / 0.6075 GB Notification: Performance of postOpt symbolicJacobianDAE (simulation): time 0.009251/1.088, allocations: 6.931 MB / 0.851 GB, free: 8.211 MB / 0.6075 GB Notification: Performance of postOpt setEvaluationStage (simulation): time 0.002815/1.091, allocations: 2.232 MB / 0.8531 GB, free: 5.977 MB / 0.6075 GB Notification: Performance of sorting global known variables: time 0.001845/1.092, allocations: 1.297 MB / 0.8544 GB, free: 4.66 MB / 0.6075 GB Notification: Performance of Backend: time 4.41e-07/1.092, allocations: 4 kB / 0.8544 GB, free: 4.656 MB / 0.6075 GB Notification: Performance of simCode: created initialization part: time 0.01582/1.108, allocations: 6.218 MB / 0.8605 GB, free: 14.76 MB / 0.6231 GB Notification: Performance of SimCode: time 0.009049/1.117, allocations: 6.481 MB / 0.8668 GB, free: 8.266 MB / 0.6231 GB Notification: Performance of Templates: time 0.143/1.26, allocations: 101.5 MB / 0.9659 GB, free: 3.336 MB / 0.7169 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestPipesAndValves/SeriesPipes1/SeriesPipes1.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.TestPipesAndValves.SeriesPipes1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches