Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.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.TestReadFile,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Utilities.TestReadFile,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile",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.001165/0.001166, allocations: 177.6 kB / 8.004 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.69/1.69, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.001041/0.001041, allocations: 82.66 kB / 261.7 MB, free: 1.676 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.2285/0.2285, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.335e-05/2.335e-05, allocations: 8 kB / 418.3 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1302/0.1302, allocations: 58.85 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4362/0.5665, allocations: 83.81 MB / 0.5479 GB, free: 8.785 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001867/0.5667, allocations: 64.98 kB / 0.5479 GB, free: 8.785 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.003798/0.5705, allocations: 1.616 MB / 0.5495 GB, free: 8.445 MB / 362.7 MB Notification: Performance of FrontEnd: time 3.497e-06/0.5705, allocations: 0 / 0.5495 GB, free: 8.445 MB / 362.7 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.5706, allocations: 7.438 kB / 0.5495 GB, free: 8.441 MB / 362.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.0002208/0.5708, allocations: 358.6 kB / 0.5498 GB, free: 8.062 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.844e-05/0.5708, allocations: 7.812 kB / 0.5499 GB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.807e-05/0.5709, allocations: 0 / 0.5499 GB, free: 8.062 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 9.301e-05/0.571, allocations: 169.8 kB / 0.55 GB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.311e-05/0.571, allocations: 3.688 kB / 0.55 GB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 6.582e-06/0.571, allocations: 0 / 0.55 GB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 3.738e-05/0.5711, allocations: 0 / 0.55 GB, free: 7.859 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 4.448e-05/0.5711, allocations: 29.48 kB / 0.5501 GB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.632e-06/0.5711, allocations: 2.906 kB / 0.5501 GB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.446e-06/0.5711, allocations: 0 / 0.5501 GB, free: 7.828 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.867e-06/0.5711, allocations: 3.938 kB / 0.5501 GB, free: 7.824 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 8.872e-05/0.5712, allocations: 130 kB / 0.5502 GB, free: 7.664 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 2.859e-05/0.5713, allocations: 22.55 kB / 0.5502 GB, free: 7.637 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.188e-05/0.5713, allocations: 4.859 kB / 0.5502 GB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.943e-06/0.5713, allocations: 0 / 0.5502 GB, free: 7.629 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.182e-05/0.5713, allocations: 65.92 kB / 0.5503 GB, free: 7.555 MB / 362.7 MB Notification: Performance of pre-optimization done (n=1): time 9.02e-07/0.5713, allocations: 0 / 0.5503 GB, free: 7.555 MB / 362.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001512/0.5715, allocations: 33.55 kB / 0.5503 GB, free: 7.523 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.028e-05/0.5715, allocations: 77.11 kB / 0.5504 GB, free: 7.43 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.651e-05/0.5716, allocations: 103.3 kB / 0.5505 GB, free: 7.332 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 6.452e-06/0.5716, allocations: 25.7 kB / 0.5505 GB, free: 7.301 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 1.321e-05/0.5716, allocations: 80.14 kB / 0.5506 GB, free: 7.219 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.718e-05/0.5716, allocations: 0 / 0.5506 GB, free: 7.219 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.395e-06/0.5716, allocations: 0 / 0.5506 GB, free: 7.219 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.406e-05/0.5717, allocations: 310.8 kB / 0.5509 GB, free: 6.906 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.764e-06/0.5717, allocations: 3.969 kB / 0.5509 GB, free: 6.906 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.428e-06/0.5717, allocations: 0 / 0.5509 GB, free: 6.906 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.625e-05/0.5718, allocations: 7.047 kB / 0.5509 GB, free: 6.902 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.653e-06/0.5718, allocations: 3.938 kB / 0.5509 GB, free: 6.898 MB / 362.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 5.452e-05/0.5718, allocations: 39.78 kB / 0.5509 GB, free: 6.863 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 2.392e-05/0.5719, allocations: 37.39 kB / 0.551 GB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.468e-06/0.5719, allocations: 0 / 0.551 GB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.177e-05/0.5719, allocations: 0 / 0.551 GB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.032e-06/0.5719, allocations: 0 / 0.551 GB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.572e-06/0.5719, allocations: 0 / 0.551 GB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.374e-05/0.5719, allocations: 0 / 0.551 GB, free: 6.832 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.841e-06/0.5719, allocations: 0 / 0.551 GB, free: 6.832 MB / 362.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 6.085e-05/0.572, allocations: 134.6 kB / 0.5511 GB, free: 6.691 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.432e-05/0.5721, allocations: 50.81 kB / 0.5511 GB, free: 6.652 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.801e-06/0.5721, allocations: 3.938 kB / 0.5511 GB, free: 6.648 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.484e-05/0.5721, allocations: 3.75 kB / 0.5511 GB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.5721, allocations: 0 / 0.5511 GB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.152e-06/0.5721, allocations: 0.5625 kB / 0.5511 GB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.476e-06/0.5721, allocations: 2.766 kB / 0.5511 GB, free: 6.645 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 5.339e-05/0.5722, allocations: 126.2 kB / 0.5513 GB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.41e-07/0.5722, allocations: 0 / 0.5513 GB, free: 6.488 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.806e-06/0.5722, allocations: 11.98 kB / 0.5513 GB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.824e-06/0.5722, allocations: 2.625 kB / 0.5513 GB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.001e-06/0.5722, allocations: 0 / 0.5513 GB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.31e-07/0.5722, allocations: 0 / 0.5513 GB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.066e-06/0.5722, allocations: 3.906 kB / 0.5513 GB, free: 6.477 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 7.25e-05/0.5723, allocations: 67.36 kB / 0.5513 GB, free: 6.41 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 1.755e-05/0.5723, allocations: 77.11 kB / 0.5514 GB, free: 6.316 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.356e-05/0.5724, allocations: 11.67 kB / 0.5514 GB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.014e-05/0.5724, allocations: 0 / 0.5514 GB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.831e-05/0.5724, allocations: 2.531 kB / 0.5514 GB, free: 6.309 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.615e-06/0.5724, allocations: 0 / 0.5514 GB, free: 6.309 MB / 362.7 MB Notification: Performance of sorting global known variables: time 1.658e-05/0.5724, allocations: 82.34 kB / 0.5515 GB, free: 6.234 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5724, allocations: 0 / 0.5515 GB, free: 6.234 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.000231/0.5727, allocations: 15.72 kB / 0.5515 GB, free: 6.23 MB / 362.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.0004816/0.5732, allocations: 0.688 MB / 0.5522 GB, free: 5.59 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 6.888e-05/0.5732, allocations: 65.19 kB / 0.5523 GB, free: 5.523 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 2.926e-06/0.5733, allocations: 0 / 0.5523 GB, free: 5.523 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 1.869e-05/0.5733, allocations: 53.61 kB / 0.5523 GB, free: 5.461 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.666e-05/0.5734, allocations: 7.797 kB / 0.5523 GB, free: 5.457 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0002349/0.5736, allocations: 88.61 kB / 0.5524 GB, free: 5.355 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001108/0.5737, allocations: 0.6755 MB / 0.5531 GB, free: 4.656 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 7.364e-06/0.5738, allocations: 4.125 kB / 0.5531 GB, free: 4.652 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.841e-05/0.5738, allocations: 11.38 kB / 0.5531 GB, free: 4.645 MB / 362.7 MB Notification: Performance of SimCode: time 2.51e-07/0.5738, allocations: 0 / 0.5531 GB, free: 4.645 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02117/0.595, allocations: 0.94 MB / 0.554 GB, free: 3.965 MB / 362.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001996/0.5952, allocations: 154 kB / 0.5541 GB, free: 3.773 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.462/2.058, allocations: 0 / 0.5541 GB, free: 3.773 MB / 362.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Utilities_TestReadFile.fmu > ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Utilities.TestReadFile_res.mat does not exist to compare? outputFormat=mat