Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.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.TestReadFile,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Utilities_TestReadFile",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.001628/0.001628, allocations: 170.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.567/1.567, allocations: 221.5 MB / 230.7 MB, free: 7.52 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.001078/0.001078, allocations: 97.41 kB / 281.6 MB, free: 5.266 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.2046/0.2046, allocations: 44.16 MB / 376.5 MB, free: 3.031 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.765e-05/1.768e-05, allocations: 3.938 kB / 444.7 MB, free: 15.15 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1496/0.1496, allocations: 61.92 MB / 0.4948 GB, free: 1.164 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4312/0.5808, allocations: 84.94 MB / 0.5777 GB, free: 11.41 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002058/0.5811, allocations: 59.97 kB / 0.5778 GB, free: 11.35 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.004508/0.5856, allocations: 1.629 MB / 0.5794 GB, free: 9.73 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.034e-06/0.5856, allocations: 1.094 kB / 0.5794 GB, free: 9.73 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.412e-06/0.5857, allocations: 0 / 0.5794 GB, free: 9.73 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.0002943/0.586, allocations: 356.2 kB / 0.5797 GB, free: 9.332 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.551e-05/0.586, allocations: 12.83 kB / 0.5797 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.162e-05/0.586, allocations: 3.938 kB / 0.5797 GB, free: 9.32 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000123/0.5862, allocations: 163.1 kB / 0.5799 GB, free: 9.121 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.384e-05/0.5862, allocations: 4 kB / 0.5799 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.714e-06/0.5862, allocations: 0 / 0.5799 GB, free: 9.117 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.22e-05/0.5863, allocations: 3.953 kB / 0.5799 GB, free: 9.113 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 5.554e-05/0.5863, allocations: 33.7 kB / 0.5799 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.554e-06/0.5863, allocations: 0 / 0.5799 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.358e-06/0.5864, allocations: 0 / 0.5799 GB, free: 9.074 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.938e-06/0.5864, allocations: 7.938 kB / 0.5799 GB, free: 9.066 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001213/0.5865, allocations: 122.2 kB / 0.58 GB, free: 8.91 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.628e-05/0.5865, allocations: 26.53 kB / 0.5801 GB, free: 8.875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.369e-05/0.5866, allocations: 4.859 kB / 0.5801 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.401e-06/0.5866, allocations: 0 / 0.5801 GB, free: 8.867 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.808e-05/0.5866, allocations: 56.27 kB / 0.5801 GB, free: 8.797 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 2.896e-06/0.5866, allocations: 0 / 0.5801 GB, free: 8.797 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001639/0.5868, allocations: 49.66 kB / 0.5802 GB, free: 8.742 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.771e-05/0.5869, allocations: 81.09 kB / 0.5802 GB, free: 8.645 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.883e-05/0.5869, allocations: 89 kB / 0.5803 GB, free: 8.551 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.212e-05/0.5869, allocations: 25.7 kB / 0.5804 GB, free: 8.52 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.311e-05/0.587, allocations: 80.14 kB / 0.5804 GB, free: 8.438 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.732e-05/0.587, allocations: 7.922 kB / 0.5804 GB, free: 8.43 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.154e-06/0.587, allocations: 0 / 0.5804 GB, free: 8.43 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 9.429e-05/0.5871, allocations: 315 kB / 0.5807 GB, free: 8.113 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.394e-06/0.5871, allocations: 0 / 0.5807 GB, free: 8.113 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.731e-06/0.5871, allocations: 8 kB / 0.5807 GB, free: 8.105 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.763e-05/0.5872, allocations: 0 / 0.5807 GB, free: 8.105 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.503e-06/0.5872, allocations: 0 / 0.5807 GB, free: 8.105 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.139e-05/0.5873, allocations: 37.69 kB / 0.5808 GB, free: 8.062 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.114e-05/0.5873, allocations: 29.7 kB / 0.5808 GB, free: 8.027 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.652e-06/0.5873, allocations: 4 kB / 0.5808 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.265e-05/0.5873, allocations: 0 / 0.5808 GB, free: 8.023 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.282e-06/0.5873, allocations: 4.094 kB / 0.5808 GB, free: 8.02 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.22e-06/0.5873, allocations: 3.953 kB / 0.5808 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.504e-05/0.5874, allocations: 0 / 0.5808 GB, free: 8.016 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.55e-06/0.5874, allocations: 0 / 0.5808 GB, free: 8.016 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 7.783e-05/0.5875, allocations: 134.7 kB / 0.581 GB, free: 7.871 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.62e-05/0.5875, allocations: 37.64 kB / 0.581 GB, free: 7.828 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.197e-06/0.5875, allocations: 4 kB / 0.581 GB, free: 7.824 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 2.029e-05/0.5876, allocations: 15.66 kB / 0.581 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.734e-06/0.5876, allocations: 0 / 0.581 GB, free: 7.809 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.5876, allocations: 4.031 kB / 0.581 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.415e-06/0.5876, allocations: 0 / 0.581 GB, free: 7.805 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.219e-05/0.5877, allocations: 126.2 kB / 0.5811 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.162e-06/0.5877, allocations: 0 / 0.5811 GB, free: 7.645 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 1.833e-06/0.5877, allocations: 4 kB / 0.5811 GB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.5877, allocations: 0 / 0.5811 GB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.492e-06/0.5877, allocations: 0 / 0.5811 GB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.5877, allocations: 0 / 0.5811 GB, free: 7.641 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.009e-06/0.5877, allocations: 3.953 kB / 0.5811 GB, free: 7.637 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.235e-05/0.5878, allocations: 69.12 kB / 0.5812 GB, free: 7.551 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.901e-05/0.5879, allocations: 84.95 kB / 0.5813 GB, free: 7.449 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.595e-05/0.5879, allocations: 5.312 kB / 0.5813 GB, free: 7.445 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.15e-05/0.5879, allocations: 3.938 kB / 0.5813 GB, free: 7.441 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.039e-05/0.5879, allocations: 7.984 kB / 0.5813 GB, free: 7.434 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.5879, allocations: 3.953 kB / 0.5813 GB, free: 7.43 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.001e-05/0.588, allocations: 75.28 kB / 0.5814 GB, free: 7.355 MB / 394.7 MB Notification: Performance of sort global known variables: time 2.21e-07/0.588, allocations: 0 / 0.5814 GB, free: 7.355 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002386/0.5882, allocations: 28.12 kB / 0.5814 GB, free: 7.328 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.0006239/0.5889, allocations: 0.6772 MB / 0.5821 GB, free: 6.645 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 8.112e-05/0.589, allocations: 59.41 kB / 0.5821 GB, free: 6.574 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.285e-06/0.589, allocations: 7.938 kB / 0.5821 GB, free: 6.566 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.953e-05/0.589, allocations: 59.45 kB / 0.5822 GB, free: 6.496 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.695e-05/0.5891, allocations: 4 kB / 0.5822 GB, free: 6.492 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003028/0.5894, allocations: 88.09 kB / 0.5823 GB, free: 6.371 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000225/0.5897, allocations: 0.6729 MB / 0.5829 GB, free: 5.672 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 1.106e-05/0.5897, allocations: 0 / 0.5829 GB, free: 5.672 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 2.302e-05/0.5897, allocations: 7.438 kB / 0.5829 GB, free: 5.664 MB / 394.7 MB Notification: Performance of SimCode: time 2.9e-07/0.5897, allocations: 0 / 0.5829 GB, free: 5.664 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02163/0.6113, allocations: 0.9512 MB / 0.5839 GB, free: 4.727 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000188/0.6116, allocations: 159.3 kB / 0.584 GB, free: 4.531 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.499/2.11, allocations: 3.938 kB / 0.584 GB, free: 4.527 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Utilities_TestReadFile_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Utilities_TestReadFile.fmu > ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Utilities.TestReadFile_res.mat does not exist to compare? outputFormat=mat