Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.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.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestInternal",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestInternal,fileNamePrefix="ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestInternal",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.002399/0.002399, allocations: 184.4 kB / 16.4 MB, free: 5.746 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.12/2.12, allocations: 205.4 MB / 222.5 MB, free: 9.117 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.00119/0.00119, allocations: 103.2 kB / 270.9 MB, free: 8.359 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.5154/0.5154, allocations: 43.55 MB / 362.7 MB, free: 52.21 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.000631/0.0006311, allocations: 12 kB / 431.5 MB, free: 6.082 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1286/0.1293, allocations: 58.84 MB / 490.3 MB, free: 11.15 MB / 378.7 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestInternal): time 0.0006673/0.13, allocations: 224.4 kB / 490.5 MB, free: 10.93 MB / 378.7 MB Notification: Performance of NFInst.instExpressions: time 0.0007684/0.1308, allocations: 234.4 kB / 490.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.989e-05/0.1308, allocations: 0 / 490.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFTyping.typeComponents: time 1.046e-05/0.1309, allocations: 0 / 490.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFTyping.typeBindings: time 6.873e-06/0.1309, allocations: 4 kB / 490.7 MB, free: 10.7 MB / 378.7 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002782/0.1312, allocations: 43.77 kB / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFFlatten.flatten: time 2.968e-05/0.1312, allocations: 0 / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFFlatten.resolveConnections: time 4.837e-05/0.1313, allocations: 0 / 490.8 MB, free: 10.66 MB / 378.7 MB Notification: Performance of NFEvalConstants.evaluate: time 2.157e-05/0.1313, allocations: 7.984 kB / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFSimplifyModel.simplify: time 2.196e-05/0.1313, allocations: 0 / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFPackage.collectConstants: time 9.729e-06/0.1314, allocations: 0 / 490.8 MB, free: 10.65 MB / 378.7 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001664/0.1315, allocations: 43.97 kB / 490.8 MB, free: 10.61 MB / 378.7 MB Notification: Performance of NFScalarize.scalarize: time 9.998e-06/0.1316, allocations: 3.984 kB / 490.8 MB, free: 10.6 MB / 378.7 MB Notification: Performance of NFVerifyModel.verify: time 2.74e-05/0.1316, allocations: 25.7 kB / 490.9 MB, free: 10.57 MB / 378.7 MB Notification: Performance of NFConvertDAE.convert: time 0.0001188/0.1317, allocations: 35.89 kB / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 2.525e-06/0.1317, allocations: 0 / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.244e-06/0.1318, allocations: 0 / 490.9 MB, free: 10.54 MB / 378.7 MB Notification: Performance of Transformations before backend: time 3.968e-06/0.1318, allocations: 0 / 490.9 MB, free: 10.54 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003512/0.1321, allocations: 357.1 kB / 491.3 MB, free: 10.13 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.799e-05/0.1322, allocations: 8.031 kB / 491.3 MB, free: 10.12 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.474e-05/0.1322, allocations: 38.56 kB / 491.3 MB, free: 10.08 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.86e-05/0.1323, allocations: 7.859 kB / 491.3 MB, free: 10.07 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001126/0.1324, allocations: 159.1 kB / 491.5 MB, free: 9.875 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.423e-05/0.1324, allocations: 3.984 kB / 491.5 MB, free: 9.871 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.176e-05/0.1324, allocations: 0 / 491.5 MB, free: 9.871 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.469e-05/0.1325, allocations: 33.64 kB / 491.5 MB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.076e-06/0.1326, allocations: 0 / 491.5 MB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.884e-06/0.1326, allocations: 0 / 491.5 MB, free: 9.832 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.509e-06/0.1326, allocations: 4 kB / 491.5 MB, free: 9.828 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.81e-05/0.1326, allocations: 0 / 491.5 MB, free: 9.828 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000146/0.1328, allocations: 149.6 kB / 491.7 MB, free: 9.633 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.79e-05/0.1328, allocations: 22.56 kB / 491.7 MB, free: 9.602 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.512e-05/0.1329, allocations: 0 / 491.7 MB, free: 9.602 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.808e-05/0.1329, allocations: 68.23 kB / 491.7 MB, free: 9.52 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 3.947e-06/0.1329, allocations: 3.984 kB / 491.7 MB, free: 9.516 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001729/0.1331, allocations: 63.41 kB / 491.8 MB, free: 9.441 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.309e-05/0.1332, allocations: 77.11 kB / 491.9 MB, free: 9.348 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.848e-05/0.1332, allocations: 93.84 kB / 492 MB, free: 9.246 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.188e-05/0.1333, allocations: 29.7 kB / 492 MB, free: 9.211 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 5.601e-05/0.1333, allocations: 150.6 kB / 492.1 MB, free: 9.062 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.51e-05/0.1334, allocations: 0 / 492.1 MB, free: 9.062 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.605e-06/0.1334, allocations: 0 / 492.1 MB, free: 9.062 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001279/0.1335, allocations: 318.8 kB / 492.5 MB, free: 8.742 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.093e-05/0.1335, allocations: 4.125 kB / 492.5 MB, free: 8.738 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.304e-06/0.1336, allocations: 0 / 492.5 MB, free: 8.738 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.155e-05/0.1336, allocations: 29.64 kB / 492.5 MB, free: 8.703 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.488e-06/0.1336, allocations: 4 kB / 492.5 MB, free: 8.699 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.04e-05/0.1337, allocations: 63.33 kB / 492.6 MB, free: 8.625 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 4.089e-05/0.1338, allocations: 37.7 kB / 492.6 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.1338, allocations: 0 / 492.6 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.237e-05/0.1338, allocations: 0 / 492.6 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.363e-06/0.1338, allocations: 0 / 492.6 MB, free: 8.582 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.1338, allocations: 4.094 kB / 492.6 MB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.81e-05/0.1339, allocations: 0 / 492.6 MB, free: 8.578 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.995e-06/0.1339, allocations: 0 / 492.6 MB, free: 8.578 MB / 378.7 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * Number of states: 0 () * Number of discrete variables: 1 (result) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.0001025/0.134, allocations: 143.5 kB / 492.7 MB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.518e-06/0.134, allocations: 0 / 492.7 MB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.144e-05/0.134, allocations: 7.109 kB / 492.7 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.344e-06/0.134, allocations: 0 / 492.7 MB, free: 8.414 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.394e-06/0.1341, allocations: 4 kB / 492.8 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.626e-06/0.1341, allocations: 0 / 492.8 MB, free: 8.41 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001176/0.1342, allocations: 149.6 kB / 492.9 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.512e-06/0.1342, allocations: 0 / 492.9 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.102e-06/0.1342, allocations: 0 / 492.9 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.355e-06/0.1342, allocations: 0 / 492.9 MB, free: 8.215 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.425e-05/0.1342, allocations: 8 kB / 492.9 MB, free: 8.207 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.763e-06/0.1343, allocations: 3.984 kB / 492.9 MB, free: 8.203 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.303e-06/0.1343, allocations: 3.938 kB / 492.9 MB, free: 8.199 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001335/0.1344, allocations: 82.84 kB / 493 MB, free: 8.094 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.031e-05/0.1345, allocations: 97.02 kB / 493.1 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.579e-05/0.1345, allocations: 0 / 493.1 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.343e-05/0.1345, allocations: 0 / 493.1 MB, free: 7.98 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.282e-05/0.1346, allocations: 4 kB / 493.1 MB, free: 7.977 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 7.655e-06/0.1346, allocations: 4 kB / 493.1 MB, free: 7.973 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.584e-05/0.1346, allocations: 75.28 kB / 493.2 MB, free: 7.898 MB / 378.7 MB Notification: Performance of sort global known variables: time 3.51e-07/0.1346, allocations: 0 / 493.2 MB, free: 7.898 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003063/0.1349, allocations: 16 kB / 493.2 MB, free: 7.883 MB / 378.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: 1 (result) * Number of discrete states: 1 (result) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (1): * Single equations (assignments): 0 * Array equations: 0 * Algorithm blocks: 1 * 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.001002/0.136, allocations: 0.8071 MB / 494 MB, free: 7.078 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001079/0.1361, allocations: 59.39 kB / 494.1 MB, free: 7.008 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 2.544e-06/0.1361, allocations: 4.062 kB / 494.1 MB, free: 7.004 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 4.387e-05/0.1362, allocations: 59.39 kB / 494.1 MB, free: 6.934 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.997e-05/0.1363, allocations: 3.938 kB / 494.1 MB, free: 6.93 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003543/0.1366, allocations: 154 kB / 494.3 MB, free: 6.73 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002701/0.1369, allocations: 0.6731 MB / 494.9 MB, free: 6.031 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.604e-05/0.137, allocations: 7.438 kB / 494.9 MB, free: 6.023 MB / 378.7 MB Notification: Performance of SimCode: time 4.158e-06/0.137, allocations: 0 / 494.9 MB, free: 6.023 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate C++ for platform static: time 2.57/2.707, allocations: 1.129 MB / 496.1 MB, free: 4.895 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe ; mkfifo ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe ; head -c 1048576 < ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe >> ../files/ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal_res.mat --tempDir=temp_ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestInternal_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_cpp_ModelicaTest_Utilities_TestInternal.fmu > ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_cpp_ModelicaTest.Utilities.TestInternal_res.mat does not exist to compare? outputFormat=mat