Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.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.TestMatrices2b,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Math.TestMatrices2b,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b",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.001665/0.001666, allocations: 177.3 kB / 17.06 MB, free: 5.094 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.467/1.467, allocations: 223.2 MB / 241 MB, free: 10.14 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.001/0.001, allocations: 101.1 kB / 292.1 MB, free: 10.7 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.3984/0.3984, allocations: 44.21 MB / 387.5 MB, free: 38.57 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 0.0003831/0.0003831, allocations: 8 kB / 460 MB, free: 1.43 MB / 330.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3956/0.396, allocations: 61.9 MB / 0.5096 GB, free: 37.77 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.1245/0.5205, allocations: 89.96 MB / 0.5975 GB, free: 5.137 MB / 410.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002663/0.5208, allocations: 67.94 kB / 0.5976 GB, free: 5.074 MB / 410.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.07127/0.5921, allocations: 25.84 MB / 0.6228 GB, free: 11.2 MB / 442.7 MB Notification: Performance of FrontEnd: time 2.835e-06/0.5921, allocations: 0 / 0.6228 GB, free: 11.2 MB / 442.7 MB Notification: Performance of Transformations before backend: time 1.04e-05/0.5922, allocations: 0 / 0.6228 GB, free: 11.2 MB / 442.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.0007099/0.5929, allocations: 440.8 kB / 0.6232 GB, free: 10.71 MB / 442.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.971e-05/0.5929, allocations: 12.03 kB / 0.6232 GB, free: 10.7 MB / 442.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.494e-05/0.593, allocations: 34.56 kB / 0.6233 GB, free: 10.66 MB / 442.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.83e-05/0.593, allocations: 8 kB / 0.6233 GB, free: 10.65 MB / 442.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001189/0.5931, allocations: 167 kB / 0.6234 GB, free: 10.45 MB / 442.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.5932, allocations: 0 / 0.6234 GB, free: 10.45 MB / 442.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 7.384e-06/0.5932, allocations: 3.938 kB / 0.6234 GB, free: 10.44 MB / 442.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.409e-05/0.5933, allocations: 29.7 kB / 0.6235 GB, free: 10.41 MB / 442.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 7.914e-06/0.5933, allocations: 0 / 0.6235 GB, free: 10.41 MB / 442.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.205e-06/0.5933, allocations: 0 / 0.6235 GB, free: 10.41 MB / 442.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.612e-06/0.5934, allocations: 0 / 0.6235 GB, free: 10.41 MB / 442.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 2.288e-05/0.5934, allocations: 4 kB / 0.6235 GB, free: 10.4 MB / 442.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001645/0.5936, allocations: 153.6 kB / 0.6236 GB, free: 10.2 MB / 442.7 MB Notification: Performance of preOpt comSubExp (simulation): time 4.135e-05/0.5936, allocations: 18.58 kB / 0.6236 GB, free: 10.18 MB / 442.7 MB Notification: Performance of preOpt evalFunc (simulation): time 7.724e-06/0.5936, allocations: 3.938 kB / 0.6236 GB, free: 10.17 MB / 442.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.579e-05/0.5937, allocations: 60.36 kB / 0.6237 GB, free: 10.1 MB / 442.7 MB Notification: Performance of pre-optimization done (n=1): time 1.132e-06/0.5937, allocations: 0 / 0.6237 GB, free: 10.1 MB / 442.7 MB Notification: Performance of matching and sorting (n=1): time 0.0001851/0.5939, allocations: 63.39 kB / 0.6237 GB, free: 10.02 MB / 442.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.34e-05/0.5939, allocations: 81.11 kB / 0.6238 GB, free: 9.926 MB / 442.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 5.07e-05/0.594, allocations: 85 kB / 0.6239 GB, free: 9.836 MB / 442.7 MB Notification: Performance of collectPreVariables (initialization): time 1.282e-05/0.594, allocations: 25.7 kB / 0.6239 GB, free: 9.805 MB / 442.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.998e-05/0.594, allocations: 84.14 kB / 0.624 GB, free: 9.719 MB / 442.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.951e-05/0.5941, allocations: 0 / 0.624 GB, free: 9.719 MB / 442.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.184e-06/0.5941, allocations: 3.938 kB / 0.624 GB, free: 9.715 MB / 442.7 MB Notification: Performance of setup shared object (initialization): time 0.0001211/0.5942, allocations: 310.8 kB / 0.6243 GB, free: 9.402 MB / 442.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.089e-05/0.5942, allocations: 8.125 kB / 0.6243 GB, free: 9.395 MB / 442.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.484e-06/0.5942, allocations: 3.938 kB / 0.6243 GB, free: 9.391 MB / 442.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.741e-05/0.5943, allocations: 25.7 kB / 0.6243 GB, free: 9.359 MB / 442.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.154e-06/0.5943, allocations: 0 / 0.6243 GB, free: 9.359 MB / 442.7 MB Notification: Performance of matching and sorting (n=1) (initialization): time 7.558e-05/0.5944, allocations: 71.28 kB / 0.6244 GB, free: 9.277 MB / 442.7 MB Notification: Performance of prepare postOptimizeDAE: time 3.626e-05/0.5944, allocations: 29.7 kB / 0.6244 GB, free: 9.242 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.5944, allocations: 0 / 0.6244 GB, free: 9.242 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.385e-05/0.5944, allocations: 4 kB / 0.6244 GB, free: 9.238 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.01e-07/0.5944, allocations: 0 / 0.6244 GB, free: 9.238 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.599e-06/0.5945, allocations: 0 / 0.6244 GB, free: 9.238 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 1.519e-05/0.5945, allocations: 8.094 kB / 0.6244 GB, free: 9.23 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.953e-06/0.5945, allocations: 0 / 0.6244 GB, free: 9.23 MB / 442.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.0001016/0.5946, allocations: 140.1 kB / 0.6246 GB, free: 9.078 MB / 442.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.247e-06/0.5946, allocations: 3.953 kB / 0.6246 GB, free: 9.074 MB / 442.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 1.657e-05/0.5946, allocations: 7.109 kB / 0.6246 GB, free: 9.066 MB / 442.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.843e-06/0.5946, allocations: 0 / 0.6246 GB, free: 9.066 MB / 442.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.108e-06/0.5947, allocations: 0 / 0.6246 GB, free: 9.066 MB / 442.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.905e-06/0.5947, allocations: 0 / 0.6246 GB, free: 9.066 MB / 442.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001114/0.5948, allocations: 145.7 kB / 0.6247 GB, free: 8.875 MB / 442.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.112e-06/0.5948, allocations: 4 kB / 0.6247 GB, free: 8.871 MB / 442.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.937e-06/0.5948, allocations: 7.922 kB / 0.6247 GB, free: 8.863 MB / 442.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.984e-06/0.5948, allocations: 0 / 0.6247 GB, free: 8.863 MB / 442.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.737e-06/0.5948, allocations: 3.953 kB / 0.6247 GB, free: 8.859 MB / 442.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.5948, allocations: 0 / 0.6247 GB, free: 8.859 MB / 442.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.5948, allocations: 4 kB / 0.6248 GB, free: 8.855 MB / 442.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001018/0.5949, allocations: 82.84 kB / 0.6248 GB, free: 8.75 MB / 442.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.608e-05/0.595, allocations: 81.12 kB / 0.6249 GB, free: 8.652 MB / 442.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.629e-05/0.595, allocations: 8 kB / 0.6249 GB, free: 8.645 MB / 442.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 1.275e-05/0.595, allocations: 3.953 kB / 0.6249 GB, free: 8.641 MB / 442.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 1.529e-05/0.5951, allocations: 4 kB / 0.6249 GB, free: 8.637 MB / 442.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.488e-06/0.5951, allocations: 4 kB / 0.6249 GB, free: 8.633 MB / 442.7 MB Notification: Performance of sorting global known variables: time 3.141e-05/0.5951, allocations: 75.28 kB / 0.625 GB, free: 8.559 MB / 442.7 MB Notification: Performance of sort global known variables: time 1.2e-07/0.5951, allocations: 0 / 0.625 GB, free: 8.559 MB / 442.7 MB Notification: Performance of remove unused functions: time 0.0005805/0.5957, allocations: 163.8 kB / 0.6252 GB, free: 8.398 MB / 442.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.001306/0.597, allocations: 0.8644 MB / 0.626 GB, free: 7.52 MB / 442.7 MB Notification: Performance of simCode: created initialization part: time 0.0001048/0.5971, allocations: 63.39 kB / 0.6261 GB, free: 7.445 MB / 442.7 MB Notification: Performance of simCode: created event and clocks part: time 2.294e-06/0.5971, allocations: 0 / 0.6261 GB, free: 7.445 MB / 442.7 MB Notification: Performance of simCode: created simulation system equations: time 3.669e-05/0.5972, allocations: 55.41 kB / 0.6261 GB, free: 7.379 MB / 442.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 8.738e-05/0.5973, allocations: 12.08 kB / 0.6261 GB, free: 7.367 MB / 442.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004957/0.5978, allocations: 184.1 kB / 0.6263 GB, free: 7.145 MB / 442.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002695/0.5981, allocations: 0.6692 MB / 0.627 GB, free: 6.449 MB / 442.7 MB Notification: Performance of simCode: alias equations: time 1.002e-05/0.5981, allocations: 0 / 0.627 GB, free: 6.449 MB / 442.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 1.763e-05/0.5981, allocations: 11.44 kB / 0.627 GB, free: 6.438 MB / 442.7 MB Notification: Performance of SimCode: time 3.01e-07/0.5981, allocations: 0 / 0.627 GB, free: 6.438 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02128/0.6194, allocations: 5.251 MB / 0.6321 GB, free: 1.281 MB / 442.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002712/0.6197, allocations: 207.3 kB / 0.6323 GB, free: 1.043 MB / 442.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.831/2.451, allocations: 0 / 0.6323 GB, free: 1.043 MB / 442.7 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b_fmu --startTime=0 --stopTime=0 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Math_TestMatrices2b.fmu > ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Math.TestMatrices2b_res.mat does not exist to compare? outputFormat=mat