Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.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.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices",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.001846/0.001847, allocations: 169.7 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.477/1.477, allocations: 221.5 MB / 230.7 MB, free: 7.504 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.0009643/0.0009644, allocations: 96.44 kB / 281.6 MB, free: 5.254 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.2412/0.2412, allocations: 44.15 MB / 376.5 MB, free: 3.023 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 1.888e-05/1.891e-05, allocations: 224 / 444.7 MB, free: 15.14 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1481/0.1482, allocations: 61.92 MB / 0.4948 GB, free: 1.152 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4935/0.6418, allocations: 86.84 MB / 0.5796 GB, free: 9.504 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002462/0.6421, allocations: 63.97 kB / 0.5796 GB, free: 9.441 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008617/0.6507, allocations: 2.789 MB / 0.5824 GB, free: 6.668 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.633e-06/0.6508, allocations: 0 / 0.5824 GB, free: 6.668 MB / 394.7 MB Notification: Performance of Transformations before backend: time 6.081e-06/0.6508, allocations: 0 / 0.5824 GB, free: 6.668 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.0003689/0.6512, allocations: 384.1 kB / 0.5827 GB, free: 6.242 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.663e-05/0.6512, allocations: 15.92 kB / 0.5827 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.159e-05/0.6513, allocations: 0.8438 kB / 0.5827 GB, free: 6.227 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001617/0.6514, allocations: 175 kB / 0.5829 GB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.558e-05/0.6515, allocations: 0 / 0.5829 GB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.078e-05/0.6515, allocations: 0 / 0.5829 GB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 4.781e-05/0.6515, allocations: 3.938 kB / 0.5829 GB, free: 6.016 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 6.398e-05/0.6516, allocations: 33.69 kB / 0.5829 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.302e-06/0.6516, allocations: 0 / 0.5829 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.937e-06/0.6516, allocations: 0 / 0.5829 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.529e-06/0.6516, allocations: 0 / 0.5829 GB, free: 5.977 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001304/0.6518, allocations: 130.2 kB / 0.5831 GB, free: 5.812 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.177e-05/0.6518, allocations: 30.5 kB / 0.5831 GB, free: 5.773 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 1.617e-05/0.6519, allocations: 4.859 kB / 0.5831 GB, free: 5.766 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 8.436e-06/0.6519, allocations: 0 / 0.5831 GB, free: 5.766 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.14e-05/0.6519, allocations: 56.27 kB / 0.5832 GB, free: 5.695 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 8.52e-07/0.6519, allocations: 0 / 0.5832 GB, free: 5.695 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.000201/0.6521, allocations: 41.73 kB / 0.5832 GB, free: 5.648 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.853e-05/0.6522, allocations: 81.11 kB / 0.5833 GB, free: 5.551 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.446e-05/0.6523, allocations: 89.03 kB / 0.5834 GB, free: 5.457 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.484e-05/0.6523, allocations: 25.7 kB / 0.5834 GB, free: 5.426 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.975e-05/0.6523, allocations: 80.14 kB / 0.5835 GB, free: 5.344 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.141e-05/0.6523, allocations: 0 / 0.5835 GB, free: 5.344 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.305e-06/0.6523, allocations: 0 / 0.5835 GB, free: 5.344 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001322/0.6525, allocations: 314.8 kB / 0.5838 GB, free: 5.027 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.664e-06/0.6525, allocations: 3.938 kB / 0.5838 GB, free: 5.023 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 4.478e-06/0.6525, allocations: 0 / 0.5838 GB, free: 5.023 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.366e-05/0.6525, allocations: 8 kB / 0.5838 GB, free: 5.016 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.094e-06/0.6526, allocations: 0 / 0.5838 GB, free: 5.016 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.732e-05/0.6526, allocations: 37.69 kB / 0.5838 GB, free: 4.973 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.65e-05/0.6527, allocations: 34.91 kB / 0.5838 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.5e-06/0.6527, allocations: 0 / 0.5838 GB, free: 4.934 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.403e-05/0.6527, allocations: 4 kB / 0.5838 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.243e-06/0.6527, allocations: 0 / 0.5838 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.839e-06/0.6527, allocations: 0 / 0.5838 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.257e-05/0.6527, allocations: 0 / 0.5838 GB, free: 4.93 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.113e-06/0.6528, allocations: 0 / 0.5838 GB, free: 4.93 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.532e-05/0.6529, allocations: 138.7 kB / 0.584 GB, free: 4.781 MB / 394.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 6.807e-05/0.6529, allocations: 37.69 kB / 0.584 GB, free: 4.738 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.484e-06/0.6529, allocations: 7.891 kB / 0.584 GB, free: 4.73 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.36e-05/0.653, allocations: 3.75 kB / 0.584 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 9.32e-07/0.653, allocations: 0 / 0.584 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.653, allocations: 0 / 0.584 GB, free: 4.723 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.635e-06/0.653, allocations: 4 kB / 0.584 GB, free: 4.719 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 7.635e-05/0.6531, allocations: 126.2 kB / 0.5841 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.51e-07/0.6531, allocations: 0 / 0.5841 GB, free: 4.559 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.11e-07/0.6531, allocations: 4.031 kB / 0.5841 GB, free: 4.555 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.889e-06/0.6531, allocations: 3.953 kB / 0.5842 GB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.123e-06/0.6531, allocations: 0 / 0.5842 GB, free: 4.551 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.375e-06/0.6531, allocations: 4 kB / 0.5842 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.735e-06/0.6531, allocations: 0 / 0.5842 GB, free: 4.547 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 8.604e-05/0.6532, allocations: 61.12 kB / 0.5842 GB, free: 4.469 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.124e-05/0.6533, allocations: 81.02 kB / 0.5843 GB, free: 4.371 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.404e-05/0.6533, allocations: 7.891 kB / 0.5843 GB, free: 4.363 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.466e-06/0.6533, allocations: 8.031 kB / 0.5843 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.289e-05/0.6533, allocations: 0 / 0.5843 GB, free: 4.355 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.877e-06/0.6533, allocations: 1.375 kB / 0.5843 GB, free: 4.355 MB / 394.7 MB Notification: Performance of sorting global known variables: time 2.767e-05/0.6534, allocations: 75.28 kB / 0.5844 GB, free: 4.281 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.6534, allocations: 0 / 0.5844 GB, free: 4.281 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0003518/0.6537, allocations: 87.86 kB / 0.5845 GB, free: 4.195 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.0007422/0.6545, allocations: 0.7085 MB / 0.5852 GB, free: 3.465 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001146/0.6546, allocations: 55.41 kB / 0.5852 GB, free: 3.398 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 3.146e-06/0.6546, allocations: 3.938 kB / 0.5852 GB, free: 3.395 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 4.888e-05/0.6547, allocations: 55.41 kB / 0.5853 GB, free: 3.328 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0001335/0.6548, allocations: 3.953 kB / 0.5853 GB, free: 3.324 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003476/0.6552, allocations: 121.5 kB / 0.5854 GB, free: 3.168 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003222/0.6555, allocations: 0.673 MB / 0.586 GB, free: 2.469 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.825e-06/0.6555, allocations: 4 kB / 0.586 GB, free: 2.465 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.567e-05/0.6555, allocations: 7.438 kB / 0.5861 GB, free: 2.457 MB / 394.7 MB Notification: Performance of SimCode: time 3.7e-07/0.6555, allocations: 0 / 0.5861 GB, free: 2.457 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02296/0.6785, allocations: 1.739 MB / 0.5877 GB, free: 0.7266 MB / 394.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002251/0.6788, allocations: 156.5 kB / 0.5879 GB, free: 0.5312 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.58/2.259, allocations: 0 / 0.5879 GB, free: 0.5312 MB / 394.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices_res.mat does not exist to compare? outputFormat=mat