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.001748/0.001748, allocations: 176.8 kB / 17.06 MB, free: 5.098 MB / 13.93 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.423/1.423, allocations: 223.2 MB / 241 MB, free: 11.89 MB / 202.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009474/0.0009473, allocations: 92.12 kB / 292.1 MB, free: 10.91 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.3935/0.3935, allocations: 44.22 MB / 387.5 MB, free: 39.06 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003447/0.0003448, allocations: 12 kB / 460 MB, free: 1.672 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3691/0.3694, allocations: 61.9 MB / 0.5096 GB, free: 37.97 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.122/0.4915, allocations: 87.58 MB / 0.5952 GB, free: 7.551 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002297/0.4918, allocations: 71.94 kB / 0.5952 GB, free: 7.484 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.008498/0.5003, allocations: 2.815 MB / 0.598 GB, free: 4.672 MB / 410.7 MB Notification: Performance of FrontEnd: time 2.264e-06/0.5004, allocations: 0 / 0.598 GB, free: 4.672 MB / 410.7 MB Notification: Performance of Transformations before backend: time 5.601e-06/0.5004, allocations: 4 kB / 0.598 GB, free: 4.668 MB / 410.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.0004027/0.5008, allocations: 388.9 kB / 0.5984 GB, free: 4.234 MB / 410.7 MB Notification: Performance of prepare preOptimizeDAE: time 5.102e-05/0.5009, allocations: 8.031 kB / 0.5984 GB, free: 4.227 MB / 410.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.467e-05/0.5009, allocations: 30.56 kB / 0.5984 GB, free: 4.188 MB / 410.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.615e-05/0.501, allocations: 4 kB / 0.5984 GB, free: 4.184 MB / 410.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000102/0.5011, allocations: 171 kB / 0.5986 GB, free: 3.977 MB / 410.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.279e-05/0.5011, allocations: 0 / 0.5986 GB, free: 3.977 MB / 410.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.03e-05/0.5011, allocations: 4 kB / 0.5986 GB, free: 3.973 MB / 410.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 8.901e-05/0.5012, allocations: 33.69 kB / 0.5986 GB, free: 3.934 MB / 410.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.695e-06/0.5012, allocations: 0 / 0.5986 GB, free: 3.934 MB / 410.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.637e-06/0.5012, allocations: 0 / 0.5986 GB, free: 3.934 MB / 410.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.739e-06/0.5013, allocations: 0 / 0.5986 GB, free: 3.934 MB / 410.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 1.978e-05/0.5013, allocations: 7.875 kB / 0.5986 GB, free: 3.926 MB / 410.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000151/0.5014, allocations: 145.6 kB / 0.5987 GB, free: 3.734 MB / 410.7 MB Notification: Performance of preOpt comSubExp (simulation): time 3.993e-05/0.5015, allocations: 26.59 kB / 0.5988 GB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt evalFunc (simulation): time 5.24e-06/0.5015, allocations: 0 / 0.5988 GB, free: 3.699 MB / 410.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 5.111e-05/0.5016, allocations: 64.25 kB / 0.5988 GB, free: 3.621 MB / 410.7 MB Notification: Performance of pre-optimization done (n=1): time 8.02e-07/0.5016, allocations: 0 / 0.5988 GB, free: 3.621 MB / 410.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001759/0.5017, allocations: 63.41 kB / 0.5989 GB, free: 3.547 MB / 410.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.172e-05/0.5018, allocations: 77.11 kB / 0.599 GB, free: 3.453 MB / 410.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 4.285e-05/0.5019, allocations: 89.12 kB / 0.599 GB, free: 3.359 MB / 410.7 MB Notification: Performance of collectPreVariables (initialization): time 1.43e-05/0.5019, allocations: 29.7 kB / 0.5991 GB, free: 3.324 MB / 410.7 MB Notification: Performance of collectInitialEqns (initialization): time 3.53e-05/0.5019, allocations: 80.14 kB / 0.5992 GB, free: 3.242 MB / 410.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.893e-05/0.5019, allocations: 0 / 0.5992 GB, free: 3.242 MB / 410.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.424e-06/0.5019, allocations: 0 / 0.5992 GB, free: 3.242 MB / 410.7 MB Notification: Performance of setup shared object (initialization): time 0.0001285/0.5021, allocations: 318.8 kB / 0.5995 GB, free: 2.922 MB / 410.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.596e-06/0.5021, allocations: 0 / 0.5995 GB, free: 2.922 MB / 410.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.612e-06/0.5021, allocations: 4 kB / 0.5995 GB, free: 2.918 MB / 410.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.895e-05/0.5021, allocations: 25.7 kB / 0.5995 GB, free: 2.887 MB / 410.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.703e-06/0.5022, allocations: 4.062 kB / 0.5995 GB, free: 2.883 MB / 410.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 6.919e-05/0.5022, allocations: 63.36 kB / 0.5995 GB, free: 2.809 MB / 410.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.361e-05/0.5023, allocations: 39.03 kB / 0.5996 GB, free: 2.766 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.609e-06/0.5023, allocations: 3.938 kB / 0.5996 GB, free: 2.762 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.599e-05/0.5023, allocations: 4 kB / 0.5996 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.02e-07/0.5023, allocations: 0 / 0.5996 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.358e-06/0.5023, allocations: 0 / 0.5996 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.151e-05/0.5023, allocations: 0 / 0.5996 GB, free: 2.758 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.5023, allocations: 0 / 0.5996 GB, free: 2.758 MB / 410.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.784e-05/0.5024, allocations: 148.1 kB / 0.5997 GB, free: 2.598 MB / 410.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 8.697e-06/0.5025, allocations: 3.953 kB / 0.5997 GB, free: 2.594 MB / 410.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.4e-05/0.5025, allocations: 3.125 kB / 0.5997 GB, free: 2.59 MB / 410.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.082e-06/0.5025, allocations: 0 / 0.5997 GB, free: 2.59 MB / 410.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.5025, allocations: 0 / 0.5997 GB, free: 2.59 MB / 410.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.775e-06/0.5025, allocations: 0 / 0.5997 GB, free: 2.59 MB / 410.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001076/0.5026, allocations: 149.7 kB / 0.5999 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 7.31e-07/0.5026, allocations: 0 / 0.5999 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.51e-07/0.5026, allocations: 0 / 0.5999 GB, free: 2.395 MB / 410.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.918e-06/0.5026, allocations: 3.953 kB / 0.5999 GB, free: 2.391 MB / 410.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 6.372e-06/0.5026, allocations: 4 kB / 0.5999 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 7.92e-07/0.5027, allocations: 0 / 0.5999 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.92e-07/0.5027, allocations: 0 / 0.5999 GB, free: 2.387 MB / 410.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 9.422e-05/0.5028, allocations: 94.77 kB / 0.6 GB, free: 2.27 MB / 410.7 MB Notification: Performance of postOpt removeConstants (simulation): time 3.845e-05/0.5028, allocations: 77.11 kB / 0.6001 GB, free: 2.176 MB / 410.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.641e-05/0.5028, allocations: 7.953 kB / 0.6001 GB, free: 2.168 MB / 410.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.005e-06/0.5028, allocations: 3.938 kB / 0.6001 GB, free: 2.164 MB / 410.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.261e-05/0.5029, allocations: 4 kB / 0.6001 GB, free: 2.16 MB / 410.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.5029, allocations: 8.016 kB / 0.6001 GB, free: 2.152 MB / 410.7 MB Notification: Performance of sorting global known variables: time 3.073e-05/0.5029, allocations: 75.28 kB / 0.6002 GB, free: 2.078 MB / 410.7 MB Notification: Performance of sort global known variables: time 1.1e-07/0.5029, allocations: 0 / 0.6002 GB, free: 2.078 MB / 410.7 MB Notification: Performance of remove unused functions: time 0.0003577/0.5033, allocations: 83.88 kB / 0.6002 GB, free: 1.996 MB / 410.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.0007805/0.5041, allocations: 0.7236 MB / 0.6009 GB, free: 1.246 MB / 410.7 MB Notification: Performance of simCode: created initialization part: time 9.613e-05/0.5042, allocations: 71.33 kB / 0.601 GB, free: 1.164 MB / 410.7 MB Notification: Performance of simCode: created event and clocks part: time 3.556e-06/0.5042, allocations: 0 / 0.601 GB, free: 1.164 MB / 410.7 MB Notification: Performance of simCode: created simulation system equations: time 3.452e-05/0.5042, allocations: 59.34 kB / 0.6011 GB, free: 1.094 MB / 410.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.922e-05/0.5043, allocations: 5.828 kB / 0.6011 GB, free: 1.09 MB / 410.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003583/0.5047, allocations: 144.3 kB / 0.6012 GB, free: 0.9062 MB / 410.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002747/0.505, allocations: 0.6731 MB / 0.6019 GB, free: 212 kB / 410.7 MB Notification: Performance of simCode: alias equations: time 6.913e-06/0.505, allocations: 3.938 kB / 0.6019 GB, free: 208 kB / 410.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.501e-05/0.505, allocations: 11.44 kB / 0.6019 GB, free: 196 kB / 410.7 MB Notification: Performance of SimCode: time 2.4e-07/0.505, allocations: 4.125 kB / 0.6019 GB, free: 192 kB / 410.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01394/0.519, allocations: 2.047 MB / 0.6039 GB, free: 14.24 MB / 426.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002102/0.5192, allocations: 203.9 kB / 0.6041 GB, free: 14 MB / 426.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.637/2.156, allocations: 0 / 0.6041 GB, free: 14 MB / 426.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