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.001952/0.001952, allocations: 188.8 kB / 16.4 MB, free: 5.625 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.076/2.076, allocations: 205.4 MB / 222.5 MB, free: 13.85 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.001229/0.001228, allocations: 102.8 kB / 270.9 MB, free: 13.38 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.3025/0.3025, allocations: 43.55 MB / 362.7 MB, free: 11.32 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004888/0.0004889, allocations: 15.98 kB / 431.5 MB, free: 20.18 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1235/0.124, allocations: 58.86 MB / 490.3 MB, free: 9.246 MB / 330.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.FluxTubes.Sources): time 0.003807/0.1279, allocations: 2.086 MB / 492.4 MB, free: 7.141 MB / 330.7 MB Notification: Performance of NFInst.instExpressions: time 0.001808/0.1298, allocations: 0.757 MB / 493.2 MB, free: 6.375 MB / 330.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002155/0.13, allocations: 4 kB / 493.2 MB, free: 6.371 MB / 330.7 MB Notification: Performance of NFTyping.typeComponents: time 0.0002594/0.1303, allocations: 47.62 kB / 493.2 MB, free: 6.324 MB / 330.7 MB Notification: Performance of NFTyping.typeBindings: time 0.0003134/0.1306, allocations: 95.73 kB / 493.3 MB, free: 6.23 MB / 330.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003661/0.131, allocations: 95.81 kB / 493.4 MB, free: 6.137 MB / 330.7 MB Notification: Performance of NFFlatten.flatten: time 0.0004577/0.1315, allocations: 251.5 kB / 493.6 MB, free: 5.891 MB / 330.7 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002873/0.1318, allocations: 119.5 kB / 493.8 MB, free: 5.773 MB / 330.7 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002893/0.1321, allocations: 131.5 kB / 493.9 MB, free: 5.645 MB / 330.7 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002392/0.1323, allocations: 139.3 kB / 494 MB, free: 5.508 MB / 330.7 MB Notification: Performance of NFPackage.collectConstants: time 5.402e-05/0.1324, allocations: 16 kB / 494 MB, free: 5.492 MB / 330.7 MB Notification: Performance of NFFlatten.collectFunctions: time 7.239e-05/0.1325, allocations: 20 kB / 494.1 MB, free: 5.473 MB / 330.7 MB Notification: Performance of NFScalarize.scalarize: time 8.117e-05/0.1326, allocations: 55.77 kB / 494.1 MB, free: 5.418 MB / 330.7 MB Notification: Performance of NFVerifyModel.verify: time 9.847e-05/0.1327, allocations: 89.52 kB / 494.2 MB, free: 5.324 MB / 330.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0004345/0.1331, allocations: 311 kB / 494.5 MB, free: 5.02 MB / 330.7 MB Notification: Performance of FrontEnd - DAE generated: time 6.963e-06/0.1331, allocations: 0 / 494.5 MB, free: 5.02 MB / 330.7 MB Notification: Performance of FrontEnd: time 2.064e-06/0.1332, allocations: 7.938 kB / 494.5 MB, free: 5.012 MB / 330.7 MB Notification: Performance of Transformations before backend: time 6.563e-06/0.1332, allocations: 0 / 494.5 MB, free: 5.012 MB / 330.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.001531/0.1347, allocations: 0.616 MB / 495.1 MB, free: 4.348 MB / 330.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.436e-05/0.1348, allocations: 8.031 kB / 495.1 MB, free: 4.34 MB / 330.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 0.0001174/0.1349, allocations: 70.53 kB / 495.2 MB, free: 4.262 MB / 330.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.883e-05/0.135, allocations: 43.48 kB / 495.2 MB, free: 4.219 MB / 330.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004185/0.1355, allocations: 263.3 kB / 495.5 MB, free: 3.918 MB / 330.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 3.954e-05/0.1355, allocations: 32.98 kB / 495.5 MB, free: 3.887 MB / 330.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.119e-05/0.1356, allocations: 32 kB / 495.6 MB, free: 3.855 MB / 330.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.001089/0.1367, allocations: 362.7 kB / 495.9 MB, free: 3.48 MB / 330.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 2.127e-05/0.1367, allocations: 3.938 kB / 495.9 MB, free: 3.477 MB / 330.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 4.554e-05/0.1368, allocations: 12 kB / 495.9 MB, free: 3.465 MB / 330.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.776e-05/0.1368, allocations: 11.95 kB / 496 MB, free: 3.453 MB / 330.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.001107/0.1379, allocations: 288.9 kB / 496.2 MB, free: 3.172 MB / 330.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.003245/0.1412, allocations: 1.359 MB / 497.6 MB, free: 1.719 MB / 330.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0007864/0.142, allocations: 214.5 kB / 497.8 MB, free: 1.473 MB / 330.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.083e-05/0.1421, allocations: 7.984 kB / 497.8 MB, free: 1.465 MB / 330.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.465e-05/0.1422, allocations: 38.56 kB / 497.8 MB, free: 1.418 MB / 330.7 MB Notification: Performance of pre-optimization done (n=15): time 2.886e-06/0.1422, allocations: 3.938 kB / 497.9 MB, free: 1.414 MB / 330.7 MB Notification: Performance of matching and sorting (n=15): time 0.001327/0.1435, allocations: 277.3 kB / 498.1 MB, free: 1.137 MB / 330.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.836e-05/0.1436, allocations: 136.5 kB / 498.3 MB, free: 0.9727 MB / 330.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0005256/0.1442, allocations: 320.5 kB / 498.6 MB, free: 0.6523 MB / 330.7 MB Notification: Performance of collectPreVariables (initialization): time 3.28e-05/0.1442, allocations: 37.64 kB / 498.6 MB, free: 0.6094 MB / 330.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0002128/0.1444, allocations: 282 kB / 498.9 MB, free: 336 kB / 330.7 MB Notification: Performance of collectInitialBindings (initialization): time 6.449e-05/0.1445, allocations: 51.3 kB / 498.9 MB, free: 284 kB / 330.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.051e-05/0.1446, allocations: 8 kB / 498.9 MB, free: 276 kB / 330.7 MB Notification: Performance of setup shared object (initialization): time 0.000157/0.1447, allocations: 322.8 kB / 499.3 MB, free: 15.95 MB / 346.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0004149/0.1452, allocations: 92.5 kB / 499.3 MB, free: 15.86 MB / 346.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0004934/0.1457, allocations: 180.2 kB / 499.5 MB, free: 15.64 MB / 346.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0005241/0.1462, allocations: 116.1 kB / 499.6 MB, free: 15.53 MB / 346.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.719e-06/0.1462, allocations: 4 kB / 499.6 MB, free: 15.52 MB / 346.7 MB Notification: Performance of matching and sorting (n=34) (initialization): time 0.001133/0.1474, allocations: 305.2 kB / 499.9 MB, free: 15.22 MB / 346.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.479e-05/0.1474, allocations: 4 kB / 499.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 1.223e-05/0.1474, allocations: 4 kB / 499.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.197e-05/0.1475, allocations: 4 kB / 499.9 MB, free: 15.21 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0008073/0.1483, allocations: 112 kB / 0.4883 GB, free: 15.1 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.73e-05/0.1483, allocations: 7.938 kB / 0.4883 GB, free: 15.09 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004931/0.1488, allocations: 47.66 kB / 0.4884 GB, free: 15.04 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.369e-05/0.1489, allocations: 12 kB / 0.4884 GB, free: 15.03 MB / 346.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 () * Number of clocked 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.0002288/0.1491, allocations: 157.7 kB / 0.4886 GB, free: 14.87 MB / 346.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001344/0.1493, allocations: 35.62 kB / 0.4886 GB, free: 14.83 MB / 346.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 9.183e-05/0.1494, allocations: 30.41 kB / 0.4886 GB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 8.396e-06/0.1494, allocations: 4 kB / 0.4886 GB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.743e-06/0.1494, allocations: 0 / 0.4886 GB, free: 14.8 MB / 346.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 1.075e-05/0.1494, allocations: 3.984 kB / 0.4886 GB, free: 14.79 MB / 346.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001225/0.1506, allocations: 0.5953 MB / 0.4892 GB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.033e-06/0.1507, allocations: 4 kB / 0.4892 GB, free: 14.12 MB / 346.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0005446/0.1512, allocations: 72.05 kB / 0.4893 GB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.697e-06/0.1513, allocations: 4 kB / 0.4893 GB, free: 14.05 MB / 346.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.537e-05/0.1513, allocations: 8.547 kB / 0.4893 GB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 5.711e-06/0.1513, allocations: 0 / 0.4893 GB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.316e-06/0.1513, allocations: 4 kB / 0.4893 GB, free: 14.04 MB / 346.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001017/0.1524, allocations: 491.8 kB / 0.4898 GB, free: 13.49 MB / 346.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001315/0.1525, allocations: 116.7 kB / 0.4899 GB, free: 13.36 MB / 346.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.457e-05/0.1526, allocations: 4 kB / 0.4899 GB, free: 13.35 MB / 346.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0003944/0.153, allocations: 23.97 kB / 0.4899 GB, free: 13.33 MB / 346.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.931e-05/0.1531, allocations: 15.94 kB / 0.4899 GB, free: 13.31 MB / 346.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.056e-05/0.1531, allocations: 8 kB / 0.4899 GB, free: 13.3 MB / 346.7 MB Notification: Performance of sorting global known variables: time 0.0003699/0.1535, allocations: 223.1 kB / 0.4901 GB, free: 13.09 MB / 346.7 MB Notification: Performance of sort global known variables: time 4.41e-07/0.1535, allocations: 4 kB / 0.4901 GB, free: 13.09 MB / 346.7 MB Notification: Performance of remove unused functions: time 0.000625/0.1541, allocations: 79.69 kB / 0.4902 GB, free: 13.01 MB / 346.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 () * Number of clocked 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.001515/0.1557, allocations: 1.419 MB / 0.4916 GB, free: 11.52 MB / 346.7 MB Notification: Performance of simCode: created initialization part: time 0.0009626/0.1567, allocations: 208.1 kB / 0.4918 GB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created event and clocks part: time 6.693e-06/0.1567, allocations: 0 / 0.4918 GB, free: 11.32 MB / 346.7 MB Notification: Performance of simCode: created simulation system equations: time 0.0004308/0.1571, allocations: 96.25 kB / 0.4919 GB, free: 11.22 MB / 346.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004561/0.1576, allocations: 28.05 kB / 0.4919 GB, free: 11.2 MB / 346.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005275/0.1629, allocations: 3.571 MB / 0.4954 GB, free: 7.504 MB / 346.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004443/0.1634, allocations: 0.783 MB / 0.4962 GB, free: 6.695 MB / 346.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002623/0.1637, allocations: 103.4 kB / 0.4963 GB, free: 6.594 MB / 346.7 MB Notification: Performance of SimCode: time 1.012e-06/0.1637, allocations: 0 / 0.4963 GB, free: 6.594 MB / 346.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.47/2.634, allocations: 4.458 MB / 0.5006 GB, free: 2.129 MB / 346.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