Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b",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.001174/0.001174, allocations: 183.2 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.766/1.766, 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.000919/0.0009191, allocations: 86.86 kB / 270.2 MB, free: 13.36 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.2259/0.2259, allocations: 43.56 MB / 362.1 MB, free: 11.3 MB / 266.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003383/0.0003385, allocations: 8 kB / 431.5 MB, free: 19.5 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1197/0.12, allocations: 58.85 MB / 490.3 MB, free: 8.582 MB / 330.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.3908/0.5109, allocations: 88.68 MB / 0.5654 GB, free: 11.03 MB / 378.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0001587/0.5111, allocations: 66.64 kB / 0.5655 GB, free: 10.99 MB / 378.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.06839/0.5795, allocations: 25.72 MB / 0.5906 GB, free: 5.078 MB / 394.7 MB Notification: Performance of FrontEnd: time 4.037e-06/0.5796, allocations: 4 kB / 0.5906 GB, free: 5.074 MB / 394.7 MB Notification: Performance of Transformations before backend: time 5.079e-06/0.5796, allocations: 0 / 0.5906 GB, free: 5.074 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.0007811/0.5804, allocations: 444.7 kB / 0.5911 GB, free: 4.59 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.168e-05/0.5804, allocations: 8.031 kB / 0.5911 GB, free: 4.582 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.286e-05/0.5805, allocations: 30.56 kB / 0.5911 GB, free: 4.543 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.758e-05/0.5805, allocations: 7.938 kB / 0.5911 GB, free: 4.535 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001101/0.5806, allocations: 163.1 kB / 0.5913 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.081e-05/0.5806, allocations: 0 / 0.5913 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.564e-06/0.5807, allocations: 3.75 kB / 0.5913 GB, free: 4.336 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.811e-05/0.5807, allocations: 29.64 kB / 0.5913 GB, free: 4.301 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.314e-06/0.5808, allocations: 4 kB / 0.5913 GB, free: 4.297 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 6.652e-06/0.5808, allocations: 4 kB / 0.5913 GB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.619e-06/0.5808, allocations: 0 / 0.5913 GB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.924e-05/0.5808, allocations: 0 / 0.5913 GB, free: 4.293 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001707/0.581, allocations: 149.6 kB / 0.5914 GB, free: 4.098 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.953e-05/0.581, allocations: 18.61 kB / 0.5915 GB, free: 4.07 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 6.733e-06/0.5811, allocations: 3.984 kB / 0.5915 GB, free: 4.066 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.41e-05/0.5811, allocations: 63.94 kB / 0.5915 GB, free: 3.992 MB / 394.7 MB Notification: Performance of pre-optimization done (n=1): time 1.192e-06/0.5811, allocations: 11.88 kB / 0.5915 GB, free: 3.98 MB / 394.7 MB Notification: Performance of matching and sorting (n=1): time 0.0002102/0.5813, allocations: 63.45 kB / 0.5916 GB, free: 3.906 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.45e-05/0.5814, allocations: 77.11 kB / 0.5917 GB, free: 3.812 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.038e-05/0.5814, allocations: 85 kB / 0.5917 GB, free: 3.723 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.674e-05/0.5815, allocations: 29.7 kB / 0.5918 GB, free: 3.688 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 4.848e-05/0.5815, allocations: 83.39 kB / 0.5919 GB, free: 3.605 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.158e-05/0.5816, allocations: 0 / 0.5919 GB, free: 3.605 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.615e-06/0.5816, allocations: 0 / 0.5919 GB, free: 3.605 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.000139/0.5817, allocations: 318.9 kB / 0.5922 GB, free: 3.285 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.444e-06/0.5817, allocations: 0 / 0.5922 GB, free: 3.285 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.582e-06/0.5817, allocations: 4 kB / 0.5922 GB, free: 3.281 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.047e-05/0.5818, allocations: 25.7 kB / 0.5922 GB, free: 3.25 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.5818, allocations: 0 / 0.5922 GB, free: 3.25 MB / 394.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 9.175e-05/0.5819, allocations: 71.02 kB / 0.5923 GB, free: 3.172 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.806e-05/0.5819, allocations: 29.7 kB / 0.5923 GB, free: 3.137 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.654e-06/0.5819, allocations: 4 kB / 0.5923 GB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.74e-05/0.582, allocations: 0 / 0.5923 GB, free: 3.133 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 1.472e-06/0.582, allocations: 4.094 kB / 0.5923 GB, free: 3.129 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.026e-05/0.582, allocations: 4 kB / 0.5923 GB, free: 3.125 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.299e-05/0.582, allocations: 3.938 kB / 0.5923 GB, free: 3.121 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.893e-06/0.582, allocations: 0 / 0.5923 GB, free: 3.121 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 () * 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 9.625e-05/0.5821, allocations: 143.5 kB / 0.5924 GB, free: 2.965 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.333e-06/0.5821, allocations: 4 kB / 0.5924 GB, free: 2.961 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.494e-05/0.5822, allocations: 3.125 kB / 0.5924 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.5822, allocations: 0 / 0.5924 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.509e-06/0.5822, allocations: 0 / 0.5924 GB, free: 2.953 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.325e-06/0.5822, allocations: 4 kB / 0.5924 GB, free: 2.949 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001124/0.5823, allocations: 145.6 kB / 0.5926 GB, free: 2.758 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.675e-06/0.5823, allocations: 7.984 kB / 0.5926 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.51e-07/0.5823, allocations: 0 / 0.5926 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.964e-06/0.5823, allocations: 0 / 0.5926 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.906e-06/0.5823, allocations: 3.25 kB / 0.5926 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.192e-06/0.5823, allocations: 0 / 0.5926 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.252e-06/0.5823, allocations: 0 / 0.5926 GB, free: 2.75 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001154/0.5825, allocations: 98.52 kB / 0.5927 GB, free: 2.633 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.074e-05/0.5825, allocations: 81.69 kB / 0.5928 GB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.184e-05/0.5825, allocations: 0 / 0.5928 GB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.047e-06/0.5826, allocations: 0 / 0.5928 GB, free: 2.535 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.364e-05/0.5826, allocations: 4 kB / 0.5928 GB, free: 2.531 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.126e-06/0.5826, allocations: 0 / 0.5928 GB, free: 2.531 MB / 394.7 MB Notification: Performance of sorting global known variables: time 3.404e-05/0.5826, allocations: 75.28 kB / 0.5928 GB, free: 2.457 MB / 394.7 MB Notification: Performance of sort global known variables: time 8e-08/0.5826, allocations: 0 / 0.5928 GB, free: 2.457 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0005394/0.5832, allocations: 158.6 kB / 0.593 GB, free: 2.305 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) * 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.001261/0.5844, allocations: 0.8818 MB / 0.5939 GB, free: 1.41 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 9.825e-05/0.5845, allocations: 63.33 kB / 0.5939 GB, free: 1.34 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 2.044e-06/0.5846, allocations: 0 / 0.5939 GB, free: 1.34 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 3.778e-05/0.5846, allocations: 55.47 kB / 0.594 GB, free: 1.273 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.422e-05/0.5847, allocations: 4.062 kB / 0.594 GB, free: 1.27 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004325/0.5851, allocations: 168.2 kB / 0.5941 GB, free: 1.062 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002932/0.5854, allocations: 0.6731 MB / 0.5948 GB, free: 372 kB / 394.7 MB Notification: Performance of simCode: alias equations: time 6.302e-06/0.5855, allocations: 0 / 0.5948 GB, free: 372 kB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.473e-05/0.5855, allocations: 7.438 kB / 0.5948 GB, free: 364 kB / 394.7 MB Notification: Performance of SimCode: time 2.3e-07/0.5855, allocations: 4 kB / 0.5948 GB, free: 360 kB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.6056, allocations: 5.253 MB / 0.5999 GB, free: 11.13 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002126/0.6058, allocations: 202.1 kB / 0.6001 GB, free: 10.89 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.37, allocations: 0 / 0.6001 GB, free: 10.89 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Math.TestMatrices2b_res.mat does not exist to compare? outputFormat=mat