Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.conf.json 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/ModelicaServices 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 ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 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) Running command: translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") translateModel(ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|ramp.y|pipe1.port_b.m_flow|pipe1.port_b.p|pipe1.port_b.h_outflow|pipe2.port_b.m_flow|pipe2.port_b.p|pipe2.port_b.h_outflow|pipe3.port_b.m_flow|pipe3.port_b.p|pipe3.port_b.h_outflow",fileNamePrefix="ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001456/0.001456, allocations: 191.2 kB / 16.78 MB, free: 4.918 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.282/1.282, allocations: 226.5 MB / 244.1 MB, free: 8.203 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.0007669/0.0007668, allocations: 102.5 kB / 296.1 MB, free: 6.887 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.3724/0.3724, allocations: 44.83 MB / 393 MB, free: 35.72 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0002855/0.0002856, allocations: 8 kB / 465.9 MB, free: 12.71 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.392/0.3923, allocations: 62.96 MB / 0.5165 GB, free: 36.91 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.115/1.508, allocations: 0.5024 GB / 1.019 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002997/1.508, allocations: 87.95 kB / 1.019 GB, free: 103.5 MB / 0.5417 GB Notification: Performance of FrontEnd - DAE generated: time 1.431/2.939, allocations: 330.5 MB / 1.342 GB, free: 83.7 MB / 0.5417 GB Notification: Performance of FrontEnd: time 3.026e-06/2.939, allocations: 3.938 kB / 1.342 GB, free: 83.7 MB / 0.5417 GB Notification: Performance of Transformations before backend: time 0.000179/2.939, allocations: 32.23 kB / 1.342 GB, free: 83.7 MB / 0.5417 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 173 * Number of variables: 173 Notification: Performance of Generate backend data structure: time 0.006077/2.945, allocations: 1.585 MB / 1.343 GB, free: 83.24 MB / 0.5417 GB Notification: Performance of prepare preOptimizeDAE: time 4.678e-05/2.945, allocations: 17.45 kB / 1.343 GB, free: 83.24 MB / 0.5417 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.001611/2.947, allocations: 204 kB / 1.344 GB, free: 83.19 MB / 0.5417 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.002315/2.949, allocations: 0.8344 MB / 1.344 GB, free: 82.91 MB / 0.5417 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.516e-05/2.95, allocations: 55.44 kB / 1.344 GB, free: 82.91 MB / 0.5417 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003025/2.95, allocations: 59.83 kB / 1.344 GB, free: 82.91 MB / 0.5417 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.002388/2.952, allocations: 1.173 MB / 1.346 GB, free: 82.73 MB / 0.5417 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.488e-05/2.952, allocations: 7.688 kB / 1.346 GB, free: 82.72 MB / 0.5417 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0001525/2.952, allocations: 26.95 kB / 1.346 GB, free: 82.72 MB / 0.5417 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001087/2.953, allocations: 77.03 kB / 1.346 GB, free: 82.72 MB / 0.5417 GB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.002133/2.955, allocations: 1.172 MB / 1.347 GB, free: 82.71 MB / 0.5417 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.008203/2.963, allocations: 4.34 MB / 1.351 GB, free: 80.92 MB / 0.5417 GB Notification: Performance of preOpt comSubExp (simulation): time 0.001391/2.964, allocations: 0.7499 MB / 1.352 GB, free: 80.89 MB / 0.5417 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.0006298/2.965, allocations: 369.6 kB / 1.352 GB, free: 80.88 MB / 0.5417 GB Notification: Performance of preOpt evalFunc (simulation): time 0.0003279/2.965, allocations: 354.7 kB / 1.353 GB, free: 80.51 MB / 0.5417 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.098e-05/2.965, allocations: 43.59 kB / 1.353 GB, free: 80.47 MB / 0.5417 GB Notification: Performance of preOpt simplifyInStream (simulation): time 0.0008662/2.966, allocations: 120.3 kB / 1.353 GB, free: 80.45 MB / 0.5417 GB Notification: Performance of pre-optimization done (n=61): time 6.853e-06/2.966, allocations: 0 / 1.353 GB, free: 80.45 MB / 0.5417 GB Notification: Performance of matching and sorting (n=61): time 0.007954/2.974, allocations: 2.144 MB / 1.355 GB, free: 80.25 MB / 0.5417 GB Notification: Performance of inlineWhenForInitialization (initialization): time 9.739e-05/2.974, allocations: 218 kB / 1.355 GB, free: 80 MB / 0.5417 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001651/2.976, allocations: 0.8827 MB / 1.356 GB, free: 79.86 MB / 0.5417 GB Notification: Performance of collectPreVariables (initialization): time 0.0001296/2.976, allocations: 39.52 kB / 1.356 GB, free: 79.82 MB / 0.5417 GB Notification: Performance of collectInitialEqns (initialization): time 0.0003842/2.977, allocations: 435.4 kB / 1.356 GB, free: 79.67 MB / 0.5417 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002599/2.977, allocations: 222.1 kB / 1.357 GB, free: 79.57 MB / 0.5417 GB Notification: Performance of simplifyInitialFunctions (initialization): time 9.39e-05/2.977, allocations: 15.12 kB / 1.357 GB, free: 79.57 MB / 0.5417 GB Notification: Performance of setup shared object (initialization): time 9.207e-05/2.977, allocations: 338.3 kB / 1.357 GB, free: 79.26 MB / 0.5417 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007523/2.978, allocations: 387.9 kB / 1.357 GB, free: 79.26 MB / 0.5417 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0008357/2.979, allocations: 0.575 MB / 1.358 GB, free: 79.05 MB / 0.5417 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.001504/2.98, allocations: 0.9269 MB / 1.359 GB, free: 78.88 MB / 0.5417 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.925e-06/2.98, allocations: 5.656 kB / 1.359 GB, free: 78.88 MB / 0.5417 GB Notification: Performance of matching and sorting (n=98) (initialization): time 0.002658/2.983, allocations: 1.279 MB / 1.36 GB, free: 78.77 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 0.0001332/2.983, allocations: 226.7 kB / 1.36 GB, free: 78.53 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.224e-05/2.983, allocations: 4.719 kB / 1.36 GB, free: 78.53 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.004573/2.988, allocations: 0.8292 MB / 1.361 GB, free: 78.52 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007581/2.988, allocations: 157.7 kB / 1.361 GB, free: 78.52 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.001733/2.99, allocations: 1.191 MB / 1.362 GB, free: 77.99 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001193/2.991, allocations: 70.95 kB / 1.362 GB, free: 77.98 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002004/2.992, allocations: 65.28 kB / 1.362 GB, free: 77.98 MB / 0.5417 GB Notification: Performance of prepare postOptimizeDAE: time 1.366e-05/2.992, allocations: 8.312 kB / 1.362 GB, free: 77.98 MB / 0.5417 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.002654/2.994, allocations: 1.074 MB / 1.363 GB, free: 77.95 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 2.798e-05/2.994, allocations: 11.95 kB / 1.363 GB, free: 77.95 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007466/2.995, allocations: 166 kB / 1.364 GB, free: 77.95 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008194/2.996, allocations: 196.1 kB / 1.364 GB, free: 77.95 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002749/2.999, allocations: 2.155 MB / 1.366 GB, free: 76.67 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001033/3, allocations: 53.38 kB / 1.366 GB, free: 76.67 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001684/3, allocations: 70.7 kB / 1.366 GB, free: 76.67 MB / 0.5417 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 20 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (77): * Single equations (assignments): 76 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 19} Notification: Performance of prepare postOptimizeDAE: time 0.0007266/3.001, allocations: 359.2 kB / 1.366 GB, free: 76.48 MB / 0.5417 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0003088/3.001, allocations: 100.3 kB / 1.366 GB, free: 76.43 MB / 0.5417 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.003563/3.005, allocations: 1.873 MB / 1.368 GB, free: 76.32 MB / 0.5417 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.147e-06/3.005, allocations: 6.375 kB / 1.368 GB, free: 76.32 MB / 0.5417 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.805e-06/3.005, allocations: 1.125 kB / 1.368 GB, free: 76.32 MB / 0.5417 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.664e-06/3.005, allocations: 3.891 kB / 1.368 GB, free: 76.32 MB / 0.5417 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00343/3.008, allocations: 2.335 MB / 1.371 GB, free: 75.62 MB / 0.5417 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.322e-06/3.008, allocations: 7.688 kB / 1.371 GB, free: 75.62 MB / 0.5417 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003281/3.008, allocations: 79.34 kB / 1.371 GB, free: 75.62 MB / 0.5417 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.003152/3.012, allocations: 0.6853 MB / 1.371 GB, free: 75.61 MB / 0.5417 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.754e-05/3.012, allocations: 31.72 kB / 1.371 GB, free: 75.61 MB / 0.5417 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.001496/3.013, allocations: 1.177 MB / 1.373 GB, free: 75.07 MB / 0.5417 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.22e-06/3.013, allocations: 4.906 kB / 1.373 GB, free: 75.07 MB / 0.5417 GB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.002274/3.015, allocations: 1.17 MB / 1.374 GB, free: 74.77 MB / 0.5417 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0005284/3.016, allocations: 187.7 kB / 1.374 GB, free: 74.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0003317/3.016, allocations: 15.17 kB / 1.374 GB, free: 74.63 MB / 0.5417 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001017/3.017, allocations: 54.02 kB / 1.374 GB, free: 74.63 MB / 0.5417 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001655/3.018, allocations: 60.95 kB / 1.374 GB, free: 74.62 MB / 0.5417 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.0001372/3.018, allocations: 50.33 kB / 1.374 GB, free: 74.62 MB / 0.5417 GB Notification: Performance of sorting global known variables: time 0.001387/3.019, allocations: 0.6205 MB / 1.375 GB, free: 74.52 MB / 0.5417 GB Notification: Performance of sort global known variables: time 1.2e-07/3.019, allocations: 0 / 1.375 GB, free: 74.52 MB / 0.5417 GB Notification: Performance of remove unused functions: time 0.004759/3.024, allocations: 1.146 MB / 1.376 GB, free: 74.38 MB / 0.5417 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (37): * Single equations (assignments): 36 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 1 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 1 {3 25} Notification: Performance of Backend phase and start with SimCode phase: time 0.005112/3.029, allocations: 1.627 MB / 1.377 GB, free: 74.08 MB / 0.5417 GB Notification: Performance of simCode: created initialization part: time 0.003863/3.033, allocations: 1.55 MB / 1.379 GB, free: 73.94 MB / 0.5417 GB Notification: Performance of simCode: created event and clocks part: time 1.171e-05/3.033, allocations: 0.9688 kB / 1.379 GB, free: 73.94 MB / 0.5417 GB Notification: Performance of simCode: created simulation system equations: time 0.001001/3.034, allocations: 435.4 kB / 1.379 GB, free: 73.94 MB / 0.5417 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00378/3.038, allocations: 0.5522 MB / 1.38 GB, free: 73.92 MB / 0.5417 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.003948/3.042, allocations: 2.046 MB / 1.382 GB, free: 73.01 MB / 0.5417 GB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.001177/3.043, allocations: 1.052 MB / 1.383 GB, free: 72.3 MB / 0.5417 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001027/3.044, allocations: 149 kB / 1.383 GB, free: 72.3 MB / 0.5417 GB Notification: Performance of SimCode: time 1.583e-06/3.044, allocations: 0 / 1.383 GB, free: 72.3 MB / 0.5417 GB Notification: Performance of Templates: time 0.06145/3.105, allocations: 29.83 MB / 1.412 GB, free: 71.05 MB / 0.5417 GB make -j1 -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.makefile (rm -f ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; mkfifo ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe ; head -c 1048576 < ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe >> ../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.sim & ./ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal --alarm=480 -emit_protected > ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Fittings/TestJunctionIdeal/TestJunctionIdeal.csv","../files/ModelicaTest_trunk_cpp_ModelicaTest.Fluid.TestComponents.Fittings.TestJunctionIdeal.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches