Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+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/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 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 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestExamplesCalculator,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0007813/0.0007814, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.000946/0.0009462, allocations: 175.8 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.503/1.503, allocations: 205.4 MB / 222.7 MB, free: 5.648 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4301/0.4301, allocations: 43.55 MB / 314.6 MB, free: 8.992 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005824/0.0005825, allocations: 12.22 kB / 384 MB, free: 8.172 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1388/0.1394, allocations: 58.87 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Utilities.TestExamplesCalculator): time 0.0006503/0.1401, allocations: 216.5 kB / 443.1 MB, free: 12.99 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.003113/0.1432, allocations: 1.939 MB / 445 MB, free: 11.04 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 1.758e-05/0.1433, allocations: 4 kB / 445 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 1.179e-05/0.1433, allocations: 0 / 445 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 2.345e-05/0.1433, allocations: 0 / 445 MB, free: 11.03 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001263/0.1446, allocations: 275.3 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 3.623e-05/0.1446, allocations: 4 kB / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.393e-05/0.1447, allocations: 0 / 445.3 MB, free: 10.76 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 2.293e-05/0.1447, allocations: 3.984 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.003969/0.1487, allocations: 2.427 MB / 447.7 MB, free: 8.324 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.455e-05/0.1487, allocations: 0 / 447.7 MB, free: 8.324 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.307e-05/0.1488, allocations: 7.938 kB / 447.7 MB, free: 8.316 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 1.201e-05/0.1488, allocations: 3.984 kB / 447.7 MB, free: 8.312 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.222e-05/0.1489, allocations: 37.58 kB / 447.8 MB, free: 8.27 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 6.688e-05/0.149, allocations: 3.984 kB / 447.8 MB, free: 8.266 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.634e-06/0.149, allocations: 0 / 447.8 MB, free: 8.266 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.356e-06/0.149, allocations: 4 kB / 447.8 MB, free: 8.262 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.817e-06/0.149, allocations: 0 / 447.8 MB, free: 8.262 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.0002925/0.1493, allocations: 315.3 kB / 448.1 MB, free: 7.906 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.854e-05/0.1494, allocations: 16.09 kB / 448.1 MB, free: 7.891 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 7.286e-05/0.1494, allocations: 109.8 kB / 448.2 MB, free: 7.773 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002189/0.1497, allocations: 79.28 kB / 448.3 MB, free: 7.695 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001554/0.1498, allocations: 238.3 kB / 448.5 MB, free: 7.422 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 5.612e-05/0.1499, allocations: 154.5 kB / 448.7 MB, free: 7.27 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.044e-05/0.1499, allocations: 154.6 kB / 448.8 MB, free: 7.117 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.325e-05/0.15, allocations: 105 kB / 448.9 MB, free: 7.008 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.109e-05/0.1501, allocations: 75.28 kB / 449 MB, free: 6.934 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.122e-05/0.1501, allocations: 158.5 kB / 449.2 MB, free: 6.777 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.091e-05/0.1502, allocations: 150.6 kB / 449.3 MB, free: 6.629 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.903e-05/0.1503, allocations: 150.6 kB / 449.5 MB, free: 6.48 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00031/0.1506, allocations: 446 kB / 449.9 MB, free: 5.996 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.751e-05/0.1507, allocations: 169.1 kB / 450.1 MB, free: 5.82 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.398e-05/0.1507, allocations: 88.03 kB / 450.1 MB, free: 5.73 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.248e-05/0.1508, allocations: 79.27 kB / 450.2 MB, free: 5.652 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 6.109e-05/0.1508, allocations: 109.8 kB / 450.3 MB, free: 5.535 MB / 382.1 MB Notification: Performance of pre-optimization done (n=0): time 9.72e-07/0.1508, allocations: 4 kB / 450.3 MB, free: 5.531 MB / 382.1 MB Notification: Performance of matching and sorting (n=0): time 8.635e-05/0.1509, allocations: 25.7 kB / 450.4 MB, free: 5.5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 9.885e-05/0.151, allocations: 178.1 kB / 450.5 MB, free: 5.301 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000105/0.1511, allocations: 93.86 kB / 450.6 MB, free: 5.199 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.654e-05/0.1512, allocations: 29.7 kB / 450.7 MB, free: 5.164 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001123/0.1513, allocations: 80.14 kB / 450.7 MB, free: 5.082 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.214e-06/0.1513, allocations: 128 / 450.7 MB, free: 5.082 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.1e-07/0.1513, allocations: 4 kB / 450.7 MB, free: 5.078 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001959/0.1515, allocations: 310.8 kB / 451 MB, free: 4.766 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.434e-06/0.1515, allocations: 0 / 451 MB, free: 4.766 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.78e-05/0.1516, allocations: 21.64 kB / 451.1 MB, free: 4.738 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.108e-05/0.1516, allocations: 75.28 kB / 451.1 MB, free: 4.664 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.13e-05/0.1517, allocations: 79.22 kB / 451.2 MB, free: 4.586 MB / 382.1 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.986e-05/0.1518, allocations: 33.66 kB / 451.2 MB, free: 4.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.045e-05/0.1518, allocations: 83.31 kB / 451.3 MB, free: 4.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.412e-05/0.1519, allocations: 79.22 kB / 451.4 MB, free: 4.387 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.021e-05/0.152, allocations: 154.6 kB / 451.6 MB, free: 4.234 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.781e-05/0.152, allocations: 83.28 kB / 451.6 MB, free: 4.152 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.859e-05/0.1521, allocations: 158.4 kB / 451.8 MB, free: 3.996 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001143/0.1522, allocations: 79.27 kB / 451.9 MB, free: 3.918 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 3.007e-05/0.1522, allocations: 87.22 kB / 452 MB, free: 3.832 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 1 * 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 (0): * Single equations (assignments): 0 * 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.0001376/0.1524, allocations: 264.4 kB / 452.2 MB, free: 3.562 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.659e-05/0.1525, allocations: 104.9 kB / 452.3 MB, free: 3.453 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.108e-05/0.1525, allocations: 108.1 kB / 452.4 MB, free: 3.34 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 0.0001135/0.1526, allocations: 188.2 kB / 452.6 MB, free: 3.148 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.023e-05/0.1527, allocations: 180.3 kB / 452.8 MB, free: 2.965 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 0.0001297/0.1529, allocations: 184.2 kB / 453 MB, free: 2.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00027/0.1531, allocations: 401.2 kB / 453.4 MB, free: 2.328 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.872e-05/0.1532, allocations: 101 kB / 453.4 MB, free: 2.223 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.821e-05/0.1532, allocations: 104.9 kB / 453.6 MB, free: 2.113 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.686e-05/0.1533, allocations: 180.3 kB / 453.7 MB, free: 1.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.851e-05/0.1534, allocations: 188.2 kB / 453.9 MB, free: 1.738 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 6.645e-05/0.1535, allocations: 176.3 kB / 454.1 MB, free: 1.559 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.013e-05/0.1535, allocations: 192.2 kB / 454.3 MB, free: 1.363 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001618/0.1537, allocations: 299.8 kB / 454.6 MB, free: 1.047 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.338e-05/0.1538, allocations: 194 kB / 454.8 MB, free: 0.832 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 9.049e-05/0.1539, allocations: 180.2 kB / 454.9 MB, free: 0.6484 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001093/0.154, allocations: 109.3 kB / 455 MB, free: 0.5352 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.425e-05/0.1541, allocations: 180.3 kB / 455.2 MB, free: 360 kB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.77e-05/0.1542, allocations: 101 kB / 455.3 MB, free: 252 kB / 382.1 MB Notification: Performance of sorting global known variables: time 4.51e-05/0.1542, allocations: 79.28 kB / 455.4 MB, free: 172 kB / 382.1 MB Notification: Performance of sort global known variables: time 2.01e-07/0.1542, allocations: 0 / 455.4 MB, free: 172 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002813/0.1545, allocations: 4 kB / 455.4 MB, free: 168 kB / 382.1 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 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (0): * Single equations (assignments): 0 * 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.2594/0.4139, allocations: 0.8013 MB / 456.2 MB, free: 47.38 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 5.558e-05/0.414, allocations: 2.938 kB / 456.2 MB, free: 47.38 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.577e-06/0.414, allocations: 1.812 kB / 456.2 MB, free: 47.38 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 2.805e-06/0.414, allocations: 1.688 kB / 456.2 MB, free: 47.38 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003383/0.4144, allocations: 0.5247 MB / 456.7 MB, free: 46.86 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003666/0.4148, allocations: 175.1 kB / 456.9 MB, free: 46.66 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001079/0.4149, allocations: 0.6754 MB / 457.6 MB, free: 45.96 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 2.092e-05/0.4149, allocations: 0 / 457.6 MB, free: 45.96 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.997e-06/0.4149, allocations: 7.438 kB / 457.6 MB, free: 45.96 MB / 382.1 MB Notification: Performance of SimCode: time 1.102e-06/0.4149, allocations: 0 / 457.6 MB, free: 45.96 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01181/0.4267, allocations: 0.8204 MB / 458.4 MB, free: 45.8 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001479/0.4269, allocations: 189.3 kB / 458.6 MB, free: 45.55 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.645/2.071, allocations: 0 / 458.6 MB, free: 45.55 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestExamplesCalculator.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestExamplesCalculator_res.mat does not exist to compare? outputFormat=mat