Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.conf.json 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 4.0.0+maint.om/package.mo", uses=false) 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/ModelicaTest 4.0.0+maint.om/package.mo", uses=false) Using package ModelicaTest with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 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) Using package Modelica with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+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) Running command: "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestFiles,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestFiles",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001524/0.001524, allocations: 174.4 kB / 8.74 MB, free: 348 kB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 221.5 MB / 230.7 MB, free: 7.594 MB / 186.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009234/0.0009236, allocations: 86.83 kB / 281.6 MB, free: 5.34 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2117/0.2117, allocations: 44.15 MB / 376.5 MB, free: 3.059 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.726e-05/1.719e-05, allocations: 224 / 444.7 MB, free: 15.16 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1319/0.1319, allocations: 61.92 MB / 0.4948 GB, free: 1.176 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4118/0.5438, allocations: 86.91 MB / 0.5796 GB, free: 9.469 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002146/0.544, allocations: 59.97 kB / 0.5797 GB, free: 9.41 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01692/0.561, allocations: 6.007 MB / 0.5856 GB, free: 3.426 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.561, allocations: 4 kB / 0.5856 GB, free: 3.422 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.312e-06/0.561, allocations: 0.8438 kB / 0.5856 GB, free: 3.422 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: 1 * Number of variables: 1 Notification: Performance of Generate backend data structure: time 0.0003989/0.5614, allocations: 408.2 kB / 0.5859 GB, free: 2.973 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.485e-05/0.5615, allocations: 15.97 kB / 0.586 GB, free: 2.957 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.01e-05/0.5615, allocations: 0 / 0.586 GB, free: 2.957 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000129/0.5616, allocations: 163 kB / 0.5861 GB, free: 2.758 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.135e-05/0.5617, allocations: 4 kB / 0.5861 GB, free: 2.754 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.309e-05/0.5617, allocations: 7.953 kB / 0.5861 GB, free: 2.746 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.035e-05/0.5617, allocations: 0 / 0.5861 GB, free: 2.746 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.891e-05/0.5618, allocations: 33.7 kB / 0.5862 GB, free: 2.707 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 5.831e-06/0.5618, allocations: 3.938 kB / 0.5862 GB, free: 2.703 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.444e-06/0.5618, allocations: 0 / 0.5862 GB, free: 2.703 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.326e-06/0.5618, allocations: 0 / 0.5862 GB, free: 2.703 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001335/0.5619, allocations: 130.2 kB / 0.5863 GB, free: 2.539 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.512e-05/0.562, allocations: 18.61 kB / 0.5863 GB, free: 2.512 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.497e-05/0.562, allocations: 8.797 kB / 0.5863 GB, free: 2.5 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.543e-06/0.562, allocations: 4 kB / 0.5863 GB, free: 2.496 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.311e-05/0.5621, allocations: 64.28 kB / 0.5864 GB, free: 2.418 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.032e-06/0.5621, allocations: 0 / 0.5864 GB, free: 2.418 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001608/0.5622, allocations: 33.69 kB / 0.5864 GB, free: 2.379 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.639e-05/0.5623, allocations: 85.11 kB / 0.5865 GB, free: 2.277 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.896e-05/0.5624, allocations: 85 kB / 0.5866 GB, free: 2.188 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.31e-05/0.5624, allocations: 25.7 kB / 0.5866 GB, free: 2.156 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.337e-05/0.5624, allocations: 84.3 kB / 0.5867 GB, free: 2.07 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.825e-05/0.5625, allocations: 4 kB / 0.5867 GB, free: 2.066 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.144e-06/0.5625, allocations: 0 / 0.5867 GB, free: 2.066 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001096/0.5626, allocations: 310.8 kB / 0.587 GB, free: 1.754 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.034e-06/0.5626, allocations: 0 / 0.587 GB, free: 1.754 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.879e-06/0.5626, allocations: 0 / 0.587 GB, free: 1.754 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.185e-05/0.5627, allocations: 11.98 kB / 0.587 GB, free: 1.742 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.322e-06/0.5627, allocations: 3.938 kB / 0.587 GB, free: 1.738 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.719e-05/0.5627, allocations: 37.7 kB / 0.587 GB, free: 1.695 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.661e-05/0.5628, allocations: 33.7 kB / 0.5871 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.5628, allocations: 0 / 0.5871 GB, free: 1.656 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.241e-05/0.5628, allocations: 3.953 kB / 0.5871 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 2.084e-06/0.5628, allocations: 0 / 0.5871 GB, free: 1.652 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.93e-06/0.5628, allocations: 7.938 kB / 0.5871 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.649e-05/0.5628, allocations: 0 / 0.5871 GB, free: 1.645 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.404e-06/0.5628, allocations: 0 / 0.5871 GB, free: 1.645 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: 1 (result) * Number of discrete 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 9.958e-05/0.563, allocations: 132.6 kB / 0.5872 GB, free: 1.504 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.819e-05/0.563, allocations: 45.69 kB / 0.5872 GB, free: 1.453 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.474e-06/0.563, allocations: 3.953 kB / 0.5872 GB, free: 1.449 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.91e-05/0.5631, allocations: 11.7 kB / 0.5873 GB, free: 1.438 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.202e-06/0.5631, allocations: 7.938 kB / 0.5873 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.367e-06/0.5631, allocations: 0 / 0.5873 GB, free: 1.43 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.418e-06/0.5631, allocations: 3.984 kB / 0.5873 GB, free: 1.426 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 9.165e-05/0.5632, allocations: 122.2 kB / 0.5874 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.5632, allocations: 0 / 0.5874 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.7e-07/0.5632, allocations: 0 / 0.5874 GB, free: 1.27 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.588e-06/0.5632, allocations: 7.984 kB / 0.5874 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.161e-06/0.5632, allocations: 0 / 0.5874 GB, free: 1.262 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.033e-06/0.5632, allocations: 7.984 kB / 0.5874 GB, free: 1.254 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.174e-06/0.5632, allocations: 3.938 kB / 0.5874 GB, free: 1.25 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.66e-05/0.5633, allocations: 65.12 kB / 0.5875 GB, free: 1.168 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 5.043e-05/0.5634, allocations: 77.11 kB / 0.5875 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.231e-05/0.5634, allocations: 0 / 0.5875 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.059e-05/0.5634, allocations: 0 / 0.5875 GB, free: 1.074 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.665e-05/0.5634, allocations: 15.94 kB / 0.5876 GB, free: 1.059 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.775e-06/0.5635, allocations: 4.031 kB / 0.5876 GB, free: 1.055 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.019e-05/0.5635, allocations: 75.28 kB / 0.5876 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.31e-07/0.5635, allocations: 0 / 0.5876 GB, free: 0.9805 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003171/0.5638, allocations: 79.91 kB / 0.5877 GB, free: 0.9023 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: 1 (result) * Number of discrete states: 1 (result) * 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.0009306/0.5648, allocations: 0.831 MB / 0.5885 GB, free: 96 kB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.083e-05/0.5648, allocations: 63.33 kB / 0.5886 GB, free: 20 kB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.773e-06/0.5649, allocations: 0 / 0.5886 GB, free: 20 kB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.41e-05/0.5649, allocations: 63.47 kB / 0.5886 GB, free: 15.95 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.696e-05/0.565, allocations: 3.953 kB / 0.5886 GB, free: 15.94 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003003/0.5653, allocations: 109.7 kB / 0.5887 GB, free: 15.8 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002361/0.5656, allocations: 0.6768 MB / 0.5894 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: alias equations: time 8.676e-06/0.5656, allocations: 3.938 kB / 0.5894 GB, free: 15.09 MB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.339e-05/0.5656, allocations: 11.38 kB / 0.5894 GB, free: 15.08 MB / 410.7 MB Notification: Performance of SimCode: time 2.71e-07/0.5656, allocations: 0 / 0.5894 GB, free: 15.08 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02452/0.5901, allocations: 2.011 MB / 0.5914 GB, free: 13.07 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002597/0.5905, allocations: 153.2 kB / 0.5915 GB, free: 12.88 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.541/2.131, allocations: 0 / 0.5915 GB, free: 12.88 MB / 410.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Utilities_TestFiles_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Utilities_TestFiles.fmu > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestFiles_res.mat does not exist to compare? outputFormat=mat