Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.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.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices",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.001153/0.001153, allocations: 178.8 kB / 15.76 MB, free: 6.367 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.859/1.859, allocations: 205.4 MB / 221.9 MB, free: 13.84 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.001016/0.001015, allocations: 90.88 kB / 270.2 MB, free: 13.37 MB / 234.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.2466/0.2466, allocations: 43.55 MB / 362 MB, free: 11.31 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0004594/0.0004595, allocations: 8 kB / 431.5 MB, free: 19.51 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1534/0.1539, allocations: 58.86 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4534/0.6074, allocations: 86.33 MB / 0.5631 GB, free: 13.34 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002532/0.6077, allocations: 67.28 kB / 0.5632 GB, free: 13.31 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008514/0.6162, allocations: 2.776 MB / 0.5659 GB, free: 10.91 MB / 378.7 MB Notification: Performance of FrontEnd: time 2.534e-06/0.6163, allocations: 0 / 0.5659 GB, free: 10.91 MB / 378.7 MB Notification: Performance of Transformations before backend: time 6.442e-06/0.6163, allocations: 0 / 0.5659 GB, free: 10.91 MB / 378.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.0003882/0.6167, allocations: 388.2 kB / 0.5663 GB, free: 10.48 MB / 378.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.414e-05/0.6167, allocations: 12.03 kB / 0.5663 GB, free: 10.47 MB / 378.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.873e-05/0.6168, allocations: 32.56 kB / 0.5663 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.078e-05/0.6168, allocations: 3.953 kB / 0.5663 GB, free: 10.43 MB / 378.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000125/0.617, allocations: 167 kB / 0.5665 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.108e-05/0.617, allocations: 0 / 0.5665 GB, free: 10.23 MB / 378.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.065e-06/0.617, allocations: 4 kB / 0.5665 GB, free: 10.22 MB / 378.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.585e-05/0.6171, allocations: 29.7 kB / 0.5665 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.735e-06/0.6171, allocations: 0 / 0.5665 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.366e-06/0.6171, allocations: 0 / 0.5665 GB, free: 10.19 MB / 378.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.865e-06/0.6171, allocations: 3.953 kB / 0.5665 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.653e-05/0.6171, allocations: 0 / 0.5665 GB, free: 10.18 MB / 378.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001627/0.6173, allocations: 153 kB / 0.5667 GB, free: 9.988 MB / 378.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.017e-05/0.6174, allocations: 18.52 kB / 0.5667 GB, free: 9.961 MB / 378.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.53e-06/0.6174, allocations: 4 kB / 0.5667 GB, free: 9.957 MB / 378.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.66e-05/0.6174, allocations: 62.98 kB / 0.5668 GB, free: 9.883 MB / 378.7 MB Notification: Performance of pre-optimization done (n=1): time 8.31e-07/0.6175, allocations: 0 / 0.5668 GB, free: 9.883 MB / 378.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001987/0.6177, allocations: 70.19 kB / 0.5668 GB, free: 9.805 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.991e-05/0.6177, allocations: 81.05 kB / 0.5669 GB, free: 9.707 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 3.899e-05/0.6178, allocations: 85 kB / 0.567 GB, free: 9.617 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 1.972e-05/0.6178, allocations: 25.7 kB / 0.567 GB, free: 9.586 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.531e-05/0.6178, allocations: 84.27 kB / 0.5671 GB, free: 9.5 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.142e-05/0.6179, allocations: 3.188 kB / 0.5671 GB, free: 9.5 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.024e-06/0.6179, allocations: 0 / 0.5671 GB, free: 9.5 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001435/0.618, allocations: 318.8 kB / 0.5674 GB, free: 9.18 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.634e-06/0.618, allocations: 0 / 0.5674 GB, free: 9.18 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 3.897e-06/0.618, allocations: 0 / 0.5674 GB, free: 9.18 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.007e-05/0.6181, allocations: 25.7 kB / 0.5674 GB, free: 9.148 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.764e-06/0.6181, allocations: 4 kB / 0.5674 GB, free: 9.145 MB / 378.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.558e-05/0.6182, allocations: 62.33 kB / 0.5675 GB, free: 9.074 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 5.074e-05/0.6182, allocations: 41.23 kB / 0.5675 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.6182, allocations: 0 / 0.5675 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.367e-05/0.6183, allocations: 0 / 0.5675 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.082e-06/0.6183, allocations: 0 / 0.5675 GB, free: 9.031 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.6183, allocations: 3.938 kB / 0.5675 GB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.32e-05/0.6183, allocations: 0 / 0.5675 GB, free: 9.027 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.003e-06/0.6183, allocations: 0 / 0.5675 GB, free: 9.027 MB / 378.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 () * Number of clocked 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 0.0001009/0.6184, allocations: 143.5 kB / 0.5677 GB, free: 8.871 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.907e-06/0.6184, allocations: 8.547 kB / 0.5677 GB, free: 8.863 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.54e-05/0.6184, allocations: 7.125 kB / 0.5677 GB, free: 8.852 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.72e-07/0.6185, allocations: 3.938 kB / 0.5677 GB, free: 8.848 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.3e-06/0.6185, allocations: 4 kB / 0.5677 GB, free: 8.844 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.038e-06/0.6185, allocations: 3.984 kB / 0.5677 GB, free: 8.84 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001082/0.6186, allocations: 148.5 kB / 0.5678 GB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.053e-06/0.6186, allocations: 0.875 kB / 0.5678 GB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.21e-07/0.6186, allocations: 0 / 0.5678 GB, free: 8.648 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.825e-06/0.6186, allocations: 3.984 kB / 0.5678 GB, free: 8.645 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.816e-06/0.6186, allocations: 4 kB / 0.5678 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 9.22e-07/0.6186, allocations: 0 / 0.5678 GB, free: 8.641 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.425e-06/0.6186, allocations: 4 kB / 0.5678 GB, free: 8.637 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.451e-05/0.6187, allocations: 89.92 kB / 0.5679 GB, free: 8.527 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.498e-05/0.6188, allocations: 85.72 kB / 0.568 GB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.239e-05/0.6188, allocations: 0 / 0.568 GB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.865e-05/0.6188, allocations: 0 / 0.568 GB, free: 8.426 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.234e-05/0.6188, allocations: 3.938 kB / 0.568 GB, free: 8.422 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.174e-06/0.6189, allocations: 0 / 0.568 GB, free: 8.422 MB / 378.7 MB Notification: Performance of sorting global known variables: time 3.294e-05/0.6189, allocations: 83.31 kB / 0.5681 GB, free: 8.34 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.11e-07/0.6189, allocations: 0 / 0.5681 GB, free: 8.34 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003352/0.6192, allocations: 83.23 kB / 0.5682 GB, free: 8.262 MB / 378.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) * Number of clocked states: 0 () * 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.0007806/0.62, allocations: 0.7205 MB / 0.5689 GB, free: 7.516 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 9.676e-05/0.6201, allocations: 55.41 kB / 0.5689 GB, free: 7.449 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 3.978e-06/0.6201, allocations: 4 kB / 0.5689 GB, free: 7.445 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.242e-05/0.6202, allocations: 59.41 kB / 0.569 GB, free: 7.375 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.121e-05/0.6203, allocations: 4 kB / 0.569 GB, free: 7.371 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.000367/0.6206, allocations: 151.3 kB / 0.5691 GB, free: 7.184 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000284/0.6209, allocations: 0.6731 MB / 0.5698 GB, free: 6.484 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 5.531e-06/0.621, allocations: 0 / 0.5698 GB, free: 6.484 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.094e-05/0.621, allocations: 7.438 kB / 0.5698 GB, free: 6.477 MB / 378.7 MB Notification: Performance of SimCode: time 2.31e-07/0.621, allocations: 0 / 0.5698 GB, free: 6.477 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01561/0.6366, allocations: 2.03 MB / 0.5718 GB, free: 4.484 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002069/0.6369, allocations: 203.8 kB / 0.572 GB, free: 4.238 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.586/2.223, allocations: 0 / 0.572 GB, free: 4.238 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices_res.mat does not exist to compare? outputFormat=mat