Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.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.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipeFriction1.port_b.m_flow|pipeFriction1.port_b.p|pipeFriction1.port_b.h_outflow|pipeFriction2.port_b.m_flow|pipeFriction2.port_b.p|pipeFriction2.port_b.h_outflow|pipeFriction3.port_b.m_flow|pipeFriction3.port_b.p|pipeFriction3.port_b.h_outflow|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..Xi_outflow.2.|boundary1.ports.1..Xi_outflow.3.|boundary1.ports.1..Xi_outflow.4.|boundary1.ports.1..Xi_outflow.5.|boundary1.ports.1..Xi_outflow.6.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..Xi_outflow.2.|boundary2.ports.1..Xi_outflow.3.|boundary2.ports.1..Xi_outflow.4.|boundary2.ports.1..Xi_outflow.5.|boundary2.ports.1..Xi_outflow.6.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..Xi_outflow.2.|boundary3.ports.1..Xi_outflow.3.|boundary3.ports.1..Xi_outflow.4.|boundary3.ports.1..Xi_outflow.5.|boundary3.ports.1..Xi_outflow.6.|sine1.y|sine2.y|sine3.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") translateModel(ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5000,variableFilter="time|pipeFriction1.port_b.m_flow|pipeFriction1.port_b.p|pipeFriction1.port_b.h_outflow|pipeFriction2.port_b.m_flow|pipeFriction2.port_b.p|pipeFriction2.port_b.h_outflow|pipeFriction3.port_b.m_flow|pipeFriction3.port_b.p|pipeFriction3.port_b.h_outflow|boundary1.ports.1..m_flow|boundary1.ports.1..p|boundary1.ports.1..h_outflow|boundary1.ports.1..Xi_outflow.1.|boundary1.ports.1..Xi_outflow.2.|boundary1.ports.1..Xi_outflow.3.|boundary1.ports.1..Xi_outflow.4.|boundary1.ports.1..Xi_outflow.5.|boundary1.ports.1..Xi_outflow.6.|boundary2.ports.1..m_flow|boundary2.ports.1..p|boundary2.ports.1..h_outflow|boundary2.ports.1..Xi_outflow.1.|boundary2.ports.1..Xi_outflow.2.|boundary2.ports.1..Xi_outflow.3.|boundary2.ports.1..Xi_outflow.4.|boundary2.ports.1..Xi_outflow.5.|boundary2.ports.1..Xi_outflow.6.|boundary3.ports.1..m_flow|boundary3.ports.1..p|boundary3.ports.1..h_outflow|boundary3.ports.1..Xi_outflow.1.|boundary3.ports.1..Xi_outflow.2.|boundary3.ports.1..Xi_outflow.3.|boundary3.ports.1..Xi_outflow.4.|boundary3.ports.1..Xi_outflow.5.|boundary3.ports.1..Xi_outflow.6.|sine1.y|sine2.y|sine3.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1") [:1:1-1:32:writable] Error: Class GC_set_max_heap_size not found in scope (looking for a function or record). Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001275/0.001275, allocations: 206.2 kB / 8.543 MB, free: 1.816 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.472/1.472, allocations: 225.5 MB / 234.4 MB, free: 3.395 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001128/0.001128, allocations: 89.61 kB / 286.3 MB, free: 5.242 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2447/0.2447, allocations: 45.14 MB / 383.3 MB, free: 0.5703 MB / 314.7 MB Notification: Performance of FrontEnd - loaded program: time 1.097e-05/1.101e-05, allocations: 4 kB / 452.6 MB, free: 76.17 MB / 346.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.167/0.167, allocations: 63.24 MB / 0.5038 GB, free: 13 MB / 346.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 1.932/2.099, allocations: 0.7591 GB / 1.263 GB, free: 105.3 MB / 0.5261 GB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002229/2.1, allocations: 80.61 kB / 1.263 GB, free: 105.2 MB / 0.5261 GB Notification: Performance of FrontEnd: time 3.889/5.988, allocations: 1.15 GB / 2.413 GB, free: 68.69 MB / 0.5573 GB Notification: Performance of Transformations before backend: time 9.319e-05/5.989, allocations: 36.31 kB / 2.413 GB, free: 68.69 MB / 0.5573 GB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 334 * Number of variables: 334 Notification: Performance of Generate backend data structure: time 0.01568/6.004, allocations: 2.954 MB / 2.416 GB, free: 68.12 MB / 0.5573 GB Notification: Performance of prepare preOptimizeDAE: time 3.994e-05/6.004, allocations: 8.219 kB / 2.416 GB, free: 68.12 MB / 0.5573 GB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.004608/6.009, allocations: 0.4959 MB / 2.417 GB, free: 68.04 MB / 0.5573 GB Notification: Performance of preOpt evaluateParameters (simulation): time 0.003436/6.012, allocations: 1.195 MB / 2.418 GB, free: 67.78 MB / 0.5573 GB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.824e-05/6.012, allocations: 40.02 kB / 2.418 GB, free: 67.78 MB / 0.5573 GB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0003732/6.013, allocations: 64.47 kB / 2.418 GB, free: 67.78 MB / 0.5573 GB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0057/6.019, allocations: 3.577 MB / 2.422 GB, free: 67.77 MB / 0.5573 GB Notification: Performance of preOpt clockPartitioning (simulation): time 0.003795/6.022, allocations: 2.477 MB / 2.424 GB, free: 67.57 MB / 0.5573 GB Notification: Performance of preOpt findStateOrder (simulation): time 2.822e-05/6.022, allocations: 0 / 2.424 GB, free: 67.57 MB / 0.5573 GB Notification: Performance of preOpt replaceEdgeChange (simulation): time 0.0002329/6.023, allocations: 3.094 kB / 2.424 GB, free: 67.57 MB / 0.5573 GB Notification: Performance of preOpt inlineArrayEqn (simulation): time 0.0001388/6.023, allocations: 149.2 kB / 2.424 GB, free: 67.57 MB / 0.5573 GB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.01626/6.039, allocations: 9.032 MB / 2.433 GB, free: 64.92 MB / 0.5573 GB Notification: Performance of preOpt comSubExp (simulation): time 0.002497/6.042, allocations: 1.559 MB / 2.434 GB, free: 64.89 MB / 0.5573 GB Notification: Performance of preOpt resolveLoops (simulation): time 0.001459/6.043, allocations: 0.9809 MB / 2.435 GB, free: 64.88 MB / 0.5573 GB Notification: Performance of preOpt evalFunc (simulation): time 0.001295/6.044, allocations: 0.9265 MB / 2.436 GB, free: 64.03 MB / 0.5573 GB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.134e-05/6.045, allocations: 50.08 kB / 2.436 GB, free: 63.99 MB / 0.5573 GB Notification: Performance of pre-optimization done (n=74): time 3.446e-06/6.045, allocations: 3.656 kB / 2.436 GB, free: 63.99 MB / 0.5573 GB Notification: Performance of matching and sorting (n=74): time 0.005712/6.05, allocations: 2.597 MB / 2.439 GB, free: 63.89 MB / 0.5573 GB Notification: Performance of inlineWhenForInitialization (initialization): time 4.135e-05/6.05, allocations: 136.4 kB / 2.439 GB, free: 63.73 MB / 0.5573 GB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001048/6.051, allocations: 0.7934 MB / 2.44 GB, free: 63.6 MB / 0.5573 GB Notification: Performance of collectPreVariables (initialization): time 0.0001768/6.052, allocations: 29.36 kB / 2.44 GB, free: 63.57 MB / 0.5573 GB Notification: Performance of collectInitialEqns (initialization): time 0.0002557/6.052, allocations: 0.5478 MB / 2.44 GB, free: 63.3 MB / 0.5573 GB Notification: Performance of collectInitialBindings (initialization): time 0.0002568/6.052, allocations: 256.5 kB / 2.441 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of simplifyInitialFunctions (initialization): time 0.0001104/6.052, allocations: 0 / 2.441 GB, free: 63.18 MB / 0.5573 GB Notification: Performance of setup shared object (initialization): time 7.089e-05/6.052, allocations: 344.4 kB / 2.441 GB, free: 62.87 MB / 0.5573 GB Notification: Performance of preBalanceInitialSystem (initialization): time 0.001141/6.053, allocations: 0.978 MB / 2.442 GB, free: 62.87 MB / 0.5573 GB Notification: Performance of partitionIndependentBlocks (initialization): time 0.001241/6.055, allocations: 1.158 MB / 2.443 GB, free: 62.7 MB / 0.5573 GB Notification: Performance of analyzeInitialSystem (initialization): time 0.00509/6.06, allocations: 1.828 MB / 2.445 GB, free: 62.69 MB / 0.5573 GB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.041e-05/6.06, allocations: 2.5 kB / 2.445 GB, free: 62.69 MB / 0.5573 GB Notification: Performance of matching and sorting (n=121) (initialization): time 0.007732/6.068, allocations: 3.6 MB / 2.448 GB, free: 62.58 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 0.0002925/6.068, allocations: 1.582 MB / 2.45 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.208e-05/6.068, allocations: 6.125 kB / 2.45 GB, free: 60.94 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.02003/6.088, allocations: 3.738 MB / 2.454 GB, free: 60.93 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001475/6.089, allocations: 189.5 kB / 2.454 GB, free: 60.93 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003973/6.093, allocations: 2.82 MB / 2.457 GB, free: 60.38 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.001911/6.095, allocations: 123 kB / 2.457 GB, free: 60.35 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0002055/6.096, allocations: 84.45 kB / 2.457 GB, free: 60.35 MB / 0.5573 GB Notification: Performance of prepare postOptimizeDAE: time 1.098e-05/6.096, allocations: 3.844 kB / 2.457 GB, free: 60.35 MB / 0.5573 GB Notification: Performance of postOpt replaceHomotopyWithSimplified (initialization): time 0.007009/6.103, allocations: 2.957 MB / 2.46 GB, free: 60.32 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.181e-05/6.103, allocations: 7.438 kB / 2.46 GB, free: 60.32 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (initialization): time 0.0007147/6.103, allocations: 155 kB / 2.46 GB, free: 60.31 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.001573/6.105, allocations: 277.8 kB / 2.46 GB, free: 60.31 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002606/6.108, allocations: 2.035 MB / 2.462 GB, free: 59.09 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.00166/6.109, allocations: 102.5 kB / 2.462 GB, free: 59.07 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 0.0001829/6.109, allocations: 80.55 kB / 2.462 GB, free: 59.07 MB / 0.5573 GB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 18 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (85): * Single equations (assignments): 84 * 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 34} Notification: Performance of prepare postOptimizeDAE: time 0.0004709/6.11, allocations: 137.5 kB / 2.462 GB, free: 58.96 MB / 0.5573 GB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002971/6.11, allocations: 101.5 kB / 2.462 GB, free: 58.91 MB / 0.5573 GB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.008193/6.118, allocations: 5.271 MB / 2.468 GB, free: 58.8 MB / 0.5573 GB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.725e-06/6.118, allocations: 6.375 kB / 2.468 GB, free: 58.8 MB / 0.5573 GB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.626e-06/6.118, allocations: 3.906 kB / 2.468 GB, free: 58.79 MB / 0.5573 GB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.977e-06/6.118, allocations: 5.719 kB / 2.468 GB, free: 58.79 MB / 0.5573 GB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.005766/6.124, allocations: 3.733 MB / 2.471 GB, free: 58.45 MB / 0.5573 GB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.791e-06/6.124, allocations: 8.328 kB / 2.471 GB, free: 58.45 MB / 0.5573 GB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006941/6.125, allocations: 88.66 kB / 2.471 GB, free: 58.45 MB / 0.5573 GB Notification: Performance of postOpt tearingSystem (simulation): time 0.0103/6.135, allocations: 2.544 MB / 2.474 GB, free: 58.43 MB / 0.5573 GB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 0.0002713/6.136, allocations: 16.78 kB / 2.474 GB, free: 58.43 MB / 0.5573 GB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003122/6.139, allocations: 2.372 MB / 2.476 GB, free: 57.89 MB / 0.5573 GB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.6e-06/6.139, allocations: 3.938 kB / 2.476 GB, free: 57.88 MB / 0.5573 GB Notification: Performance of postOpt detectJacobianSparsePattern (simulation): time 0.00402/6.143, allocations: 2.287 MB / 2.478 GB, free: 57.66 MB / 0.5573 GB Notification: Performance of postOpt removeConstants (simulation): time 0.0003829/6.143, allocations: 209.3 kB / 2.479 GB, free: 57.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0002362/6.143, allocations: 3.844 kB / 2.479 GB, free: 57.51 MB / 0.5573 GB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.001359/6.145, allocations: 84.38 kB / 2.479 GB, free: 57.5 MB / 0.5573 GB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001731/6.145, allocations: 41.77 kB / 2.479 GB, free: 57.5 MB / 0.5573 GB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 0.000153/6.145, allocations: 61.89 kB / 2.479 GB, free: 57.5 MB / 0.5573 GB Notification: Performance of sort global known variables: time 0.0007435/6.146, allocations: 0.6119 MB / 2.479 GB, free: 57.41 MB / 0.5573 GB Notification: Performance of remove unused functions: time 0.005268/6.151, allocations: 1.802 MB / 2.481 GB, free: 57.16 MB / 0.5573 GB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete 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 {5 35} Notification: Performance of Backend phase and start with SimCode phase: time 0.005613/6.157, allocations: 2.51 MB / 2.484 GB, free: 56.68 MB / 0.5573 GB Notification: Performance of simCode: created initialization part: time 0.004875/6.162, allocations: 3.261 MB / 2.487 GB, free: 56.55 MB / 0.5573 GB Notification: Performance of simCode: created event and clocks part: time 8.105e-06/6.162, allocations: 0.6562 kB / 2.487 GB, free: 56.55 MB / 0.5573 GB Notification: Performance of simCode: created simulation system equations: time 0.001169/6.163, allocations: 0.828 MB / 2.488 GB, free: 56.53 MB / 0.5573 GB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.002411/6.165, allocations: 464.9 kB / 2.488 GB, free: 56.52 MB / 0.5573 GB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004384/6.17, allocations: 2.078 MB / 2.49 GB, free: 56.09 MB / 0.5573 GB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.001403/6.171, allocations: 1.458 MB / 2.491 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of SimCode: time 8.21e-07/6.171, allocations: 0 / 2.491 GB, free: 55.37 MB / 0.5573 GB Notification: Performance of Templates: time 0.09367/6.265, allocations: 64.43 MB / 2.554 GB, free: 38.37 MB / 0.5573 GB make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.makefile (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1 -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/TestComponents/Pipes/IdealMixing1/IdealMixing1.csv","../files/ModelicaTest_trunk_ModelicaTest.Fluid.TestComponents.Pipes.IdealMixing1.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches