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) 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_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"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001621/0.001621, allocations: 117.7 kB / 17.78 MB, free: 5.285 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.002034/0.002034, allocations: 199.8 kB / 18.73 MB, free: 4.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.378/1.378, allocations: 227.4 MB / 246.9 MB, free: 10.48 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest trunk/package.mo): time 0.2123/0.2123, allocations: 46.11 MB / 344.3 MB, free: 11.52 MB / 286.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001359/0.001359, allocations: 75.88 kB / 480.8 MB, free: 4.559 MB / 350.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3085/0.3099, allocations: 62.42 MB / 0.5305 GB, free: 13.43 MB / 398.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC): time 0.002972/0.3129, allocations: 2.035 MB / 0.5325 GB, free: 11.85 MB / 398.1 MB Notification: Performance of NFInst.instExpressions: time 0.001299/0.3142, allocations: 0.9207 MB / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.464e-05/0.3143, allocations: 0 / 0.5334 GB, free: 11.12 MB / 398.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002715/0.3146, allocations: 72.08 kB / 0.5335 GB, free: 11.07 MB / 398.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003378/0.3149, allocations: 120.1 kB / 0.5336 GB, free: 10.97 MB / 398.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002322/0.3152, allocations: 81.95 kB / 0.5337 GB, free: 10.92 MB / 398.1 MB Notification: Performance of NFFlatten.flatten: time 0.000376/0.3156, allocations: 392.7 kB / 0.5341 GB, free: 10.71 MB / 398.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.28e-05/0.3157, allocations: 44.22 kB / 0.5341 GB, free: 10.69 MB / 398.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002347/0.3159, allocations: 163.9 kB / 0.5343 GB, free: 10.6 MB / 398.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002199/0.3161, allocations: 177.5 kB / 0.5344 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFPackage.collectConstants: time 2.831e-05/0.3162, allocations: 11.28 kB / 0.5344 GB, free: 10.49 MB / 398.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0002424/0.3164, allocations: 139 kB / 0.5346 GB, free: 10.41 MB / 398.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001047/0.3165, allocations: 99.66 kB / 0.5347 GB, free: 10.35 MB / 398.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001411/0.3167, allocations: 157.2 kB / 0.5348 GB, free: 10.25 MB / 398.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004595/0.3171, allocations: 432.3 kB / 0.5352 GB, free: 9.984 MB / 398.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.276e-06/0.3171, allocations: 0 / 0.5352 GB, free: 9.984 MB / 398.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.3172, allocations: 0 / 0.5352 GB, free: 9.984 MB / 398.1 MB Notification: Performance of Transformations before backend: time 6.603e-06/0.3172, allocations: 1.375 kB / 0.5352 GB, free: 9.984 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: 112 * Number of variables: 112 Notification: Performance of Generate backend data structure: time 0.0009529/0.3181, allocations: 0.6546 MB / 0.5359 GB, free: 9.41 MB / 398.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.649e-05/0.3182, allocations: 9.594 kB / 0.5359 GB, free: 9.41 MB / 398.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 8.516e-05/0.3183, allocations: 84.38 kB / 0.536 GB, free: 9.336 MB / 398.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.125e-05/0.3183, allocations: 42.56 kB / 0.536 GB, free: 9.312 MB / 398.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003566/0.3187, allocations: 281.5 kB / 0.5363 GB, free: 9.051 MB / 398.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.687e-05/0.3187, allocations: 28.12 kB / 0.5363 GB, free: 9.039 MB / 398.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.012e-05/0.3188, allocations: 35.48 kB / 0.5363 GB, free: 9.027 MB / 398.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0008203/0.3196, allocations: 0.5601 MB / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.3196, allocations: 0 / 0.5369 GB, free: 8.715 MB / 398.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.397e-05/0.3197, allocations: 14.84 kB / 0.5369 GB, free: 8.703 MB / 398.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.444e-05/0.3197, allocations: 40.67 kB / 0.5369 GB, free: 8.691 MB / 398.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0009285/0.3207, allocations: 0.5708 MB / 0.5375 GB, free: 8.434 MB / 398.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001682/0.3224, allocations: 1.17 MB / 0.5386 GB, free: 7.633 MB / 398.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006156/0.323, allocations: 387.4 kB / 0.539 GB, free: 7.469 MB / 398.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002424/0.3232, allocations: 134.8 kB / 0.5391 GB, free: 7.41 MB / 398.1 MB Notification: Performance of preOpt evalFunc (simulation): time 4.212e-05/0.3233, allocations: 11 kB / 0.5391 GB, free: 7.402 MB / 398.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.078e-05/0.3233, allocations: 36.09 kB / 0.5392 GB, free: 7.359 MB / 398.1 MB Notification: Performance of pre-optimization done (n=22): time 1.382e-06/0.3233, allocations: 0 / 0.5392 GB, free: 7.359 MB / 398.1 MB Notification: Performance of matching and sorting (n=22): time 0.0009355/0.3243, allocations: 466.4 kB / 0.5396 GB, free: 7.152 MB / 398.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.064e-05/0.3243, allocations: 53.53 kB / 0.5397 GB, free: 7.09 MB / 398.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004447/0.3248, allocations: 454.7 kB / 0.5401 GB, free: 6.824 MB / 398.1 MB Notification: Performance of collectPreVariables (initialization): time 2.398e-05/0.3248, allocations: 26.95 kB / 0.5401 GB, free: 6.793 MB / 398.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001203/0.3249, allocations: 188.5 kB / 0.5403 GB, free: 6.621 MB / 398.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.593e-05/0.325, allocations: 83.7 kB / 0.5404 GB, free: 6.547 MB / 398.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.972e-05/0.3251, allocations: 47.92 kB / 0.5404 GB, free: 6.516 MB / 398.1 MB Notification: Performance of setup shared object (initialization): time 0.0001332/0.3252, allocations: 354 kB / 0.5408 GB, free: 6.172 MB / 398.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002412/0.3255, allocations: 123 kB / 0.5409 GB, free: 6.121 MB / 398.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002368/0.3257, allocations: 122.3 kB / 0.541 GB, free: 6.074 MB / 398.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.000496/0.3262, allocations: 261.1 kB / 0.5412 GB, free: 5.973 MB / 398.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.3262, allocations: 0 / 0.5412 GB, free: 5.973 MB / 398.1 MB Notification: Performance of matching and sorting (n=22) (initialization): time 0.0006216/0.3269, allocations: 343.9 kB / 0.5416 GB, free: 5.812 MB / 398.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.728e-05/0.3269, allocations: 13.44 kB / 0.5416 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.7e-06/0.3269, allocations: 1.25 kB / 0.5416 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.528e-05/0.3269, allocations: 0 / 0.5416 GB, free: 5.805 MB / 398.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000723/0.3276, allocations: 151.1 kB / 0.5417 GB, free: 5.766 MB / 398.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.002713/0.3304, allocations: 5.527 MB / 0.5471 GB, free: 284 kB / 398.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000223/0.3306, allocations: 44.83 kB / 0.5472 GB, free: 252 kB / 398.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.804e-05/0.3306, allocations: 11 kB / 0.5472 GB, free: 248 kB / 398.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.0001909/0.3308, allocations: 190 kB / 0.5474 GB, free: 88 kB / 398.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.519e-05/0.3309, allocations: 32.94 kB / 0.5474 GB, free: 68 kB / 398.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008575/0.3318, allocations: 467.5 kB / 0.5478 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.541e-06/0.3318, allocations: 4 kB / 0.5478 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.3318, allocations: 0 / 0.5478 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.198e-06/0.3318, allocations: 0 / 0.5478 GB, free: 15.61 MB / 414.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004291/0.3322, allocations: 373.2 kB / 0.5482 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.382e-06/0.3323, allocations: 4 kB / 0.5482 GB, free: 15.19 MB / 414.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.000644/0.3329, allocations: 159.8 kB / 0.5484 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.851e-06/0.3329, allocations: 4 kB / 0.5484 GB, free: 15.03 MB / 414.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.508e-05/0.333, allocations: 8 kB / 0.5484 GB, free: 15.02 MB / 414.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.002837/0.3358, allocations: 5.512 MB / 0.5538 GB, free: 9.297 MB / 414.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.637e-06/0.3358, allocations: 3.938 kB / 0.5538 GB, free: 9.293 MB / 414.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0006311/0.3364, allocations: 451 kB / 0.5542 GB, free: 8.836 MB / 414.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001139/0.3366, allocations: 116.6 kB / 0.5543 GB, free: 8.703 MB / 414.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.895e-05/0.3366, allocations: 8 kB / 0.5543 GB, free: 8.695 MB / 414.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001921/0.3368, allocations: 11.97 kB / 0.5543 GB, free: 8.684 MB / 414.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 6.875e-05/0.3369, allocations: 23.91 kB / 0.5543 GB, free: 8.66 MB / 414.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.388e-05/0.3369, allocations: 12 kB / 0.5544 GB, free: 8.648 MB / 414.1 MB Notification: Performance of sorting global known variables: time 0.0003203/0.3373, allocations: 339.1 kB / 0.5547 GB, free: 8.32 MB / 414.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.3373, allocations: 4 kB / 0.5547 GB, free: 8.316 MB / 414.1 MB Notification: Performance of remove unused functions: time 0.0003772/0.3376, allocations: 99.94 kB / 0.5548 GB, free: 8.219 MB / 414.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.001019/0.3387, allocations: 1.008 MB / 0.5558 GB, free: 7.184 MB / 414.1 MB Notification: Performance of simCode: created initialization part: time 0.001099/0.3398, allocations: 403.5 kB / 0.5561 GB, free: 6.789 MB / 414.1 MB Notification: Performance of simCode: created event and clocks part: time 2.194e-06/0.3398, allocations: 7.938 kB / 0.5562 GB, free: 6.781 MB / 414.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007666/0.3406, allocations: 275.7 kB / 0.5564 GB, free: 6.512 MB / 414.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004762/0.3411, allocations: 87.95 kB / 0.5565 GB, free: 6.43 MB / 414.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004972/0.346, allocations: 4.343 MB / 0.5607 GB, free: 2.008 MB / 414.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003599/0.3464, allocations: 0.8542 MB / 0.5616 GB, free: 1.125 MB / 414.1 MB Notification: Performance of simCode: alias equations: time 0.000192/0.3466, allocations: 87.2 kB / 0.5617 GB, free: 1.039 MB / 414.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000145/0.3468, allocations: 111.4 kB / 0.5618 GB, free: 0.9297 MB / 414.1 MB Notification: Performance of SimCode: time 3.91e-07/0.3468, allocations: 7.875 kB / 0.5618 GB, free: 0.9219 MB / 414.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02987/0.3766, allocations: 11.8 MB / 0.5733 GB, free: 5.375 MB / 430.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 11.48/11.86, allocations: 1.516 kB / 0.5733 GB, free: 5.375 MB / 430.1 MB (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 --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) diffSimulationResults("ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_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_laminar_KC/kc_laminar_KC.csv","/var/lib/jenkins1/ws/OpenModelicaLibraryTestingWork/OpenModelicaLibraryTesting/files/ModelicaTest_trunk_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_KC.diff",relTol=0.003,relTolDiffMinMax=0.003,rangeDelta=0.001) Reference file matches