Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.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.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Ds.Test21,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21",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.001727/0.001727, allocations: 180.9 kB / 8.006 MB, free: 1.07 MB / 5.871 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.357/1.357, allocations: 205.3 MB / 213.7 MB, free: 1.727 MB / 170.7 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 3.2.3+maint.om/package.mo): time 0.0008705/0.0008706, allocations: 90.58 kB / 261.7 MB, free: 1.668 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.2358/0.2358, allocations: 43.49 MB / 353.2 MB, free: 276 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.573e-05/2.577e-05, allocations: 4 kB / 418.4 MB, free: 28.44 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1442/0.1442, allocations: 58.86 MB / 477.2 MB, free: 1.539 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.5036/0.6479, allocations: 85.87 MB / 0.5499 GB, free: 8.5 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002542/0.6483, allocations: 70.56 kB / 0.55 GB, free: 8.469 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.009436/0.6577, allocations: 3.999 MB / 0.5539 GB, free: 5.473 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.874e-06/0.6578, allocations: 0 / 0.5539 GB, free: 5.473 MB / 362.7 MB Notification: Performance of Transformations before backend: time 1.152e-05/0.6578, allocations: 4 kB / 0.5539 GB, free: 5.469 MB / 362.7 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0002959/0.6581, allocations: 369.5 kB / 0.5542 GB, free: 5.07 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.142e-05/0.6581, allocations: 8.031 kB / 0.5542 GB, free: 5.062 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.765e-05/0.6582, allocations: 12.53 kB / 0.5542 GB, free: 5.051 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002125/0.6584, allocations: 189.9 kB / 0.5544 GB, free: 4.832 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.116e-05/0.6584, allocations: 0 / 0.5544 GB, free: 4.832 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.616e-05/0.6584, allocations: 7.938 kB / 0.5544 GB, free: 4.824 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 6.33e-05/0.6585, allocations: 11.38 kB / 0.5544 GB, free: 4.816 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 9.577e-05/0.6586, allocations: 58.7 kB / 0.5545 GB, free: 4.75 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.592e-05/0.6586, allocations: 3.312 kB / 0.5545 GB, free: 4.75 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.366e-05/0.6587, allocations: 0 / 0.5545 GB, free: 4.75 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.023e-06/0.6587, allocations: 3.938 kB / 0.5545 GB, free: 4.746 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002925/0.659, allocations: 252.9 kB / 0.5547 GB, free: 4.473 MB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000157/0.6591, allocations: 41.62 kB / 0.5548 GB, free: 4.43 MB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.28e-05/0.6592, allocations: 8.859 kB / 0.5548 GB, free: 4.418 MB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 1.949e-05/0.6592, allocations: 0 / 0.5548 GB, free: 4.418 MB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.908e-05/0.6592, allocations: 34.56 kB / 0.5548 GB, free: 4.375 MB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 1.032e-06/0.6592, allocations: 0 / 0.5548 GB, free: 4.375 MB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.00037/0.6596, allocations: 96.11 kB / 0.5549 GB, free: 4.285 MB / 362.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.562e-05/0.6596, allocations: 80.36 kB / 0.555 GB, free: 4.191 MB / 362.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 9.306e-05/0.6597, allocations: 118.6 kB / 0.5551 GB, free: 4.078 MB / 362.7 MB Notification: Performance of collectPreVariables (initialization): time 1.281e-05/0.6598, allocations: 25.7 kB / 0.5551 GB, free: 4.047 MB / 362.7 MB Notification: Performance of collectInitialEqns (initialization): time 2.782e-05/0.6598, allocations: 98.44 kB / 0.5552 GB, free: 3.953 MB / 362.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.463e-05/0.6598, allocations: 15.75 kB / 0.5552 GB, free: 3.938 MB / 362.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.646e-06/0.6598, allocations: 0 / 0.5552 GB, free: 3.938 MB / 362.7 MB Notification: Performance of setup shared object (initialization): time 5.316e-05/0.6599, allocations: 328.5 kB / 0.5556 GB, free: 3.613 MB / 362.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 1.765e-05/0.6599, allocations: 6.938 kB / 0.5556 GB, free: 3.609 MB / 362.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.022e-05/0.6599, allocations: 24.47 kB / 0.5556 GB, free: 3.582 MB / 362.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.356e-05/0.66, allocations: 6.75 kB / 0.5556 GB, free: 3.578 MB / 362.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 6.21e-07/0.66, allocations: 0 / 0.5556 GB, free: 3.578 MB / 362.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 7.364e-05/0.66, allocations: 63.91 kB / 0.5556 GB, free: 3.52 MB / 362.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.149e-05/0.6601, allocations: 8.031 kB / 0.5557 GB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.308e-06/0.6601, allocations: 0 / 0.5557 GB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.3e-05/0.6601, allocations: 0 / 0.5557 GB, free: 3.512 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.296e-05/0.6602, allocations: 15.98 kB / 0.5557 GB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.16e-06/0.6602, allocations: 0 / 0.5557 GB, free: 3.496 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.206e-05/0.6602, allocations: 8 kB / 0.5557 GB, free: 3.488 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.661e-06/0.6602, allocations: 0 / 0.5557 GB, free: 3.488 MB / 362.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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 4.984e-05/0.6603, allocations: 104.9 kB / 0.5558 GB, free: 3.379 MB / 362.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 7.841e-05/0.6604, allocations: 68.34 kB / 0.5558 GB, free: 3.312 MB / 362.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.378e-05/0.6604, allocations: 4 kB / 0.5558 GB, free: 3.309 MB / 362.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001125/0.6605, allocations: 67.98 kB / 0.5559 GB, free: 3.246 MB / 362.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.623e-06/0.6605, allocations: 4.375 kB / 0.5559 GB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.258e-06/0.6605, allocations: 0 / 0.5559 GB, free: 3.242 MB / 362.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.906e-06/0.6606, allocations: 3.953 kB / 0.5559 GB, free: 3.238 MB / 362.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002151/0.6608, allocations: 300 kB / 0.5562 GB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.6608, allocations: 0 / 0.5562 GB, free: 2.922 MB / 362.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.48e-05/0.6608, allocations: 16 kB / 0.5562 GB, free: 2.906 MB / 362.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.023e-06/0.6609, allocations: 3.938 kB / 0.5562 GB, free: 2.902 MB / 362.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.676e-06/0.6609, allocations: 7.984 kB / 0.5562 GB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.432e-06/0.6609, allocations: 0 / 0.5562 GB, free: 2.895 MB / 362.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.506e-06/0.6609, allocations: 3.953 kB / 0.5562 GB, free: 2.891 MB / 362.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001092/0.661, allocations: 157.2 kB / 0.5564 GB, free: 2.73 MB / 362.7 MB Notification: Performance of postOpt removeConstants (simulation): time 4.07e-05/0.661, allocations: 84.73 kB / 0.5565 GB, free: 2.633 MB / 362.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.911e-05/0.6611, allocations: 4 kB / 0.5565 GB, free: 2.629 MB / 362.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.288e-05/0.6612, allocations: 11.98 kB / 0.5565 GB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.113e-05/0.6612, allocations: 0 / 0.5565 GB, free: 2.617 MB / 362.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.39e-06/0.6612, allocations: 11.89 kB / 0.5565 GB, free: 2.605 MB / 362.7 MB Notification: Performance of sorting global known variables: time 4.699e-05/0.6613, allocations: 101.5 kB / 0.5566 GB, free: 2.516 MB / 362.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6613, allocations: 0 / 0.5566 GB, free: 2.516 MB / 362.7 MB Notification: Performance of remove unused functions: time 0.0002325/0.6615, allocations: 27.91 kB / 0.5566 GB, free: 2.492 MB / 362.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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (5): * Single equations (assignments): 5 * Array equations: 0 * Algorithm blocks: 0 * 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.0009716/0.6625, allocations: 0.9615 MB / 0.5576 GB, free: 1.574 MB / 362.7 MB Notification: Performance of simCode: created initialization part: time 0.0001015/0.6626, allocations: 29.48 kB / 0.5576 GB, free: 1.555 MB / 362.7 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.6626, allocations: 0 / 0.5576 GB, free: 1.555 MB / 362.7 MB Notification: Performance of simCode: created simulation system equations: time 2.522e-05/0.6626, allocations: 15.31 kB / 0.5576 GB, free: 1.543 MB / 362.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002502/0.6629, allocations: 13.75 kB / 0.5576 GB, free: 1.535 MB / 362.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004207/0.6633, allocations: 148.5 kB / 0.5578 GB, free: 1.355 MB / 362.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002252/0.6636, allocations: 0.7039 MB / 0.5584 GB, free: 0.625 MB / 362.7 MB Notification: Performance of simCode: alias equations: time 6.042e-05/0.6636, allocations: 8.25 kB / 0.5584 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.966e-05/0.6637, allocations: 26.11 kB / 0.5585 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of SimCode: time 2.81e-07/0.6637, allocations: 0 / 0.5585 GB, free: 0.6016 MB / 362.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02269/0.6864, allocations: 1.932 MB / 0.5604 GB, free: 14.68 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001981/0.6867, allocations: 173.8 kB / 0.5605 GB, free: 14.47 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.699/2.386, allocations: 0 / 0.5605 GB, free: 14.47 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable1Ds_Test21.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable1Ds.Test21_res.mat does not exist to compare? outputFormat=mat