Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.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: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001042/0.001043, allocations: 93.22 kB / 17.35 MB, free: 6.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001312/0.001312, allocations: 203.6 kB / 18.28 MB, free: 5.477 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.287/1.287, allocations: 227.7 MB / 246.8 MB, free: 11.36 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.1808/0.1808, allocations: 46.18 MB / 345.2 MB, free: 11.39 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002483/0.0002483, allocations: 8 kB / 419.6 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09076/0.09103, allocations: 63.56 MB / 483.2 MB, free: 4.023 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC): time 0.001833/0.09288, allocations: 1.723 MB / 484.9 MB, free: 2.285 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002222/0.09513, allocations: 1.85 MB / 486.8 MB, free: 436 kB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.897e-05/0.09525, allocations: 0 / 486.8 MB, free: 436 kB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002268/0.09549, allocations: 63.72 kB / 486.8 MB, free: 372 kB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003012/0.0958, allocations: 107.5 kB / 486.9 MB, free: 264 kB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0006972/0.0965, allocations: 322.3 kB / 487.3 MB, free: 15.95 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.00044/0.09695, allocations: 0.5097 MB / 487.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 6.712e-05/0.09703, allocations: 44.72 kB / 487.8 MB, free: 15.39 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002218/0.09726, allocations: 139.2 kB / 487.9 MB, free: 15.25 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002275/0.09749, allocations: 199.1 kB / 488.1 MB, free: 15.06 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.628e-05/0.09753, allocations: 8 kB / 488.2 MB, free: 15.05 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0007143/0.09825, allocations: 0.5342 MB / 488.7 MB, free: 14.52 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 9.462e-05/0.09835, allocations: 99.52 kB / 488.8 MB, free: 14.42 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001369/0.0985, allocations: 184.6 kB / 489 MB, free: 14.23 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0006756/0.09918, allocations: 0.6348 MB / 489.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.834e-06/0.09919, allocations: 0 / 489.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of FrontEnd: time 1.052e-06/0.0992, allocations: 0 / 489.6 MB, free: 13.59 MB / 366.1 MB Notification: Performance of Transformations before backend: time 1.173e-05/0.09921, allocations: 0 / 489.6 MB, free: 13.59 MB / 366.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.0008232/0.1, allocations: 0.6203 MB / 490.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.365e-05/0.1001, allocations: 8.031 kB / 490.2 MB, free: 12.92 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.975e-05/0.1002, allocations: 82.7 kB / 490.3 MB, free: 12.83 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.16e-05/0.1002, allocations: 44.38 kB / 490.4 MB, free: 12.79 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000262/0.1005, allocations: 283.7 kB / 490.6 MB, free: 12.47 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.867e-05/0.1005, allocations: 25.31 kB / 490.7 MB, free: 12.45 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.924e-05/0.1006, allocations: 40.36 kB / 490.7 MB, free: 12.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007309/0.1013, allocations: 0.5609 MB / 491.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.038e-05/0.1013, allocations: 0 / 491.3 MB, free: 11.84 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.088e-05/0.1014, allocations: 12 kB / 491.3 MB, free: 11.82 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.097e-05/0.1014, allocations: 44.97 kB / 491.3 MB, free: 11.78 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008232/0.1023, allocations: 0.5815 MB / 491.9 MB, free: 11.2 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001449/0.1037, allocations: 1.171 MB / 493.1 MB, free: 9.973 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005692/0.1043, allocations: 397.3 kB / 493.4 MB, free: 9.578 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002395/0.1046, allocations: 144.9 kB / 493.6 MB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.785e-05/0.1046, allocations: 0 / 493.6 MB, free: 9.434 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.039e-05/0.1046, allocations: 42.55 kB / 493.6 MB, free: 9.383 MB / 366.1 MB Notification: Performance of pre-optimization done (n=22): time 9.92e-07/0.1046, allocations: 0 / 493.6 MB, free: 9.383 MB / 366.1 MB Notification: Performance of matching and sorting (n=22): time 0.0008535/0.1055, allocations: 476.8 kB / 494.1 MB, free: 8.91 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.933e-05/0.1055, allocations: 59.41 kB / 494.2 MB, free: 8.84 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003986/0.1059, allocations: 453.6 kB / 494.6 MB, free: 8.391 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.296e-05/0.106, allocations: 29.7 kB / 494.6 MB, free: 8.355 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001023/0.1061, allocations: 188.4 kB / 494.8 MB, free: 8.168 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.184e-05/0.1061, allocations: 74.84 kB / 494.9 MB, free: 8.094 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-05/0.1062, allocations: 25.7 kB / 494.9 MB, free: 8.062 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001008/0.1063, allocations: 354.7 kB / 495.3 MB, free: 7.707 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002275/0.1065, allocations: 123.9 kB / 495.4 MB, free: 7.586 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002154/0.1067, allocations: 122.9 kB / 495.5 MB, free: 7.469 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0004683/0.1072, allocations: 276.6 kB / 495.8 MB, free: 7.195 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.763e-06/0.1072, allocations: 0 / 495.8 MB, free: 7.195 MB / 366.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.000567/0.1078, allocations: 352.4 kB / 496.1 MB, free: 6.848 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.303e-05/0.1078, allocations: 6.344 kB / 496.1 MB, free: 6.844 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1078, allocations: 11.94 kB / 496.1 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.034e-05/0.1078, allocations: 0 / 496.1 MB, free: 6.832 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0006506/0.1085, allocations: 159.8 kB / 496.3 MB, free: 6.676 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002288/0.1108, allocations: 5.52 MB / 0.49 GB, free: 0.9453 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001954/0.111, allocations: 47.47 kB / 0.4901 GB, free: 0.8984 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.272e-05/0.111, allocations: 11.98 kB / 0.4901 GB, free: 0.8867 MB / 366.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.0001738/0.1112, allocations: 193.7 kB / 0.4903 GB, free: 0.6875 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.442e-05/0.1113, allocations: 31.62 kB / 0.4903 GB, free: 0.6562 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007853/0.1121, allocations: 468.4 kB / 0.4908 GB, free: 196 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.765e-06/0.1121, allocations: 4 kB / 0.4908 GB, free: 192 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.417e-06/0.1121, allocations: 0 / 0.4908 GB, free: 192 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.518e-06/0.1121, allocations: 3.984 kB / 0.4908 GB, free: 188 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003832/0.1125, allocations: 385.2 kB / 0.4911 GB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.533e-06/0.1125, allocations: 0 / 0.4911 GB, free: 15.76 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000602/0.1131, allocations: 155.9 kB / 0.4913 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.966e-06/0.1131, allocations: 0 / 0.4913 GB, free: 15.61 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.333e-05/0.1131, allocations: 11.98 kB / 0.4913 GB, free: 15.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002268/0.1154, allocations: 5.524 MB / 0.4967 GB, free: 9.859 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.827e-06/0.1154, allocations: 7.969 kB / 0.4967 GB, free: 9.852 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005968/0.116, allocations: 458.5 kB / 0.4971 GB, free: 9.391 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.905e-05/0.1161, allocations: 120.6 kB / 0.4973 GB, free: 9.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.784e-05/0.1162, allocations: 4 kB / 0.4973 GB, free: 9.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001918/0.1164, allocations: 15.98 kB / 0.4973 GB, free: 9.234 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.124e-05/0.1164, allocations: 19.91 kB / 0.4973 GB, free: 9.215 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.212e-05/0.1165, allocations: 19.94 kB / 0.4973 GB, free: 9.195 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002962/0.1168, allocations: 335.1 kB / 0.4976 GB, free: 8.867 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1168, allocations: 0 / 0.4976 GB, free: 8.867 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000398/0.1172, allocations: 143.9 kB / 0.4978 GB, free: 8.727 MB / 382.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.001042/0.1182, allocations: 1.098 MB / 0.4988 GB, free: 7.598 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.001022/0.1193, allocations: 415.5 kB / 0.4992 GB, free: 7.191 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.934e-06/0.1193, allocations: 0 / 0.4992 GB, free: 7.191 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007492/0.12, allocations: 287.6 kB / 0.4995 GB, free: 6.91 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000437/0.1205, allocations: 85.48 kB / 0.4996 GB, free: 6.828 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004832/0.1253, allocations: 4.592 MB / 0.5041 GB, free: 2.156 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003189/0.1257, allocations: 0.8542 MB / 0.5049 GB, free: 1.273 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002073/0.1259, allocations: 83.22 kB / 0.505 GB, free: 1.195 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001348/0.126, allocations: 111.4 kB / 0.5051 GB, free: 1.09 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.126, allocations: 3.938 kB / 0.5051 GB, free: 1.086 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 1.783/1.909, allocations: 12.11 MB / 0.5169 GB, free: 39.24 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001984/1.909, allocations: 279.7 kB / 0.5172 GB, free: 38.86 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 3.022/4.932, allocations: 0 / 0.5172 GB, free: 38.86 MB / 382.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat --tempDir=temp_ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-07 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall_KC.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC_res.mat","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_overall_KC/kc_overall_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches