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/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.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/Complex 3.2.3+maint.om/package.mo): time 0.00109/0.00109, allocations: 185.7 kB / 13.19 MB, free: 2.121 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.633/1.633, allocations: 205.2 MB / 218.9 MB, free: 9.211 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.0009142/0.0009138, allocations: 94.58 kB / 267.1 MB, free: 9.273 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.4355/0.4355, allocations: 43.47 MB / 358.6 MB, free: 52.31 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.393e-05/4.405e-05, allocations: 8 kB / 425.4 MB, free: 8.809 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.143/0.1431, allocations: 58.84 MB / 484.2 MB, free: 13.86 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4506/0.5937, allocations: 87.27 MB / 0.5581 GB, free: 1.68 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001764/0.594, allocations: 68.77 kB / 0.5582 GB, free: 1.613 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01878/0.6127, allocations: 7.038 MB / 0.565 GB, free: 10.61 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.893e-06/0.6128, allocations: 0 / 0.565 GB, free: 10.61 MB / 394.7 MB Notification: Performance of Transformations before backend: time 7.203e-06/0.6128, allocations: 0 / 0.565 GB, free: 10.61 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: 0 * Number of variables: 0 Notification: Performance of Generate backend data structure: time 0.000535/0.6134, allocations: 422.3 kB / 0.5655 GB, free: 10.16 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.551e-05/0.6134, allocations: 8.031 kB / 0.5655 GB, free: 10.15 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.867e-05/0.6135, allocations: 106.7 kB / 0.5656 GB, free: 10.04 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.0002242/0.6137, allocations: 94.7 kB / 0.5657 GB, free: 9.945 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001638/0.6139, allocations: 234.4 kB / 0.5659 GB, free: 9.676 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 7.092e-05/0.614, allocations: 154.5 kB / 0.566 GB, free: 9.523 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 5.723e-05/0.614, allocations: 154.6 kB / 0.5662 GB, free: 9.371 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.441e-05/0.6141, allocations: 101 kB / 0.5663 GB, free: 9.266 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 3.812e-05/0.6142, allocations: 79.28 kB / 0.5663 GB, free: 9.188 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.608e-05/0.6143, allocations: 150.6 kB / 0.5665 GB, free: 9.039 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.808e-05/0.6143, allocations: 151.9 kB / 0.5666 GB, free: 8.891 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.576e-05/0.6144, allocations: 154.6 kB / 0.5668 GB, free: 8.738 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003823/0.6148, allocations: 457.1 kB / 0.5672 GB, free: 8.246 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001033/0.6149, allocations: 169.2 kB / 0.5674 GB, free: 8.07 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.334e-05/0.615, allocations: 88.14 kB / 0.5675 GB, free: 7.98 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 4.588e-05/0.615, allocations: 75.28 kB / 0.5675 GB, free: 7.906 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.69e-05/0.6151, allocations: 105.8 kB / 0.5676 GB, free: 7.793 MB / 394.7 MB Notification: Performance of pre-optimization done (n=0): time 3.045e-06/0.6151, allocations: 3.984 kB / 0.5676 GB, free: 7.789 MB / 394.7 MB Notification: Performance of matching and sorting (n=0): time 8.845e-05/0.6152, allocations: 37.64 kB / 0.5677 GB, free: 7.746 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 0.0001137/0.6153, allocations: 178.1 kB / 0.5678 GB, free: 7.547 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001021/0.6154, allocations: 88.98 kB / 0.5679 GB, free: 7.453 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 3.41e-05/0.6155, allocations: 29.7 kB / 0.568 GB, free: 7.418 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.43e-05/0.6155, allocations: 84.14 kB / 0.568 GB, free: 7.332 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.014e-06/0.6155, allocations: 0 / 0.568 GB, free: 7.332 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.4e-07/0.6155, allocations: 0 / 0.568 GB, free: 7.332 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001467/0.6157, allocations: 311 kB / 0.5683 GB, free: 7.02 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.168e-06/0.6157, allocations: 4 kB / 0.5683 GB, free: 7.016 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.16e-05/0.6157, allocations: 13.72 kB / 0.5683 GB, free: 6.996 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.721e-05/0.6158, allocations: 83.17 kB / 0.5684 GB, free: 6.914 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.572e-05/0.6158, allocations: 75.28 kB / 0.5685 GB, free: 6.84 MB / 394.7 MB Notification: Performance of matching and sorting (n=0) (initialization): time 5.844e-05/0.6159, allocations: 33.64 kB / 0.5685 GB, free: 6.801 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.991e-05/0.6159, allocations: 79.28 kB / 0.5686 GB, free: 6.723 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.479e-05/0.616, allocations: 83.3 kB / 0.5687 GB, free: 6.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 6.349e-05/0.6161, allocations: 154.5 kB / 0.5688 GB, free: 6.488 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 3.848e-05/0.6161, allocations: 83.28 kB / 0.5689 GB, free: 6.406 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.662e-05/0.6161, allocations: 151.3 kB / 0.5691 GB, free: 6.258 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001222/0.6163, allocations: 85.56 kB / 0.5691 GB, free: 6.176 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.611e-05/0.6163, allocations: 75.28 kB / 0.5692 GB, free: 6.102 MB / 394.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: 0 () * Number of discrete 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.000129/0.6164, allocations: 260.7 kB / 0.5695 GB, free: 5.84 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.066e-05/0.6165, allocations: 112.9 kB / 0.5696 GB, free: 5.723 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.867e-05/0.6166, allocations: 108.1 kB / 0.5697 GB, free: 5.613 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 6.846e-05/0.6167, allocations: 176.3 kB / 0.5698 GB, free: 5.434 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.936e-05/0.6167, allocations: 184.2 kB / 0.57 GB, free: 5.246 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.94e-05/0.6168, allocations: 180.3 kB / 0.5702 GB, free: 5.062 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003156/0.6171, allocations: 406.4 kB / 0.5706 GB, free: 4.609 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.89e-05/0.6172, allocations: 112.9 kB / 0.5707 GB, free: 4.492 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.866e-05/0.6173, allocations: 101 kB / 0.5708 GB, free: 4.387 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 8.681e-05/0.6174, allocations: 184.2 kB / 0.571 GB, free: 4.199 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.24e-05/0.6175, allocations: 176.3 kB / 0.5711 GB, free: 4.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.159e-05/0.6176, allocations: 188.2 kB / 0.5713 GB, free: 3.828 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.745e-05/0.6176, allocations: 176.3 kB / 0.5715 GB, free: 3.648 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001783/0.6178, allocations: 308.5 kB / 0.5718 GB, free: 3.324 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 8.205e-05/0.6179, allocations: 182.4 kB / 0.5719 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 0.0001094/0.618, allocations: 184.2 kB / 0.5721 GB, free: 2.934 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001349/0.6182, allocations: 109 kB / 0.5722 GB, free: 2.82 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.857e-05/0.6183, allocations: 193.1 kB / 0.5724 GB, free: 2.625 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.997e-05/0.6183, allocations: 101 kB / 0.5725 GB, free: 2.52 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.575e-05/0.6184, allocations: 75.28 kB / 0.5726 GB, free: 2.445 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.51e-07/0.6184, allocations: 0 / 0.5726 GB, free: 2.445 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0007544/0.6191, allocations: 143.9 kB / 0.5727 GB, free: 2.305 MB / 394.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 (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.001426/0.6206, allocations: 1.141 MB / 0.5738 GB, free: 1.199 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 4.884e-05/0.6206, allocations: 0 / 0.5738 GB, free: 1.199 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.094e-06/0.6206, allocations: 0 / 0.5738 GB, free: 1.199 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 1.753e-06/0.6206, allocations: 0 / 0.5738 GB, free: 1.199 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004099/0.6211, allocations: 0.5302 MB / 0.5743 GB, free: 0.6641 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005471/0.6216, allocations: 217.8 kB / 0.5745 GB, free: 424 kB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003127/0.6219, allocations: 0.6731 MB / 0.5752 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 2.037e-05/0.622, allocations: 0 / 0.5752 GB, free: 15.71 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.929e-05/0.622, allocations: 11.44 kB / 0.5752 GB, free: 15.7 MB / 410.7 MB Notification: Performance of SimCode: time 2.31e-07/0.622, allocations: 0 / 0.5752 GB, free: 15.7 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01618/0.6382, allocations: 3.366 MB / 0.5785 GB, free: 12.38 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001966/0.6384, allocations: 198.5 kB / 0.5787 GB, free: 12.15 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.694/2.333, allocations: 64 / 0.5787 GB, free: 12.15 MB / 410.7 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) 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