Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.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.001784/0.001784, allocations: 118.8 kB / 18.5 MB, free: 4.559 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.002111/0.002111, allocations: 210.5 kB / 21.46 MB, free: 1.605 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.457/1.457, allocations: 230.2 MB / 254.5 MB, free: 15.26 MB / 206.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.2248/0.2248, allocations: 46.91 MB / 357.4 MB, free: 10.49 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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC",fmuType="me",version="2.0",platforms={"static"}) [Timeout 660] "Notification: Performance of FrontEnd - loaded program: time 0.003424/0.003424, allocations: 83.86 kB / 0.4913 GB, free: 8.316 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1272/0.1306, allocations: 65.99 MB / 0.5557 GB, free: 6.195 MB / 414.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.00348/0.1341, allocations: 2.035 MB / 0.5577 GB, free: 4.145 MB / 414.1 MB Notification: Performance of NFInst.instExpressions: time 0.001567/0.1357, allocations: 0.9307 MB / 0.5586 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.568e-05/0.1357, allocations: 0 / 0.5586 GB, free: 3.207 MB / 414.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003073/0.136, allocations: 71.52 kB / 0.5587 GB, free: 3.137 MB / 414.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003823/0.1364, allocations: 127.4 kB / 0.5588 GB, free: 3.012 MB / 414.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002581/0.1367, allocations: 83.72 kB / 0.5589 GB, free: 2.93 MB / 414.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004566/0.1371, allocations: 394.1 kB / 0.5593 GB, free: 2.543 MB / 414.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.53e-05/0.1372, allocations: 28.75 kB / 0.5593 GB, free: 2.516 MB / 414.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000259/0.1375, allocations: 155.2 kB / 0.5594 GB, free: 2.363 MB / 414.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002412/0.1377, allocations: 183.1 kB / 0.5596 GB, free: 2.184 MB / 414.1 MB Notification: Performance of NFPackage.collectConstants: time 3.007e-05/0.1377, allocations: 15.94 kB / 0.5596 GB, free: 2.168 MB / 414.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002647/0.138, allocations: 143.7 kB / 0.5598 GB, free: 2.027 MB / 414.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001158/0.1381, allocations: 99.52 kB / 0.5599 GB, free: 1.93 MB / 414.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001558/0.1383, allocations: 150.9 kB / 0.56 GB, free: 1.781 MB / 414.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0005195/0.1388, allocations: 438 kB / 0.5604 GB, free: 1.352 MB / 414.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.426e-06/0.1388, allocations: 0 / 0.5604 GB, free: 1.352 MB / 414.1 MB Notification: Performance of FrontEnd: time 1.432e-06/0.1388, allocations: 0 / 0.5604 GB, free: 1.352 MB / 414.1 MB Notification: Performance of Transformations before backend: time 6.843e-06/0.1388, allocations: 4 kB / 0.5604 GB, free: 1.348 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.001069/0.1399, allocations: 0.6624 MB / 0.5611 GB, free: 0.6367 MB / 414.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1399, allocations: 8.031 kB / 0.5611 GB, free: 0.6289 MB / 414.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 9.458e-05/0.14, allocations: 78.72 kB / 0.5612 GB, free: 0.543 MB / 414.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.836e-05/0.1401, allocations: 44.66 kB / 0.5612 GB, free: 0.5 MB / 414.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004169/0.1405, allocations: 287.7 kB / 0.5615 GB, free: 184 kB / 414.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.667e-05/0.1405, allocations: 29.31 kB / 0.5615 GB, free: 156 kB / 414.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.617e-05/0.1406, allocations: 36.38 kB / 0.5615 GB, free: 120 kB / 414.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008891/0.1415, allocations: 0.5647 MB / 0.5621 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.501e-05/0.1415, allocations: 0 / 0.5621 GB, free: 15.55 MB / 430.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.256e-05/0.1415, allocations: 12 kB / 0.5621 GB, free: 15.54 MB / 430.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.592e-05/0.1416, allocations: 36.98 kB / 0.5621 GB, free: 15.5 MB / 430.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009842/0.1426, allocations: 0.5815 MB / 0.5627 GB, free: 14.91 MB / 430.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001847/0.1444, allocations: 1.172 MB / 0.5638 GB, free: 13.69 MB / 430.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006884/0.1451, allocations: 369 kB / 0.5642 GB, free: 13.32 MB / 430.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002608/0.1454, allocations: 128.9 kB / 0.5643 GB, free: 13.19 MB / 430.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.257e-05/0.1454, allocations: 15.97 kB / 0.5643 GB, free: 13.18 MB / 430.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.358e-05/0.1454, allocations: 30.56 kB / 0.5644 GB, free: 13.14 MB / 430.1 MB Notification: Performance of pre-optimization done (n=22): time 1.833e-06/0.1454, allocations: 0 / 0.5644 GB, free: 13.14 MB / 430.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009694/0.1464, allocations: 472.2 kB / 0.5648 GB, free: 12.67 MB / 430.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.46e-05/0.1465, allocations: 51.41 kB / 0.5649 GB, free: 12.61 MB / 430.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005001/0.147, allocations: 457.6 kB / 0.5653 GB, free: 12.15 MB / 430.1 MB Notification: Performance of collectPreVariables (initialization): time 3.008e-05/0.147, allocations: 29.7 kB / 0.5653 GB, free: 12.12 MB / 430.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001447/0.1471, allocations: 192.5 kB / 0.5655 GB, free: 11.92 MB / 430.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.954e-05/0.1472, allocations: 75.31 kB / 0.5656 GB, free: 11.85 MB / 430.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.091e-05/0.1473, allocations: 57.64 kB / 0.5656 GB, free: 11.79 MB / 430.1 MB Notification: Performance of setup shared object (initialization): time 0.0001678/0.1475, allocations: 350.7 kB / 0.566 GB, free: 11.43 MB / 430.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002418/0.1477, allocations: 111.9 kB / 0.5661 GB, free: 11.32 MB / 430.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002374/0.148, allocations: 123.9 kB / 0.5662 GB, free: 11.2 MB / 430.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005069/0.1485, allocations: 260.6 kB / 0.5664 GB, free: 10.95 MB / 430.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.295e-06/0.1485, allocations: 0 / 0.5664 GB, free: 10.95 MB / 430.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006385/0.1491, allocations: 355.3 kB / 0.5668 GB, free: 10.59 MB / 430.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.277e-05/0.1491, allocations: 10.12 kB / 0.5668 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.3e-06/0.1491, allocations: 0 / 0.5668 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.523e-05/0.1491, allocations: 0 / 0.5668 GB, free: 10.59 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0007193/0.1499, allocations: 155.9 kB / 0.5669 GB, free: 10.43 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.003356/0.1532, allocations: 5.516 MB / 0.5723 GB, free: 4.707 MB / 430.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002396/0.1535, allocations: 51.88 kB / 0.5724 GB, free: 4.656 MB / 430.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.726e-05/0.1535, allocations: 16 kB / 0.5724 GB, free: 4.641 MB / 430.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of prepare postOptimizeDAE: time 0.00023/0.1537, allocations: 189.7 kB / 0.5726 GB, free: 4.445 MB / 430.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.565e-05/0.1538, allocations: 35.77 kB / 0.5726 GB, free: 4.41 MB / 430.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008703/0.1547, allocations: 460.4 kB / 0.573 GB, free: 3.957 MB / 430.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.78e-06/0.1547, allocations: 7.938 kB / 0.5731 GB, free: 3.949 MB / 430.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.478e-06/0.1547, allocations: 0 / 0.5731 GB, free: 3.949 MB / 430.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.266e-06/0.1547, allocations: 4 kB / 0.5731 GB, free: 3.945 MB / 430.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000484/0.1552, allocations: 385.2 kB / 0.5734 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.924e-06/0.1552, allocations: 0 / 0.5734 GB, free: 3.52 MB / 430.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0006618/0.1558, allocations: 155.8 kB / 0.5736 GB, free: 3.367 MB / 430.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.769e-06/0.1558, allocations: 4 kB / 0.5736 GB, free: 3.363 MB / 430.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.385e-05/0.1559, allocations: 8 kB / 0.5736 GB, free: 3.355 MB / 430.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.003384/0.1592, allocations: 5.513 MB / 0.579 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.158e-06/0.1592, allocations: 3.938 kB / 0.579 GB, free: 13.63 MB / 446.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007016/0.1599, allocations: 454 kB / 0.5794 GB, free: 13.17 MB / 446.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001405/0.1601, allocations: 117 kB / 0.5795 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.591e-05/0.1601, allocations: 4 kB / 0.5795 GB, free: 13.04 MB / 446.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002148/0.1604, allocations: 11.98 kB / 0.5795 GB, free: 13.02 MB / 446.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.467e-05/0.1604, allocations: 23.91 kB / 0.5796 GB, free: 13 MB / 446.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.618e-05/0.1605, allocations: 12 kB / 0.5796 GB, free: 12.99 MB / 446.1 MB Notification: Performance of sorting global known variables: time 0.0003829/0.1608, allocations: 343 kB / 0.5799 GB, free: 12.66 MB / 446.1 MB Notification: Performance of sort global known variables: time 9e-08/0.1608, allocations: 0 / 0.5799 GB, free: 12.66 MB / 446.1 MB Notification: Performance of remove unused functions: time 0.0004061/0.1612, allocations: 107.8 kB / 0.58 GB, free: 12.55 MB / 446.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * 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 (22): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 9 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Equation system details (not torn): * Constant Jacobian (size): 0 systems * Linear Jacobian (size,density): 0 systems * Non-linear Jacobian (size): 9 systems {1, 1, 1, 1, 1, 1, 1, 1, 1} * Without analytic Jacobian (size): 0 systems Notification: Performance of Backend phase and start with SimCode phase: time 0.001187/0.1624, allocations: 1.013 MB / 0.581 GB, free: 11.51 MB / 446.1 MB Notification: Performance of simCode: created initialization part: time 0.001136/0.1636, allocations: 398.9 kB / 0.5814 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: created event and clocks part: time 2.695e-06/0.1636, allocations: 0 / 0.5814 GB, free: 11.12 MB / 446.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007946/0.1644, allocations: 275.7 kB / 0.5816 GB, free: 10.85 MB / 446.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004844/0.1649, allocations: 89.42 kB / 0.5817 GB, free: 10.77 MB / 446.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005689/0.1705, allocations: 4.362 MB / 0.586 GB, free: 6.328 MB / 446.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004873/0.171, allocations: 0.8581 MB / 0.5868 GB, free: 5.441 MB / 446.1 MB Notification: Performance of simCode: alias equations: time 0.0002314/0.1713, allocations: 79.22 kB / 0.5869 GB, free: 5.363 MB / 446.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001678/0.1714, allocations: 115.4 kB / 0.587 GB, free: 5.25 MB / 446.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1714, allocations: 0 / 0.587 GB, free: 5.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2863/0.4578, allocations: 11.61 MB / 0.5983 GB, free: 36.25 MB / 446.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 12.15/12.6, allocations: 9.141 kB / 0.5983 GB, free: 36.25 MB / 446.1 MB " [Timeout remaining time 647] (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC_fmu --startTime=0 --stopTime=1.01 --stepSize=0.000201839 --timeout=50 --tolerance=1e-06 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.pipe 2>&1) [Timeout 52.5] diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork_2/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.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: 15.950038813985884]