Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001323/0.001323, allocations: 122.7 kB / 18.46 MB, free: 4.59 MB / 14.72 MB [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001471/0.001471, allocations: 207.3 kB / 21.4 MB, free: 1.645 MB / 14.72 MB [Timeout remaining time 180] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.545/1.545, allocations: 227.4 MB / 251.6 MB, free: 80 kB / 190.1 MB [Timeout remaining time 178] loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo", uses=false) [Timeout 180] Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2562/0.2563, allocations: 46.17 MB / 351.1 MB, free: 14.28 MB / 286.1 MB [Timeout remaining time 180] 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.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") translateModel(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection,tolerance=1e-06,outputFormat="mat",numberOfIntervals=5004,variableFilter="time|cp.1.|cp.2.|cp.3.|eta.1.|eta.2.|eta.3.|lambda.1.|lambda.2.|lambda.3.|rho.1.|rho.2.|rho.3.|Re_1.1.|Re_1.2.|Re_1.3.|Nu_1.1.|Nu_1.2.|Nu_1.3.|Nu_2.1.|Nu_2.2.|Nu_2.3.|Nu_3.1.|Nu_3.2.|Nu_3.3.|m_flow.1.|m_flow.2.|m_flow.3.|input_mflow_0.y|input_mflow_1.y|input_mflow_2.y",fileNamePrefix="ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection") [Timeout 660] Notification: Performance of FrontEnd - loaded program: time 0.002266/0.002266, allocations: 76.42 kB / 490.2 MB, free: 28.08 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1449/0.1472, allocations: 62.45 MB / 0.5397 GB, free: 4.367 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection): time 0.00397/0.1512, allocations: 2.102 MB / 0.5417 GB, free: 2.25 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.002374/0.1536, allocations: 1.316 MB / 0.543 GB, free: 0.9297 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001181/0.1538, allocations: 4 kB / 0.543 GB, free: 0.9258 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003677/0.1542, allocations: 67.53 kB / 0.5431 GB, free: 0.8594 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001904/0.1544, allocations: 79.45 kB / 0.5432 GB, free: 0.7812 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0007053/0.1551, allocations: 203.2 kB / 0.5433 GB, free: 0.582 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005892/0.1557, allocations: 438 kB / 0.5438 GB, free: 156 kB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001065/0.1558, allocations: 48.7 kB / 0.5438 GB, free: 108 kB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003789/0.1562, allocations: 151.2 kB / 0.544 GB, free: 15.96 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002818/0.1565, allocations: 171.1 kB / 0.5441 GB, free: 15.79 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 4.633e-05/0.1566, allocations: 15.98 kB / 0.5441 GB, free: 15.77 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007155/0.1573, allocations: 267.6 kB / 0.5444 GB, free: 15.51 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001766/0.1575, allocations: 87.48 kB / 0.5445 GB, free: 15.43 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002752/0.1578, allocations: 170.8 kB / 0.5446 GB, free: 15.26 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001074/0.1589, allocations: 0.5212 MB / 0.5451 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.124e-05/0.1589, allocations: 4 kB / 0.5451 GB, free: 14.73 MB / 414.1 MB Notification: Performance of FrontEnd: time 4.608e-06/0.1589, allocations: 4 kB / 0.5452 GB, free: 14.73 MB / 414.1 MB Notification: Performance of Transformations before backend: time 1.419e-05/0.1589, allocations: 0 / 0.5452 GB, free: 14.73 MB / 414.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 100 * Number of variables: 100 Notification: Performance of Generate backend data structure: time 0.001744/0.1607, allocations: 0.7284 MB / 0.5459 GB, free: 13.95 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.458e-05/0.1607, allocations: 12.03 kB / 0.5459 GB, free: 13.94 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000498/0.1612, allocations: 80.61 kB / 0.5459 GB, free: 13.86 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004627/0.1617, allocations: 288.5 kB / 0.5462 GB, free: 13.54 MB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.172e-05/0.1618, allocations: 29 kB / 0.5463 GB, free: 13.51 MB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.731e-05/0.1618, allocations: 36 kB / 0.5463 GB, free: 13.47 MB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001099/0.1629, allocations: 0.5612 MB / 0.5468 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.787e-05/0.163, allocations: 0 / 0.5468 GB, free: 12.89 MB / 414.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.088e-05/0.163, allocations: 19.98 kB / 0.5469 GB, free: 12.88 MB / 414.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.968e-05/0.1631, allocations: 17 kB / 0.5469 GB, free: 12.86 MB / 414.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008658/0.1639, allocations: 411.6 kB / 0.5473 GB, free: 12.45 MB / 414.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.002218/0.1662, allocations: 1.278 MB / 0.5485 GB, free: 11.12 MB / 414.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006492/0.1668, allocations: 279.6 kB / 0.5488 GB, free: 10.82 MB / 414.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003593/0.1672, allocations: 138.5 kB / 0.5489 GB, free: 10.67 MB / 414.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.643e-05/0.1673, allocations: 11.92 kB / 0.5489 GB, free: 10.66 MB / 414.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.008e-05/0.1673, allocations: 38.56 kB / 0.549 GB, free: 10.61 MB / 414.1 MB Notification: Performance of pre-optimization done (n=17): time 2.214e-06/0.1673, allocations: 0 / 0.549 GB, free: 10.61 MB / 414.1 MB Notification: Performance of matching and sorting (n=17): time 0.001333/0.1687, allocations: 462 kB / 0.5494 GB, free: 10.16 MB / 414.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.78e-05/0.1688, allocations: 114.8 kB / 0.5495 GB, free: 10.02 MB / 414.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009178/0.1697, allocations: 0.4939 MB / 0.55 GB, free: 9.52 MB / 414.1 MB Notification: Performance of collectPreVariables (initialization): time 3.416e-05/0.1697, allocations: 33.7 kB / 0.55 GB, free: 9.48 MB / 414.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0003108/0.17, allocations: 208.3 kB / 0.5502 GB, free: 9.27 MB / 414.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.187e-05/0.1701, allocations: 67.53 kB / 0.5503 GB, free: 9.203 MB / 414.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 0.00012/0.1703, allocations: 65.62 kB / 0.5503 GB, free: 9.133 MB / 414.1 MB Notification: Performance of setup shared object (initialization): time 0.0001864/0.1705, allocations: 354.8 kB / 0.5507 GB, free: 8.777 MB / 414.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0003478/0.1708, allocations: 132.1 kB / 0.5508 GB, free: 8.645 MB / 414.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004115/0.1712, allocations: 218.6 kB / 0.551 GB, free: 8.395 MB / 414.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0008363/0.1721, allocations: 359.5 kB / 0.5514 GB, free: 8.008 MB / 414.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.473e-06/0.1721, allocations: 8 kB / 0.5514 GB, free: 8 MB / 414.1 MB Notification: Performance of matching and sorting (n=27) (initialization): time 0.0009556/0.1731, allocations: 415.3 kB / 0.5518 GB, free: 7.59 MB / 414.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.766e-05/0.1731, allocations: 15.97 kB / 0.5518 GB, free: 7.574 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.44e-05/0.1732, allocations: 32 kB / 0.5518 GB, free: 7.543 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.418e-05/0.1732, allocations: 7.984 kB / 0.5518 GB, free: 7.535 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002106/0.1734, allocations: 35.84 kB / 0.5519 GB, free: 7.5 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.022e-05/0.1734, allocations: 4 kB / 0.5519 GB, free: 7.496 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002806/0.1737, allocations: 55.64 kB / 0.5519 GB, free: 7.441 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.413e-05/0.1738, allocations: 12 kB / 0.5519 GB, free: 7.43 MB / 414.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 12 * Number of states: 0 () * Number of discrete variables: 9 (m_flow_IN_con_3[3].target,m_flow_IN_con_3[2].target,m_flow_IN_con_3[1].target,m_flow_IN_con_2[3].target,m_flow_IN_con_2[2].target,m_flow_IN_con_2[1].target,m_flow_IN_con_1[3].target,m_flow_IN_con_1[2].target,m_flow_IN_con_1[1].target) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (24): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0002594/0.174, allocations: 205.6 kB / 0.5521 GB, free: 7.219 MB / 414.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001138/0.1742, allocations: 51.64 kB / 0.5522 GB, free: 7.168 MB / 414.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008736/0.175, allocations: 392.8 kB / 0.5525 GB, free: 6.773 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.247e-05/0.1751, allocations: 7.984 kB / 0.5526 GB, free: 6.766 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 9.598e-06/0.1751, allocations: 4 kB / 0.5526 GB, free: 6.762 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.708e-06/0.1751, allocations: 3.938 kB / 0.5526 GB, free: 6.758 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006014/0.1757, allocations: 365.4 kB / 0.5529 GB, free: 6.352 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.519e-05/0.1758, allocations: 35.98 kB / 0.5529 GB, free: 6.316 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001419/0.1759, allocations: 23.97 kB / 0.553 GB, free: 6.293 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.979e-06/0.1759, allocations: 3.938 kB / 0.553 GB, free: 6.289 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.611e-05/0.176, allocations: 12 kB / 0.553 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.703e-06/0.176, allocations: 0 / 0.553 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.282e-06/0.176, allocations: 0 / 0.553 GB, free: 6.277 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0009237/0.1769, allocations: 0.5856 MB / 0.5536 GB, free: 5.676 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001296/0.177, allocations: 124.7 kB / 0.5537 GB, free: 5.535 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.986e-05/0.1771, allocations: 8 kB / 0.5537 GB, free: 5.527 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002593/0.1774, allocations: 19.97 kB / 0.5537 GB, free: 5.508 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.674e-05/0.1775, allocations: 19.98 kB / 0.5537 GB, free: 5.488 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.554e-05/0.1775, allocations: 12 kB / 0.5537 GB, free: 5.477 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0004419/0.1779, allocations: 363 kB / 0.5541 GB, free: 5.125 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.178, allocations: 0 / 0.5541 GB, free: 5.125 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0006144/0.1786, allocations: 123.8 kB / 0.5542 GB, free: 5.004 MB / 414.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 3 * 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 (14): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 9 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.0004719/0.1791, allocations: 178.9 kB / 0.5544 GB, free: 4.82 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.00104/0.1801, allocations: 0.538 MB / 0.5549 GB, free: 4.227 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.156e-06/0.1801, allocations: 0 / 0.5549 GB, free: 4.227 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0006051/0.1807, allocations: 387.8 kB / 0.5553 GB, free: 3.793 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006859/0.1814, allocations: 97.48 kB / 0.5553 GB, free: 3.699 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001608/0.1831, allocations: 0.8016 MB / 0.5561 GB, free: 2.867 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0005854/0.1837, allocations: 0.8419 MB / 0.557 GB, free: 2 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0002176/0.1839, allocations: 67.22 kB / 0.557 GB, free: 1.93 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.202e-05/0.184, allocations: 35.44 kB / 0.5571 GB, free: 1.898 MB / 414.1 MB Notification: Performance of SimCode: time 4.61e-07/0.184, allocations: 0 / 0.5571 GB, free: 1.898 MB / 414.1 MB Notification: Performance of Templates: time 0.01649/0.2005, allocations: 7.617 MB / 0.5645 GB, free: 10.36 MB / 430.1 MB [Timeout remaining time 660] make -j1 -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.makefile [Timeout 660] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.sim & ./ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection -abortSlowSimulation -alarm=480 -emit_protected -lv LOG_STATS > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.pipe 2>&1) [Timeout 480] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection_res.mat","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/General/kc_approxForcedConvection/kc_approxForcedConvection.csv","/var/lib/jenkins/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.General.kc_approxForcedConvection.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: 5.508148420602083]