Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.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.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Shapes.FixedShape,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape",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.00102/0.00102, allocations: 183 kB / 13.19 MB, free: 2.129 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.953/1.953, allocations: 205.2 MB / 218.9 MB, free: 9.141 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.0009531/0.0009529, allocations: 90.58 kB / 267.1 MB, free: 9.266 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.4336/0.4336, allocations: 43.47 MB / 358.6 MB, free: 52.32 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.744e-05/4.747e-05, allocations: 3.984 kB / 425.4 MB, free: 8.793 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1541/0.1541, allocations: 58.85 MB / 484.3 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4048/0.559, allocations: 88.13 MB / 0.559 GB, free: 0.7969 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002273/0.5592, allocations: 67.97 kB / 0.559 GB, free: 0.7305 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.0177/0.577, allocations: 6.578 MB / 0.5655 GB, free: 10.18 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.577, allocations: 2.812 kB / 0.5655 GB, free: 10.18 MB / 394.7 MB Notification: Performance of Transformations before backend: time 1.021e-05/0.577, allocations: 8 kB / 0.5655 GB, free: 10.17 MB / 394.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 61 * Number of variables: 61 Notification: Performance of Generate backend data structure: time 0.0008431/0.5779, allocations: 0.532 MB / 0.566 GB, free: 9.594 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.444e-05/0.5779, allocations: 12.03 kB / 0.566 GB, free: 9.582 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.456e-05/0.578, allocations: 62.53 kB / 0.5661 GB, free: 9.512 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.232e-05/0.5781, allocations: 35.06 kB / 0.5661 GB, free: 9.48 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004341/0.5785, allocations: 271.1 kB / 0.5664 GB, free: 9.176 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.036e-05/0.5786, allocations: 16.56 kB / 0.5664 GB, free: 9.16 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.191e-05/0.5786, allocations: 24 kB / 0.5664 GB, free: 9.137 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004532/0.5791, allocations: 228.9 kB / 0.5666 GB, free: 8.902 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.448e-05/0.5791, allocations: 8 kB / 0.5666 GB, free: 8.895 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.912e-05/0.5791, allocations: 8 kB / 0.5666 GB, free: 8.887 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.587e-05/0.5792, allocations: 9.375 kB / 0.5666 GB, free: 8.879 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003853/0.5796, allocations: 198.2 kB / 0.5668 GB, free: 8.688 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001542/0.5811, allocations: 0.882 MB / 0.5677 GB, free: 7.742 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000746/0.5819, allocations: 323.9 kB / 0.568 GB, free: 7.414 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002196/0.5821, allocations: 135.2 kB / 0.5681 GB, free: 7.281 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.448e-05/0.5822, allocations: 7.984 kB / 0.5681 GB, free: 7.273 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.691e-05/0.5822, allocations: 42.52 kB / 0.5682 GB, free: 7.223 MB / 394.7 MB Notification: Performance of pre-optimization done (n=31): time 2.304e-06/0.5822, allocations: 0 / 0.5682 GB, free: 7.223 MB / 394.7 MB Notification: Performance of matching and sorting (n=31): time 0.001765/0.584, allocations: 0.489 MB / 0.5686 GB, free: 6.715 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.871e-05/0.584, allocations: 55.41 kB / 0.5687 GB, free: 6.648 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001963/0.5842, allocations: 184.8 kB / 0.5689 GB, free: 6.465 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 2.721e-05/0.5843, allocations: 33.7 kB / 0.5689 GB, free: 6.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001058/0.5844, allocations: 160.9 kB / 0.5691 GB, free: 6.266 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 7.73e-05/0.5845, allocations: 102.5 kB / 0.5692 GB, free: 6.164 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.377e-05/0.5845, allocations: 4 kB / 0.5692 GB, free: 6.16 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001208/0.5846, allocations: 342.8 kB / 0.5695 GB, free: 5.816 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001493/0.5848, allocations: 77.48 kB / 0.5696 GB, free: 5.742 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001608/0.5849, allocations: 109.8 kB / 0.5697 GB, free: 5.625 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001713/0.5851, allocations: 90.16 kB / 0.5698 GB, free: 5.539 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.013e-06/0.5851, allocations: 0 / 0.5698 GB, free: 5.539 MB / 394.7 MB Notification: Performance of matching and sorting (n=35) (initialization): time 0.001592/0.5867, allocations: 0.518 MB / 0.5703 GB, free: 5.004 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.747e-05/0.5868, allocations: 4 kB / 0.5703 GB, free: 5 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.741e-06/0.5868, allocations: 0 / 0.5703 GB, free: 5 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 0.001605/0.5884, allocations: 319.1 kB / 0.5706 GB, free: 4.676 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001569/0.5885, allocations: 27.98 kB / 0.5706 GB, free: 4.648 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 0.006843/0.5954, allocations: 6.372 MB / 0.5768 GB, free: 13.75 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002275/0.5956, allocations: 27.73 kB / 0.5768 GB, free: 13.72 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.11e-05/0.5957, allocations: 8 kB / 0.5769 GB, free: 13.71 MB / 410.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 11 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,1 5,1 5,1 5} Notification: Performance of prepare postOptimizeDAE: time 9.655e-05/0.5958, allocations: 124.9 kB / 0.577 GB, free: 13.58 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.026e-05/0.5958, allocations: 23.72 kB / 0.577 GB, free: 13.56 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001647/0.5975, allocations: 0.5153 MB / 0.5775 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.885e-06/0.5975, allocations: 0 / 0.5775 GB, free: 13.03 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.322e-06/0.5975, allocations: 8 kB / 0.5775 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.641e-06/0.5975, allocations: 0 / 0.5775 GB, free: 13.02 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004263/0.598, allocations: 373 kB / 0.5779 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.316e-06/0.598, allocations: 192 / 0.5779 GB, free: 12.61 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001192/0.5981, allocations: 23.98 kB / 0.5779 GB, free: 12.59 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 0.001478/0.5996, allocations: 311.2 kB / 0.5782 GB, free: 12.27 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.139e-05/0.5996, allocations: 8 kB / 0.5782 GB, free: 12.26 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 0.00656/0.6062, allocations: 6.297 MB / 0.5843 GB, free: 5.426 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.007e-06/0.6062, allocations: 3.953 kB / 0.5843 GB, free: 5.422 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001643/0.6079, allocations: 0.5887 MB / 0.5849 GB, free: 4.805 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.148e-05/0.608, allocations: 96.77 kB / 0.585 GB, free: 4.691 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.767e-05/0.608, allocations: 8 kB / 0.585 GB, free: 4.684 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001896/0.6082, allocations: 19.92 kB / 0.585 GB, free: 4.664 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001224/0.6083, allocations: 31.91 kB / 0.5851 GB, free: 4.633 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.959e-05/0.6084, allocations: 12 kB / 0.5851 GB, free: 4.621 MB / 410.7 MB Notification: Performance of sorting global known variables: time 0.0001544/0.6085, allocations: 153.4 kB / 0.5852 GB, free: 4.477 MB / 410.7 MB Notification: Performance of sort global known variables: time 2.6e-07/0.6085, allocations: 0 / 0.5852 GB, free: 4.477 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0005249/0.6091, allocations: 127.8 kB / 0.5853 GB, free: 4.352 MB / 410.7 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 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (linear and non-linear blocks): 0 * Torn equation systems: 4 * Mixed (continuous/discrete) equation systems: 0 Notification: Torn system details for strict tearing set: * Linear torn systems: 0 * Non-linear torn systems: 4 {1 5,2 4,1 5,1 5} Notification: Performance of Backend phase and start with SimCode phase: time 0.001913/0.611, allocations: 1.142 MB / 0.5865 GB, free: 3.172 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 0.0009473/0.612, allocations: 0.7103 MB / 0.5872 GB, free: 2.414 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 2.484e-06/0.612, allocations: 0 / 0.5872 GB, free: 2.414 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0008346/0.6128, allocations: 0.6544 MB / 0.5878 GB, free: 1.707 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002424/0.6131, allocations: 28.95 kB / 0.5878 GB, free: 1.68 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0008738/0.614, allocations: 398.8 kB / 0.5882 GB, free: 1.25 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000345/0.6143, allocations: 0.7794 MB / 0.589 GB, free: 456 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.764e-05/0.6144, allocations: 22.02 kB / 0.589 GB, free: 436 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001078/0.6145, allocations: 75.41 kB / 0.5891 GB, free: 360 kB / 410.7 MB Notification: Performance of SimCode: time 4.61e-07/0.6145, allocations: 0 / 0.5891 GB, free: 360 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02811/0.6426, allocations: 10.3 MB / 0.5991 GB, free: 6.129 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002122/0.6429, allocations: 180.2 kB / 0.5993 GB, free: 5.898 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.298/2.941, allocations: 0 / 0.5993 GB, free: 5.898 MB / 426.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_ModelicaTest_FluxTubes_Shapes_FixedShape.fmu > ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.FluxTubes.Shapes.FixedShape_res.mat does not exist to compare? outputFormat=mat