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.001703/0.001703, allocations: 183.5 kB / 13.19 MB, free: 2.129 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.963/1.963, allocations: 205.2 MB / 218.9 MB, free: 9.203 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.001088/0.001088, allocations: 92.81 kB / 267 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.519/0.519, allocations: 43.47 MB / 358.6 MB, free: 52.43 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 4.728e-05/4.73e-05, allocations: 11.94 kB / 425.4 MB, free: 8.785 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1539/0.1539, allocations: 58.83 MB / 484.2 MB, free: 13.84 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.486/0.64, allocations: 86.23 MB / 0.5571 GB, free: 2.703 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002799/0.6404, allocations: 64.77 kB / 0.5572 GB, free: 2.641 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.007789/0.6482, allocations: 2.764 MB / 0.5599 GB, free: 15.91 MB / 394.7 MB Notification: Performance of FrontEnd: time 2.224e-06/0.6482, allocations: 0 / 0.5599 GB, free: 15.91 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.621e-06/0.6483, allocations: 0 / 0.5599 GB, free: 15.91 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.0003627/0.6486, allocations: 392 kB / 0.5602 GB, free: 15.47 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.914e-05/0.6487, allocations: 12.03 kB / 0.5602 GB, free: 15.46 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.027e-05/0.6487, allocations: 30.56 kB / 0.5603 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.912e-05/0.6488, allocations: 0 / 0.5603 GB, free: 15.42 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001154/0.6489, allocations: 163.1 kB / 0.5604 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.548e-05/0.6489, allocations: 4 kB / 0.5604 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 9.769e-06/0.6489, allocations: 1.375 kB / 0.5604 GB, free: 15.22 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.659e-05/0.649, allocations: 25.7 kB / 0.5605 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.627e-06/0.649, allocations: 0 / 0.5605 GB, free: 15.19 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.946e-06/0.649, allocations: 4 kB / 0.5605 GB, free: 15.18 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.832e-06/0.6491, allocations: 11.94 kB / 0.5605 GB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 3.285e-05/0.6491, allocations: 3.938 kB / 0.5605 GB, free: 15.17 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001475/0.6493, allocations: 146.2 kB / 0.5606 GB, free: 14.98 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.531e-05/0.6493, allocations: 25.22 kB / 0.5606 GB, free: 14.95 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.393e-05/0.6493, allocations: 4.859 kB / 0.5606 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 9.108e-06/0.6493, allocations: 0 / 0.5606 GB, free: 14.94 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.722e-05/0.6494, allocations: 60.33 kB / 0.5607 GB, free: 14.86 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.22e-07/0.6494, allocations: 4 kB / 0.5607 GB, free: 14.86 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001733/0.6496, allocations: 60.12 kB / 0.5608 GB, free: 14.79 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.448e-05/0.6497, allocations: 81.11 kB / 0.5608 GB, free: 14.69 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.066e-05/0.6497, allocations: 89 kB / 0.5609 GB, free: 14.6 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.707e-05/0.6498, allocations: 29.69 kB / 0.561 GB, free: 14.56 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.4e-05/0.6498, allocations: 80.14 kB / 0.561 GB, free: 14.48 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.27e-05/0.6498, allocations: 5.703 kB / 0.561 GB, free: 14.48 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.335e-06/0.6498, allocations: 0 / 0.561 GB, free: 14.48 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001459/0.65, allocations: 318.8 kB / 0.5613 GB, free: 14.16 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.816e-06/0.65, allocations: 0 / 0.5613 GB, free: 14.16 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.569e-06/0.65, allocations: 4 kB / 0.5613 GB, free: 14.15 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.65, allocations: 25.7 kB / 0.5614 GB, free: 14.12 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.693e-06/0.6501, allocations: 5.625 kB / 0.5614 GB, free: 14.12 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.758e-05/0.6501, allocations: 59.41 kB / 0.5614 GB, free: 14.05 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.64e-05/0.6502, allocations: 37.69 kB / 0.5615 GB, free: 14 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.999e-06/0.6502, allocations: 3.938 kB / 0.5615 GB, free: 14 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.675e-05/0.6502, allocations: 7.125 kB / 0.5615 GB, free: 14 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.664e-06/0.6502, allocations: 4.094 kB / 0.5615 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.492e-06/0.6502, allocations: 0 / 0.5615 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.169e-05/0.6502, allocations: 0 / 0.5615 GB, free: 13.99 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.644e-06/0.6503, allocations: 0 / 0.5615 GB, free: 13.99 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 8.55e-05/0.6504, allocations: 134.6 kB / 0.5616 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.542e-06/0.6504, allocations: 0 / 0.5616 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.175e-05/0.6504, allocations: 3.125 kB / 0.5616 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.71e-07/0.6504, allocations: 0 / 0.5616 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.469e-06/0.6504, allocations: 0 / 0.5616 GB, free: 13.85 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.588e-06/0.6504, allocations: 7.984 kB / 0.5616 GB, free: 13.84 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000102/0.6505, allocations: 149.6 kB / 0.5618 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 6.81e-07/0.6505, allocations: 0 / 0.5618 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.61e-07/0.6505, allocations: 0 / 0.5618 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.443e-06/0.6505, allocations: 1.969 kB / 0.5618 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.374e-06/0.6506, allocations: 0 / 0.5618 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 8.32e-07/0.6506, allocations: 0 / 0.5618 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.356e-06/0.6506, allocations: 4 kB / 0.5618 GB, free: 13.64 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001008/0.6507, allocations: 98.72 kB / 0.5619 GB, free: 13.52 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.5e-05/0.6507, allocations: 77.11 kB / 0.5619 GB, free: 13.43 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.677e-05/0.6508, allocations: 4 kB / 0.5619 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-06/0.6508, allocations: 0 / 0.5619 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.024e-05/0.6508, allocations: 3.984 kB / 0.5619 GB, free: 13.42 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.375e-06/0.6508, allocations: 0 / 0.5619 GB, free: 13.42 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.503e-05/0.6508, allocations: 75.28 kB / 0.562 GB, free: 13.34 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.6508, allocations: 0 / 0.562 GB, free: 13.34 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002991/0.6511, allocations: 83.88 kB / 0.5621 GB, free: 13.26 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.0008919/0.6521, allocations: 0.727 MB / 0.5628 GB, free: 12.51 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001173/0.6522, allocations: 63.33 kB / 0.5629 GB, free: 12.43 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.445e-06/0.6522, allocations: 7.938 kB / 0.5629 GB, free: 12.43 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.66e-05/0.6522, allocations: 55.41 kB / 0.5629 GB, free: 12.36 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 9.143e-05/0.6523, allocations: 5.859 kB / 0.5629 GB, free: 12.36 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003238/0.6527, allocations: 121.7 kB / 0.563 GB, free: 12.2 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003063/0.653, allocations: 0.6731 MB / 0.5637 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 9.348e-06/0.653, allocations: 3.984 kB / 0.5637 GB, free: 11.5 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.4e-05/0.653, allocations: 11.44 kB / 0.5637 GB, free: 11.49 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.653, allocations: 0 / 0.5637 GB, free: 11.49 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01411/0.6671, allocations: 2.045 MB / 0.5657 GB, free: 9.527 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002427/0.6674, allocations: 166.7 kB / 0.5659 GB, free: 9.309 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.618/2.285, allocations: 0 / 0.5659 GB, free: 9.309 MB / 394.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