Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.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.Sources,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sources",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.FluxTubes.Sources,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sources",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.001593/0.001593, allocations: 182.4 kB / 13.66 MB, free: 1.664 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 2.036/2.036, allocations: 205.2 MB / 219.4 MB, free: 14.21 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.002219/0.002218, allocations: 89.78 kB / 267.5 MB, free: 14.05 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2783/0.2783, allocations: 43.49 MB / 359.1 MB, free: 12.24 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 3.564e-05/3.581e-05, allocations: 7.984 kB / 425.4 MB, free: 23.27 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1254/0.1254, allocations: 58.85 MB / 484.2 MB, free: 12.37 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5458/0.6713, allocations: 87.77 MB / 0.5586 GB, free: 15.75 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002204/0.6716, allocations: 64.16 kB / 0.5587 GB, free: 15.72 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.03184/0.7035, allocations: 6.967 MB / 0.5655 GB, free: 9.785 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.525e-06/0.7035, allocations: 0 / 0.5655 GB, free: 9.785 MB / 378.7 MB Notification: Performance of Transformations before backend: time 2.775e-05/0.7036, allocations: 8 kB / 0.5655 GB, free: 9.777 MB / 378.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 84 * Number of variables: 84 Notification: Performance of Generate backend data structure: time 0.002186/0.7058, allocations: 0.5788 MB / 0.566 GB, free: 9.176 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.233e-05/0.7059, allocations: 8.031 kB / 0.566 GB, free: 9.168 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001592/0.706, allocations: 72.03 kB / 0.5661 GB, free: 9.109 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0001454/0.7062, allocations: 39.53 kB / 0.5661 GB, free: 9.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0007296/0.7069, allocations: 280.7 kB / 0.5664 GB, free: 8.777 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 4.93e-05/0.707, allocations: 23.34 kB / 0.5664 GB, free: 8.766 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 0.0001039/0.7071, allocations: 45.36 kB / 0.5665 GB, free: 8.73 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001127/0.7083, allocations: 318.4 kB / 0.5668 GB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.151e-05/0.7083, allocations: 0 / 0.5668 GB, free: 8.492 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.402e-05/0.7084, allocations: 13 kB / 0.5668 GB, free: 8.488 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 2.159e-05/0.7084, allocations: 12 kB / 0.5668 GB, free: 8.477 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0008903/0.7094, allocations: 218.2 kB / 0.567 GB, free: 8.336 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003687/0.7131, allocations: 1.294 MB / 0.5683 GB, free: 7.16 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006845/0.7138, allocations: 169.2 kB / 0.5684 GB, free: 6.984 MB / 378.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0002027/0.714, allocations: 64.72 kB / 0.5685 GB, free: 6.926 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.132e-05/0.7141, allocations: 4 kB / 0.5685 GB, free: 6.922 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.7141, allocations: 34.56 kB / 0.5685 GB, free: 6.879 MB / 378.7 MB Notification: Performance of pre-optimization done (n=15): time 2.925e-06/0.7142, allocations: 0 / 0.5685 GB, free: 6.879 MB / 378.7 MB Notification: Performance of matching and sorting (n=15): time 0.0007044/0.7149, allocations: 148.3 kB / 0.5687 GB, free: 6.754 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001105/0.715, allocations: 128.5 kB / 0.5688 GB, free: 6.598 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0006536/0.7157, allocations: 286 kB / 0.5691 GB, free: 6.371 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 3.666e-05/0.7157, allocations: 33.39 kB / 0.5691 GB, free: 6.336 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002809/0.716, allocations: 287 kB / 0.5694 GB, free: 6.086 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 8.977e-05/0.7161, allocations: 61.56 kB / 0.5694 GB, free: 6.035 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.614e-05/0.7162, allocations: 3.375 kB / 0.5694 GB, free: 6.035 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001931/0.7164, allocations: 322.8 kB / 0.5697 GB, free: 5.715 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002611/0.7167, allocations: 50.44 kB / 0.5698 GB, free: 5.68 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0003956/0.7171, allocations: 148.9 kB / 0.5699 GB, free: 5.52 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0003364/0.7174, allocations: 78.67 kB / 0.57 GB, free: 5.465 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.541e-06/0.7175, allocations: 0 / 0.57 GB, free: 5.465 MB / 378.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.0009229/0.7184, allocations: 242.5 kB / 0.5702 GB, free: 5.27 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.145e-05/0.7185, allocations: 8 kB / 0.5703 GB, free: 5.262 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.509e-05/0.7185, allocations: 4 kB / 0.5703 GB, free: 5.258 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 3.015e-05/0.7185, allocations: 4.25 kB / 0.5703 GB, free: 5.254 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008469/0.7194, allocations: 87.39 kB / 0.5703 GB, free: 5.172 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.854e-05/0.7194, allocations: 4 kB / 0.5703 GB, free: 5.168 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0006785/0.7201, allocations: 54.83 kB / 0.5704 GB, free: 5.117 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 4.823e-05/0.7202, allocations: 15.48 kB / 0.5704 GB, free: 5.105 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 13 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (34): * Single equations (assignments): 34 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001662/0.7204, allocations: 123.6 kB / 0.5705 GB, free: 4.984 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0002182/0.7206, allocations: 23.72 kB / 0.5706 GB, free: 4.961 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001259/0.7208, allocations: 36.03 kB / 0.5706 GB, free: 4.934 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 7.043e-06/0.7208, allocations: 3.938 kB / 0.5706 GB, free: 4.93 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 1.291e-05/0.7208, allocations: 4 kB / 0.5706 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.204e-06/0.7208, allocations: 0 / 0.5706 GB, free: 4.926 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001667/0.7225, allocations: 0.5921 MB / 0.5712 GB, free: 4.332 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.68e-05/0.7226, allocations: 8 kB / 0.5712 GB, free: 4.324 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005163/0.7231, allocations: 39.97 kB / 0.5712 GB, free: 4.285 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.16e-05/0.7231, allocations: 4 kB / 0.5712 GB, free: 4.281 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.885e-05/0.7232, allocations: 7.312 kB / 0.5712 GB, free: 4.277 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.087e-06/0.7232, allocations: 3.984 kB / 0.5712 GB, free: 4.273 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.082e-05/0.7232, allocations: 12.09 kB / 0.5712 GB, free: 4.262 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000801/0.724, allocations: 412.5 kB / 0.5716 GB, free: 3.828 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001651/0.7242, allocations: 112.2 kB / 0.5717 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 7.932e-05/0.7243, allocations: 3.312 kB / 0.5718 GB, free: 3.703 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0006471/0.725, allocations: 23.98 kB / 0.5718 GB, free: 3.68 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001065/0.7251, allocations: 23.06 kB / 0.5718 GB, free: 3.66 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.92e-05/0.7252, allocations: 11.75 kB / 0.5718 GB, free: 3.652 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0005161/0.7257, allocations: 218.9 kB / 0.572 GB, free: 3.48 MB / 378.7 MB Notification: Performance of sort global known variables: time 7.41e-07/0.7257, allocations: 0 / 0.572 GB, free: 3.48 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0009849/0.7267, allocations: 73.56 kB / 0.5721 GB, free: 3.414 MB / 378.7 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 7 * Number of states: 0 () * Number of discrete variables: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (15): * Single equations (assignments): 15 * 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: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.001401/0.7281, allocations: 1.366 MB / 0.5734 GB, free: 2.023 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0006517/0.7288, allocations: 149 kB / 0.5736 GB, free: 1.918 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.697e-06/0.7288, allocations: 4 kB / 0.5736 GB, free: 1.914 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0002962/0.7291, allocations: 54.69 kB / 0.5736 GB, free: 1.875 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005909/0.7298, allocations: 23.55 kB / 0.5736 GB, free: 1.859 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002055/0.7318, allocations: 446.8 kB / 0.5741 GB, free: 1.402 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0006292/0.7325, allocations: 0.7837 MB / 0.5748 GB, free: 0.5938 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000324/0.7328, allocations: 106.9 kB / 0.5749 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of SimCode: time 1.082e-06/0.7328, allocations: 0 / 0.5749 GB, free: 0.5625 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.655/3.388, allocations: 4.497 MB / 0.5793 GB, free: 12.13 MB / 394.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sources_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-05 ModelicaTest_3_2_3_cpp_ModelicaTest_FluxTubes_Sources.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.FluxTubes.Sources_res.mat does not exist to compare? outputFormat=mat