Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package ModelicaServices with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 3.2.3+maint.om/package.mo): time 0.001537/0.001537, allocations: 184.6 kB / 8.008 MB, free: 1.039 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.682/1.682, allocations: 205.3 MB / 213.7 MB, free: 13.71 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008852/0.0008852, allocations: 93.47 kB / 261.7 MB, free: 13.44 MB / 218.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2331/0.2331, allocations: 43.48 MB / 353.2 MB, free: 1.832 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 1.85e-05/1.852e-05, allocations: 224 / 418.4 MB, free: 40.11 MB / 298.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3422/0.3422, allocations: 58.85 MB / 477.2 MB, free: 5.191 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1422/0.4844, allocations: 92.98 MB / 0.5568 GB, free: 5.734 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002521/0.4847, allocations: 91.94 kB / 0.5569 GB, free: 5.645 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.02912/0.5139, allocations: 10.66 MB / 0.5673 GB, free: 10.82 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.084e-06/0.5139, allocations: 0 / 0.5673 GB, free: 10.82 MB / 410.7 MB Notification: Performance of Transformations before backend: time 1.526e-05/0.5139, allocations: 4 kB / 0.5673 GB, free: 10.82 MB / 410.7 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.0009184/0.5149, allocations: 0.6153 MB / 0.5679 GB, free: 10.16 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.528e-05/0.5149, allocations: 12.03 kB / 0.568 GB, free: 10.14 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 8.514e-05/0.515, allocations: 43.44 kB / 0.568 GB, free: 10.1 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003834/0.5154, allocations: 294.2 kB / 0.5683 GB, free: 9.773 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.136e-05/0.5154, allocations: 12 kB / 0.5683 GB, free: 9.762 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.92e-05/0.5155, allocations: 23.98 kB / 0.5683 GB, free: 9.738 MB / 410.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 0.0005108/0.516, allocations: 329.8 kB / 0.5686 GB, free: 9.418 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0007214/0.5167, allocations: 498.6 kB / 0.5691 GB, free: 8.914 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.233e-05/0.5168, allocations: 3.938 kB / 0.5691 GB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 3.148e-05/0.5168, allocations: 0 / 0.5691 GB, free: 8.91 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.384e-05/0.5168, allocations: 28.7 kB / 0.5691 GB, free: 8.883 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00169/0.5185, allocations: 1.237 MB / 0.5703 GB, free: 7.594 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003319/0.5189, allocations: 235.6 kB / 0.5706 GB, free: 7.336 MB / 410.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001637/0.5191, allocations: 107.3 kB / 0.5707 GB, free: 7.223 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 3.854e-05/0.5191, allocations: 4 kB / 0.5707 GB, free: 7.219 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.472e-05/0.5191, allocations: 42.5 kB / 0.5707 GB, free: 7.168 MB / 410.7 MB Notification: Performance of pre-optimization done (n=17): time 1.603e-06/0.5191, allocations: 0 / 0.5707 GB, free: 7.168 MB / 410.7 MB Notification: Performance of matching and sorting (n=17): time 0.0005266/0.5197, allocations: 249.3 kB / 0.571 GB, free: 6.918 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.571e-05/0.5197, allocations: 118.8 kB / 0.5711 GB, free: 6.777 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000185/0.5199, allocations: 183.1 kB / 0.5712 GB, free: 6.59 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 2.608e-05/0.52, allocations: 25.7 kB / 0.5713 GB, free: 6.559 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001377/0.5201, allocations: 224 kB / 0.5715 GB, free: 6.336 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 5.158e-05/0.5202, allocations: 55.11 kB / 0.5715 GB, free: 6.281 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.7e-05/0.5202, allocations: 0 / 0.5715 GB, free: 6.281 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001272/0.5203, allocations: 326.8 kB / 0.5718 GB, free: 5.953 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001666/0.5205, allocations: 100.1 kB / 0.5719 GB, free: 5.852 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001784/0.5207, allocations: 133.4 kB / 0.5721 GB, free: 5.703 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001811/0.5209, allocations: 107.9 kB / 0.5722 GB, free: 5.598 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.24e-06/0.5209, allocations: 4.109 kB / 0.5722 GB, free: 5.594 MB / 410.7 MB Notification: Performance of matching and sorting (n=21) (initialization): time 0.0004673/0.5214, allocations: 293.1 kB / 0.5724 GB, free: 5.301 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.565e-05/0.5214, allocations: 4 kB / 0.5725 GB, free: 5.297 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.066e-05/0.5215, allocations: 31.97 kB / 0.5725 GB, free: 5.266 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.342e-05/0.5215, allocations: 0 / 0.5725 GB, free: 5.266 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000217/0.5217, allocations: 39.95 kB / 0.5725 GB, free: 5.227 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.038e-05/0.5217, allocations: 7.938 kB / 0.5725 GB, free: 5.219 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002095/0.5219, allocations: 35.94 kB / 0.5726 GB, free: 5.184 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.28e-05/0.522, allocations: 19.98 kB / 0.5726 GB, free: 5.164 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001394/0.5221, allocations: 104.9 kB / 0.5727 GB, free: 5.055 MB / 410.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0004461/0.5226, allocations: 257 kB / 0.5729 GB, free: 4.801 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.342e-05/0.5227, allocations: 15.81 kB / 0.5729 GB, free: 4.785 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0005872/0.5233, allocations: 339.2 kB / 0.5733 GB, free: 4.445 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.5233, allocations: 4 kB / 0.5733 GB, free: 4.441 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.613e-06/0.5233, allocations: 3.953 kB / 0.5733 GB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.506e-06/0.5233, allocations: 0 / 0.5733 GB, free: 4.438 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000477/0.5238, allocations: 326 kB / 0.5736 GB, free: 4.082 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 5.914e-05/0.5239, allocations: 31.97 kB / 0.5736 GB, free: 4.051 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001677/0.524, allocations: 35.97 kB / 0.5736 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.637e-06/0.524, allocations: 0 / 0.5736 GB, free: 4.016 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.564e-05/0.5241, allocations: 11.98 kB / 0.5737 GB, free: 4.004 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.236e-06/0.5241, allocations: 3.938 kB / 0.5737 GB, free: 4 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.5241, allocations: 3.938 kB / 0.5737 GB, free: 3.996 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0005262/0.5246, allocations: 0.517 MB / 0.5742 GB, free: 3.449 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 7.725e-05/0.5247, allocations: 96.91 kB / 0.5743 GB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.875e-05/0.5248, allocations: 0 / 0.5743 GB, free: 3.336 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002523/0.525, allocations: 23.94 kB / 0.5743 GB, free: 3.312 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 7.44e-05/0.5251, allocations: 23.95 kB / 0.5743 GB, free: 3.289 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.241e-05/0.5251, allocations: 16 kB / 0.5743 GB, free: 3.273 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001189/0.5252, allocations: 149.5 kB / 0.5745 GB, free: 3.129 MB / 410.7 MB Notification: Performance of sort global known variables: time 2e-07/0.5253, allocations: 0 / 0.5745 GB, free: 3.129 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.000585/0.5258, allocations: 143.4 kB / 0.5746 GB, free: 2.988 MB / 410.7 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 () * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001091/0.5269, allocations: 1.291 MB / 0.5759 GB, free: 1.664 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0005241/0.5275, allocations: 459 kB / 0.5763 GB, free: 1.16 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 1.964e-06/0.5275, allocations: 0 / 0.5763 GB, free: 1.16 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0003002/0.5278, allocations: 355.5 kB / 0.5766 GB, free: 0.7578 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003479/0.5282, allocations: 31.95 kB / 0.5767 GB, free: 0.7266 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001421/0.5296, allocations: 0.6555 MB / 0.5773 GB, free: 24 kB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004675/0.5301, allocations: 0.8605 MB / 0.5782 GB, free: 15.14 MB / 426.7 MB Notification: Performance of simCode: alias equations: time 0.0001065/0.5302, allocations: 33.12 kB / 0.5782 GB, free: 15.11 MB / 426.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001273/0.5303, allocations: 103.4 kB / 0.5783 GB, free: 15 MB / 426.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5303, allocations: 3.938 kB / 0.5783 GB, free: 15 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0247/0.555, allocations: 6.287 MB / 0.5844 GB, free: 8.715 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001807/0.5553, allocations: 186.6 kB / 0.5846 GB, free: 8.516 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.712/2.267, allocations: 0 / 0.5846 GB, free: 8.516 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar_fmu --startTime=0 --stopTime=1.01 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Fluid_Dissipation_Verifications_HeatTransfer_HelicalPipe_kc_laminar.fmu > ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Fluid.Dissipation.Verifications.HeatTransfer.HelicalPipe.kc_laminar_res.mat does not exist to compare? outputFormat=mat