Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.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.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test9,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9",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.001887/0.001887, allocations: 183.7 kB / 13.19 MB, free: 2.129 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.909/1.909, allocations: 205.2 MB / 218.9 MB, free: 9.215 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.001083/0.001083, allocations: 89.81 kB / 267.1 MB, free: 9.273 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.4406/0.4406, allocations: 43.47 MB / 358.6 MB, free: 51.68 MB / 298.7 MB Notification: Performance of FrontEnd - loaded program: time 3.939e-05/3.943e-05, allocations: 4 kB / 425.4 MB, free: 8.109 MB / 314.7 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1444/0.1445, allocations: 58.85 MB / 484.3 MB, free: 13.16 MB / 378.7 MB Notification: Performance of FrontEnd - scodeFlatten: time 0.4555/0.6001, allocations: 86.97 MB / 0.5578 GB, free: 16.93 MB / 394.7 MB Notification: Performance of FrontEnd - mkProgramGraph: time 0.0002345/0.6004, allocations: 69.05 kB / 0.5579 GB, free: 16.9 MB / 394.7 MB Notification: Performance of FrontEnd - DAE generated: time 0.01754/0.6179, allocations: 7.925 MB / 0.5656 GB, free: 11.45 MB / 394.7 MB Notification: Performance of FrontEnd: time 1.653e-06/0.618, allocations: 4 kB / 0.5656 GB, free: 11.45 MB / 394.7 MB Notification: Performance of Transformations before backend: time 2.42e-05/0.618, allocations: 8 kB / 0.5657 GB, free: 11.44 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0006891/0.6187, allocations: 0.5557 MB / 0.5662 GB, free: 10.86 MB / 394.7 MB Notification: Performance of prepare preOptimizeDAE: time 6.31e-05/0.6188, allocations: 12.03 kB / 0.5662 GB, free: 10.85 MB / 394.7 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.097e-05/0.6189, allocations: 35.38 kB / 0.5662 GB, free: 10.8 MB / 394.7 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.226e-05/0.6189, allocations: 43.44 kB / 0.5663 GB, free: 10.76 MB / 394.7 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005211/0.6195, allocations: 328.2 kB / 0.5666 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.645e-05/0.6195, allocations: 3.234 kB / 0.5666 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.812e-05/0.6195, allocations: 5.375 kB / 0.5666 GB, free: 10.41 MB / 394.7 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001451/0.6197, allocations: 48.83 kB / 0.5667 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.261e-05/0.6197, allocations: 3.984 kB / 0.5667 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.363e-05/0.6197, allocations: 0 / 0.5667 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.411e-05/0.6197, allocations: 7.234 kB / 0.5667 GB, free: 10.36 MB / 394.7 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 5.92e-05/0.6198, allocations: 18.81 kB / 0.5667 GB, free: 10.34 MB / 394.7 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006622/0.6205, allocations: 444.8 kB / 0.5671 GB, free: 9.914 MB / 394.7 MB Notification: Performance of preOpt comSubExp (simulation): time 9.228e-05/0.6206, allocations: 34.38 kB / 0.5671 GB, free: 9.875 MB / 394.7 MB Notification: Performance of preOpt resolveLoops (simulation): time 3.084e-05/0.6206, allocations: 16.48 kB / 0.5672 GB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt evalFunc (simulation): time 2.396e-05/0.6206, allocations: 0 / 0.5672 GB, free: 9.859 MB / 394.7 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 1.817e-05/0.6207, allocations: 39.39 kB / 0.5672 GB, free: 9.816 MB / 394.7 MB Notification: Performance of pre-optimization done (n=3): time 8.32e-07/0.6207, allocations: 0 / 0.5672 GB, free: 9.816 MB / 394.7 MB Notification: Performance of matching and sorting (n=3): time 0.0001946/0.6209, allocations: 104 kB / 0.5673 GB, free: 9.715 MB / 394.7 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.64e-05/0.6209, allocations: 55.41 kB / 0.5673 GB, free: 9.648 MB / 394.7 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001014/0.6219, allocations: 0.7727 MB / 0.5681 GB, free: 9.047 MB / 394.7 MB Notification: Performance of collectPreVariables (initialization): time 1.299e-05/0.622, allocations: 29.7 kB / 0.5681 GB, free: 9.012 MB / 394.7 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001153/0.6221, allocations: 210.3 kB / 0.5683 GB, free: 8.895 MB / 394.7 MB Notification: Performance of collectInitialBindings (initialization): time 1.895e-05/0.6221, allocations: 11.84 kB / 0.5683 GB, free: 8.883 MB / 394.7 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.346e-06/0.6221, allocations: 0 / 0.5683 GB, free: 8.883 MB / 394.7 MB Notification: Performance of setup shared object (initialization): time 0.0001184/0.6222, allocations: 360.1 kB / 0.5687 GB, free: 8.539 MB / 394.7 MB Notification: Performance of preBalanceInitialSystem (initialization): time 2.67e-05/0.6223, allocations: 15.5 kB / 0.5687 GB, free: 8.527 MB / 394.7 MB Notification: Performance of partitionIndependentBlocks (initialization): time 1.782e-05/0.6223, allocations: 7.5 kB / 0.5687 GB, free: 8.523 MB / 394.7 MB Notification: Performance of analyzeInitialSystem (initialization): time 2.578e-05/0.6223, allocations: 11.48 kB / 0.5687 GB, free: 8.516 MB / 394.7 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.134e-06/0.6223, allocations: 4 kB / 0.5687 GB, free: 8.512 MB / 394.7 MB Notification: Performance of matching and sorting (n=3) (initialization): time 0.0001056/0.6224, allocations: 95.81 kB / 0.5688 GB, free: 8.418 MB / 394.7 MB Notification: Performance of prepare postOptimizeDAE: time 1.585e-05/0.6225, allocations: 4 kB / 0.5688 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.08e-06/0.6225, allocations: 0 / 0.5688 GB, free: 8.414 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.6225, allocations: 3.953 kB / 0.5688 GB, free: 8.41 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.903e-05/0.6226, allocations: 13.95 kB / 0.5688 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.956e-06/0.6226, allocations: 0 / 0.5688 GB, free: 8.398 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.765e-05/0.6227, allocations: 12 kB / 0.5688 GB, free: 8.387 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.087e-06/0.6227, allocations: 0 / 0.5688 GB, free: 8.387 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (3): * Single equations (assignments): 3 * 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 6.359e-05/0.6228, allocations: 105 kB / 0.5689 GB, free: 8.277 MB / 394.7 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 6.759e-05/0.6229, allocations: 39.44 kB / 0.569 GB, free: 8.238 MB / 394.7 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001874/0.623, allocations: 118.8 kB / 0.5691 GB, free: 8.129 MB / 394.7 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.897e-06/0.6231, allocations: 3.953 kB / 0.5691 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.579e-06/0.6231, allocations: 0 / 0.5691 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.416e-06/0.6231, allocations: 0 / 0.5691 GB, free: 8.125 MB / 394.7 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002893/0.6234, allocations: 332.2 kB / 0.5694 GB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.02e-07/0.6234, allocations: 0 / 0.5694 GB, free: 7.797 MB / 394.7 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.305e-05/0.6234, allocations: 11.98 kB / 0.5694 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.6234, allocations: 0 / 0.5694 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.819e-06/0.6235, allocations: 3 kB / 0.5694 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.6235, allocations: 0 / 0.5694 GB, free: 7.785 MB / 394.7 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.6235, allocations: 3.953 kB / 0.5694 GB, free: 7.781 MB / 394.7 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001463/0.6236, allocations: 186.9 kB / 0.5696 GB, free: 7.59 MB / 394.7 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001999/0.6238, allocations: 162.5 kB / 0.5698 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.754e-05/0.6239, allocations: 0 / 0.5698 GB, free: 7.422 MB / 394.7 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.502e-05/0.624, allocations: 11.98 kB / 0.5698 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.672e-05/0.624, allocations: 1.219 kB / 0.5698 GB, free: 7.41 MB / 394.7 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.822e-06/0.624, allocations: 3.953 kB / 0.5698 GB, free: 7.406 MB / 394.7 MB Notification: Performance of sorting global known variables: time 0.0005656/0.6246, allocations: 0.6374 MB / 0.5704 GB, free: 6.945 MB / 394.7 MB Notification: Performance of sort global known variables: time 1.5e-07/0.6246, allocations: 0 / 0.5704 GB, free: 6.945 MB / 394.7 MB Notification: Performance of remove unused functions: time 0.0002658/0.6249, allocations: 51.44 kB / 0.5705 GB, free: 6.898 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: 0 () * Number of discrete states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (3): * Single equations (assignments): 3 * 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.0008949/0.6258, allocations: 0.9463 MB / 0.5714 GB, free: 6.004 MB / 394.7 MB Notification: Performance of simCode: created initialization part: time 0.0001031/0.6259, allocations: 29.98 kB / 0.5714 GB, free: 5.984 MB / 394.7 MB Notification: Performance of simCode: created event and clocks part: time 1.843e-06/0.6259, allocations: 0 / 0.5714 GB, free: 5.984 MB / 394.7 MB Notification: Performance of simCode: created simulation system equations: time 2.57e-05/0.626, allocations: 12 kB / 0.5714 GB, free: 5.973 MB / 394.7 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002745/0.6262, allocations: 26.09 kB / 0.5714 GB, free: 5.961 MB / 394.7 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001013/0.6273, allocations: 0.8132 MB / 0.5722 GB, free: 5.195 MB / 394.7 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.6275, allocations: 0.8329 MB / 0.573 GB, free: 4.352 MB / 394.7 MB Notification: Performance of simCode: alias equations: time 7.32e-05/0.6276, allocations: 44.42 kB / 0.5731 GB, free: 4.305 MB / 394.7 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001415/0.6277, allocations: 112.9 kB / 0.5732 GB, free: 4.277 MB / 394.7 MB Notification: Performance of SimCode: time 2.5e-07/0.6278, allocations: 0 / 0.5732 GB, free: 4.277 MB / 394.7 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01701/0.6448, allocations: 6.263 MB / 0.5793 GB, free: 14.03 MB / 410.7 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001755/0.645, allocations: 189.5 kB / 0.5795 GB, free: 13.8 MB / 410.7 MB Notification: Performance of buildModelFMU: Generate platform static: time 2.155/2.8, allocations: 0 / 0.5795 GB, free: 13.8 MB / 410.7 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test9.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test9_res.mat does not exist to compare? outputFormat=mat