Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.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.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test5,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5",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.001215/0.001215, 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.563/1.563, allocations: 205.3 MB / 213.7 MB, free: 1.734 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.000783/0.000783, allocations: 86.62 kB / 261.7 MB, free: 1.68 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.2197/0.2197, allocations: 43.5 MB / 353.2 MB, free: 292 kB / 250.7 MB Notification: Performance of FrontEnd - loaded program: time 2.126e-05/2.122e-05, allocations: 4 kB / 418.4 MB, free: 28.45 MB / 282.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1364/0.1365, allocations: 58.86 MB / 477.2 MB, free: 1.547 MB / 314.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.448/0.5846, allocations: 86.5 MB / 0.5505 GB, free: 8.27 MB / 362.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002089/0.5848, allocations: 79.98 kB / 0.5506 GB, free: 8.23 MB / 362.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01416/0.599, allocations: 7.743 MB / 0.5581 GB, free: 1.617 MB / 362.7 MB Notification: Performance of FrontEnd: time 1.112e-06/0.599, allocations: 0 / 0.5581 GB, free: 1.617 MB / 362.7 MB Notification: Performance of Transformations before backend: time 2.002e-05/0.5991, allocations: 8 kB / 0.5581 GB, free: 1.609 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0004233/0.5995, allocations: 0.558 MB / 0.5587 GB, free: 1.027 MB / 362.7 MB Notification: Performance of prepare preOptimizeDAE: time 4.117e-05/0.5996, allocations: 8.031 kB / 0.5587 GB, free: 1.02 MB / 362.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.26e-05/0.5996, allocations: 47.39 kB / 0.5587 GB, free: 0.9727 MB / 362.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003716/0.6, allocations: 326.1 kB / 0.5591 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.13e-05/0.6, allocations: 0 / 0.5591 GB, free: 0.6367 MB / 362.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.083e-05/0.6, allocations: 4 kB / 0.5591 GB, free: 0.6328 MB / 362.7 MB Notification: Performance of preOpt removeEqualFunctionCalls (simulation): time 8.154e-05/0.6001, allocations: 22.92 kB / 0.5591 GB, free: 0.6172 MB / 362.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 7.471e-05/0.6002, allocations: 41.31 kB / 0.5591 GB, free: 0.5742 MB / 362.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.303e-05/0.6002, allocations: 7.984 kB / 0.5591 GB, free: 0.5664 MB / 362.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.888e-06/0.6002, allocations: 3.938 kB / 0.5591 GB, free: 0.5625 MB / 362.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.26e-06/0.6003, allocations: 7.953 kB / 0.5591 GB, free: 0.5547 MB / 362.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004763/0.6007, allocations: 415.9 kB / 0.5595 GB, free: 172 kB / 362.7 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001591/0.6009, allocations: 41.62 kB / 0.5596 GB, free: 128 kB / 362.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 2.514e-05/0.601, allocations: 12.86 kB / 0.5596 GB, free: 112 kB / 362.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.201e-05/0.601, allocations: 0 / 0.5596 GB, free: 112 kB / 362.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.701e-05/0.601, allocations: 34.56 kB / 0.5596 GB, free: 68 kB / 362.7 MB Notification: Performance of pre-optimization done (n=3): time 8.82e-07/0.601, allocations: 3.938 kB / 0.5596 GB, free: 64 kB / 362.7 MB Notification: Performance of matching and sorting (n=5): time 0.000471/0.6015, allocations: 190.1 kB / 0.5598 GB, free: 15.88 MB / 378.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.263e-05/0.6015, allocations: 51.41 kB / 0.5599 GB, free: 15.82 MB / 378.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001108/0.6026, allocations: 0.7618 MB / 0.5606 GB, free: 15.23 MB / 378.7 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.6027, allocations: 25.7 kB / 0.5606 GB, free: 15.2 MB / 378.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.00014/0.6028, allocations: 213.2 kB / 0.5608 GB, free: 15.07 MB / 378.7 MB Notification: Performance of collectInitialBindings (initialization): time 2.492e-05/0.6029, allocations: 15.12 kB / 0.5608 GB, free: 15.06 MB / 378.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.358e-06/0.6029, allocations: 0 / 0.5608 GB, free: 15.06 MB / 378.7 MB Notification: Performance of setup shared object (initialization): time 0.0001704/0.6031, allocations: 361.3 kB / 0.5612 GB, free: 14.72 MB / 378.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.723e-05/0.6031, allocations: 11.12 kB / 0.5612 GB, free: 14.71 MB / 378.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.982e-05/0.6031, allocations: 11.69 kB / 0.5612 GB, free: 14.7 MB / 378.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.513e-05/0.6032, allocations: 20.27 kB / 0.5612 GB, free: 14.69 MB / 378.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.91e-07/0.6032, allocations: 4 kB / 0.5612 GB, free: 14.68 MB / 378.7 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.000135/0.6033, allocations: 102.8 kB / 0.5613 GB, free: 14.59 MB / 378.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.473e-05/0.6033, allocations: 4 kB / 0.5613 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.721e-06/0.6033, allocations: 0 / 0.5613 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.573e-05/0.6034, allocations: 3.953 kB / 0.5613 GB, free: 14.58 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.364e-05/0.6034, allocations: 15.98 kB / 0.5614 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.998e-06/0.6035, allocations: 0 / 0.5614 GB, free: 14.56 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.05e-05/0.6035, allocations: 8.156 kB / 0.5614 GB, free: 14.55 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.434e-06/0.6035, allocations: 11.31 kB / 0.5614 GB, free: 14.55 MB / 378.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 7.752e-05/0.6036, allocations: 101 kB / 0.5615 GB, free: 14.44 MB / 378.7 MB Notification: Performance of postOpt createAliasVarsForOutputStates (simulation): time 0.0001463/0.6038, allocations: 104.9 kB / 0.5616 GB, free: 14.34 MB / 378.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.007e-05/0.6039, allocations: 43.48 kB / 0.5616 GB, free: 14.3 MB / 378.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002025/0.6041, allocations: 118.1 kB / 0.5617 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.943e-06/0.6041, allocations: 0 / 0.5617 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.43e-06/0.6041, allocations: 0 / 0.5617 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.6041, allocations: 0 / 0.5617 GB, free: 14.19 MB / 378.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006726/0.6048, allocations: 0.5548 MB / 0.5623 GB, free: 13.67 MB / 378.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.296e-06/0.6048, allocations: 7.891 kB / 0.5623 GB, free: 13.66 MB / 378.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 6.321e-05/0.6049, allocations: 15.98 kB / 0.5623 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.295e-06/0.6049, allocations: 0 / 0.5623 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.925e-06/0.6049, allocations: 0 / 0.5623 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.423e-06/0.6049, allocations: 256 / 0.5623 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 6.182e-06/0.6049, allocations: 7.984 kB / 0.5623 GB, free: 13.64 MB / 378.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002021/0.6051, allocations: 200.5 kB / 0.5625 GB, free: 13.44 MB / 378.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.000184/0.6053, allocations: 170.1 kB / 0.5626 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.028e-05/0.6054, allocations: 0 / 0.5626 GB, free: 13.26 MB / 378.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.656e-05/0.6055, allocations: 11.98 kB / 0.5627 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.653e-05/0.6055, allocations: 0 / 0.5627 GB, free: 13.25 MB / 378.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.212e-06/0.6055, allocations: 4 kB / 0.5627 GB, free: 13.25 MB / 378.7 MB Notification: Performance of sorting global known variables: time 0.0006574/0.6062, allocations: 0.6095 MB / 0.5633 GB, free: 12.81 MB / 378.7 MB Notification: Performance of sort global known variables: time 1.3e-07/0.6062, allocations: 0 / 0.5633 GB, free: 12.81 MB / 378.7 MB Notification: Performance of remove unused functions: time 0.0003012/0.6065, allocations: 55.94 kB / 0.5633 GB, free: 12.76 MB / 378.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.001234/0.6077, allocations: 0.9726 MB / 0.5643 GB, free: 11.83 MB / 378.7 MB Notification: Performance of simCode: created initialization part: time 0.0001086/0.6079, allocations: 37.67 kB / 0.5643 GB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: created event and clocks part: time 1.963e-06/0.6079, allocations: 0 / 0.5643 GB, free: 11.8 MB / 378.7 MB Notification: Performance of simCode: created simulation system equations: time 3.073e-05/0.6079, allocations: 18.44 kB / 0.5643 GB, free: 11.79 MB / 378.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002771/0.6082, allocations: 22.64 kB / 0.5643 GB, free: 11.77 MB / 378.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001264/0.6095, allocations: 0.8227 MB / 0.5651 GB, free: 10.99 MB / 378.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004371/0.6099, allocations: 0.8344 MB / 0.566 GB, free: 10.15 MB / 378.7 MB Notification: Performance of simCode: alias equations: time 9.281e-05/0.61, allocations: 47.98 kB / 0.566 GB, free: 10.1 MB / 378.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001586/0.6102, allocations: 117.8 kB / 0.5661 GB, free: 10.07 MB / 378.7 MB Notification: Performance of SimCode: time 3.51e-07/0.6102, allocations: 0 / 0.5661 GB, free: 10.07 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03287/0.6431, allocations: 5.849 MB / 0.5718 GB, free: 4.215 MB / 378.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002055/0.6433, allocations: 168.2 kB / 0.572 GB, free: 4.016 MB / 378.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.911/2.554, allocations: 0 / 0.572 GB, free: 4.016 MB / 378.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test5.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test5_res.mat does not exist to compare? outputFormat=mat