Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.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,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall,fileNamePrefix="ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001083/0.001083, allocations: 117.6 kB / 17.79 MB, free: 5.254 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001093/0.001093, allocations: 199.9 kB / 18.74 MB, free: 4.312 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.401/1.401, allocations: 227.4 MB / 246.9 MB, free: 10.46 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2075/0.2075, allocations: 46.11 MB / 344.3 MB, free: 11.48 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001403/0.001403, allocations: 79.88 kB / 480.8 MB, free: 4.523 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.332/0.3334, allocations: 62.44 MB / 0.5305 GB, free: 13.41 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall): time 0.003486/0.3369, allocations: 2.132 MB / 0.5326 GB, free: 11.75 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.003108/0.3401, allocations: 2.154 MB / 0.5347 GB, free: 10.03 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001613/0.3402, allocations: 10.62 kB / 0.5347 GB, free: 10.02 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000312/0.3406, allocations: 64.09 kB / 0.5348 GB, free: 9.977 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003472/0.3409, allocations: 113 kB / 0.5349 GB, free: 9.887 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001164/0.3421, allocations: 430.9 kB / 0.5353 GB, free: 9.609 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000565/0.3427, allocations: 453.1 kB / 0.5358 GB, free: 9.359 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.633e-05/0.3428, allocations: 49.95 kB / 0.5358 GB, free: 9.34 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002897/0.3431, allocations: 166.8 kB / 0.536 GB, free: 9.25 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002786/0.3434, allocations: 192.7 kB / 0.5361 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 4.493e-05/0.3434, allocations: 13.72 kB / 0.5362 GB, free: 9.133 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.001206/0.3447, allocations: 0.617 MB / 0.5368 GB, free: 8.762 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001887/0.3449, allocations: 121.3 kB / 0.5369 GB, free: 8.676 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0002143/0.3451, allocations: 177.2 kB / 0.537 GB, free: 8.559 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.001278/0.3464, allocations: 0.7263 MB / 0.5378 GB, free: 8.102 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.979e-06/0.3464, allocations: 0 / 0.5378 GB, free: 8.102 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.3464, allocations: 0 / 0.5378 GB, free: 8.102 MB / 398.1 MB Notification: Performance of Transformations before backend: time 9.077e-06/0.3464, allocations: 0 / 0.5378 GB, free: 8.102 MB / 398.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 104 * Number of variables: 104 Notification: Performance of Generate backend data structure: time 0.001479/0.3479, allocations: 0.7783 MB / 0.5385 GB, free: 7.445 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.694e-05/0.3479, allocations: 9.719 kB / 0.5385 GB, free: 7.445 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001134/0.3481, allocations: 94.44 kB / 0.5386 GB, free: 7.359 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.00038/0.3484, allocations: 80.17 kB / 0.5387 GB, free: 7.324 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004413/0.3489, allocations: 310.7 kB / 0.539 GB, free: 7.043 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.548e-05/0.3489, allocations: 36.31 kB / 0.539 GB, free: 7.023 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.013e-05/0.349, allocations: 33.62 kB / 0.5391 GB, free: 7.016 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0009129/0.3499, allocations: 0.5745 MB / 0.5396 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.427e-05/0.35, allocations: 1.5 kB / 0.5396 GB, free: 6.676 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.7e-05/0.35, allocations: 18.77 kB / 0.5396 GB, free: 6.66 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.961e-05/0.35, allocations: 23.62 kB / 0.5397 GB, free: 6.656 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007872/0.3508, allocations: 428.4 kB / 0.5401 GB, free: 6.461 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001918/0.3528, allocations: 1.398 MB / 0.5414 GB, free: 5.41 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0005168/0.3533, allocations: 274.6 kB / 0.5417 GB, free: 5.25 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002934/0.3536, allocations: 133 kB / 0.5418 GB, free: 5.184 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 5.374e-05/0.3537, allocations: 12.22 kB / 0.5418 GB, free: 5.176 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.616e-05/0.3537, allocations: 36.8 kB / 0.5419 GB, free: 5.133 MB / 398.1 MB Notification: Performance of pre-optimization done (n=17): time 2.114e-06/0.3537, allocations: 0 / 0.5419 GB, free: 5.133 MB / 398.1 MB Notification: Performance of matching and sorting (n=17): time 0.001148/0.3549, allocations: 468 kB / 0.5423 GB, free: 4.922 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.744e-05/0.3549, allocations: 109 kB / 0.5424 GB, free: 4.793 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006328/0.3556, allocations: 0.5403 MB / 0.5429 GB, free: 4.492 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.894e-05/0.3556, allocations: 30.98 kB / 0.543 GB, free: 4.457 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001588/0.3558, allocations: 216.4 kB / 0.5432 GB, free: 4.262 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.288e-05/0.3558, allocations: 66.28 kB / 0.5432 GB, free: 4.203 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.859e-05/0.3559, allocations: 54 kB / 0.5433 GB, free: 4.168 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001582/0.3561, allocations: 363.5 kB / 0.5436 GB, free: 3.816 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002921/0.3564, allocations: 126.1 kB / 0.5438 GB, free: 3.77 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003138/0.3567, allocations: 172.1 kB / 0.5439 GB, free: 3.668 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0006114/0.3574, allocations: 304.1 kB / 0.5442 GB, free: 3.438 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.206e-06/0.3574, allocations: 0 / 0.5442 GB, free: 3.438 MB / 398.1 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0007985/0.3582, allocations: 391.3 kB / 0.5446 GB, free: 3.051 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.31e-05/0.3582, allocations: 18.44 kB / 0.5446 GB, free: 3.035 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.757e-05/0.3583, allocations: 27.98 kB / 0.5446 GB, free: 3.008 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.683e-05/0.3583, allocations: 4 kB / 0.5446 GB, free: 3.004 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002023/0.3585, allocations: 27.97 kB / 0.5447 GB, free: 2.977 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.875e-06/0.3585, allocations: 4 kB / 0.5447 GB, free: 2.973 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0003198/0.3588, allocations: 59.59 kB / 0.5447 GB, free: 2.914 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.36e-05/0.3589, allocations: 12 kB / 0.5447 GB, free: 2.902 MB / 398.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 6 * 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 (18): * Single equations (assignments): 9 * 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.0002046/0.3591, allocations: 197.6 kB / 0.5449 GB, free: 2.699 MB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001094/0.3592, allocations: 47.66 kB / 0.545 GB, free: 2.652 MB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0007221/0.3599, allocations: 384.8 kB / 0.5453 GB, free: 2.266 MB / 398.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.486e-06/0.36, allocations: 4 kB / 0.5453 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.224e-05/0.36, allocations: 0 / 0.5453 GB, free: 2.262 MB / 398.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.061e-06/0.36, allocations: 3.984 kB / 0.5453 GB, free: 2.258 MB / 398.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005633/0.3605, allocations: 373.4 kB / 0.5457 GB, free: 1.844 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.54e-05/0.3606, allocations: 28 kB / 0.5457 GB, free: 1.816 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001414/0.3608, allocations: 31.91 kB / 0.5458 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.336e-06/0.3608, allocations: 0 / 0.5458 GB, free: 1.785 MB / 398.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.825e-05/0.3608, allocations: 15.98 kB / 0.5458 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.3608, allocations: 0 / 0.5458 GB, free: 1.77 MB / 398.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.208e-05/0.3608, allocations: 4 kB / 0.5458 GB, free: 1.766 MB / 398.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007702/0.3616, allocations: 0.5795 MB / 0.5463 GB, free: 1.168 MB / 398.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0002386/0.3619, allocations: 156.7 kB / 0.5465 GB, free: 0.9961 MB / 398.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.44e-05/0.3619, allocations: 11.98 kB / 0.5465 GB, free: 0.9844 MB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002965/0.3622, allocations: 11.98 kB / 0.5465 GB, free: 0.9727 MB / 398.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.105e-05/0.3623, allocations: 23.97 kB / 0.5465 GB, free: 0.9492 MB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.642e-05/0.3624, allocations: 16 kB / 0.5466 GB, free: 0.9336 MB / 398.1 MB Notification: Performance of sorting global known variables: time 0.0004368/0.3628, allocations: 407 kB / 0.5469 GB, free: 0.543 MB / 398.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.3628, allocations: 0 / 0.5469 GB, free: 0.543 MB / 398.1 MB Notification: Performance of remove unused functions: time 0.0006379/0.3635, allocations: 159.5 kB / 0.5471 GB, free: 396 kB / 398.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.001509/0.365, allocations: 1.252 MB / 0.5483 GB, free: 15.11 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.0008257/0.3658, allocations: 0.5146 MB / 0.5488 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 3.196e-06/0.3658, allocations: 0 / 0.5488 GB, free: 14.54 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000444/0.3663, allocations: 387.1 kB / 0.5492 GB, free: 14.11 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0006997/0.367, allocations: 102.2 kB / 0.5493 GB, free: 14.01 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.006643/0.3736, allocations: 4.952 MB / 0.5541 GB, free: 8.93 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004134/0.3741, allocations: 0.8573 MB / 0.555 GB, free: 8.047 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.0001865/0.3743, allocations: 63.25 kB / 0.555 GB, free: 7.98 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001536/0.3744, allocations: 115.4 kB / 0.5551 GB, free: 7.871 MB / 414.1 MB Notification: Performance of SimCode: time 5.41e-07/0.3745, allocations: 0 / 0.5551 GB, free: 7.871 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03651/0.411, allocations: 13.24 MB / 0.5681 GB, free: 10.86 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.941/8.352, allocations: 11.42 kB / 0.5681 GB, free: 10.85 MB / 430.1 MB (rm -f ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; mkfifo ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe ; head -c 1048576 < ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe >> ../files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.sim & python3 -m fmpy simulate --output-file ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.csv --start-time 0 --stop-time 1.01 --timeout 50 --relative-tolerance 1e-07 --interface-type ModelExchange --solver CVode --output-interval 0.000404 ModelicaTest_trunk_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_overall.fmu > ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.pipe 2>&1) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall_res.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/Reference-modelica.org/ReferenceResults/MAP-LIB_ReferenceResults/v4.0.0/ModelicaTest/Fluid/Dissipation/Verifications/HeatTransfer/HelicalPipe/kc_overall/kc_overall.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_overall.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches