Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.conf.json 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/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/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 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) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test2,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.0009335/0.0009337, allocations: 97.61 kB / 16.99 MB, free: 5.941 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0011/0.0011, allocations: 178.2 kB / 17.87 MB, free: 5.609 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 4.0.0+maint.om/package.mo): time 1.43/1.43, allocations: 223.2 MB / 241.8 MB, free: 380 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2303/0.2303, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004105/0.0004107, allocations: 8 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1371/0.1376, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test2): time 0.00201/0.1396, allocations: 1.259 MB / 472.8 MB, free: 12.39 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0006596/0.1403, allocations: 363.7 kB / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.742e-05/0.1404, allocations: 0 / 473.2 MB, free: 12.04 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001864/0.1406, allocations: 23.84 kB / 473.2 MB, free: 12.01 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001587/0.1407, allocations: 23.91 kB / 473.2 MB, free: 11.99 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003085/0.1411, allocations: 103.7 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001335/0.1412, allocations: 35.91 kB / 473.3 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001038/0.1413, allocations: 11.98 kB / 473.4 MB, free: 11.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.2e-05/0.1414, allocations: 11.94 kB / 473.4 MB, free: 11.83 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.014e-05/0.1414, allocations: 19.84 kB / 473.4 MB, free: 11.81 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.462e-05/0.1415, allocations: 4 kB / 473.4 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.687e-05/0.1415, allocations: 20 kB / 473.4 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.48e-05/0.1416, allocations: 11.92 kB / 473.4 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.343e-05/0.1416, allocations: 33.64 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001275/0.1418, allocations: 56.2 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.534e-06/0.1418, allocations: 3.938 kB / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1418, allocations: 0 / 473.5 MB, free: 11.68 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.508e-06/0.1418, allocations: 0 / 473.5 MB, free: 11.68 MB / 350.1 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.0004283/0.1422, allocations: 367.1 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.061e-05/0.1423, allocations: 8.031 kB / 473.9 MB, free: 11.26 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.168e-05/0.1423, allocations: 34.56 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.432e-05/0.1423, allocations: 7.906 kB / 473.9 MB, free: 11.21 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001773/0.1425, allocations: 187 kB / 474.1 MB, free: 10.99 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.116e-06/0.1425, allocations: 3.938 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.98e-05/0.1426, allocations: 7.953 kB / 474.1 MB, free: 10.98 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001335/0.1427, allocations: 49.69 kB / 474.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.109e-05/0.1427, allocations: 0 / 474.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.245e-06/0.1427, allocations: 0 / 474.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.24e-06/0.1428, allocations: 0 / 474.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.197e-05/0.1429, allocations: 31.98 kB / 474.2 MB, free: 10.89 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003568/0.1432, allocations: 284.8 kB / 474.5 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000194/0.1434, allocations: 54.44 kB / 474.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.046e-05/0.1435, allocations: 0 / 474.5 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.299e-05/0.1435, allocations: 34.56 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.152e-06/0.1435, allocations: 0 / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005671/0.1441, allocations: 169.4 kB / 474.7 MB, free: 10.29 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.355e-05/0.1441, allocations: 51.41 kB / 474.8 MB, free: 10.22 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001244/0.1442, allocations: 141.1 kB / 474.9 MB, free: 10.07 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.381e-05/0.1443, allocations: 29.7 kB / 474.9 MB, free: 10.04 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.391e-05/0.1443, allocations: 96.03 kB / 475 MB, free: 9.941 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.161e-05/0.1443, allocations: 19.75 kB / 475.1 MB, free: 9.922 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.868e-06/0.1444, allocations: 4 kB / 475.1 MB, free: 9.918 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001016/0.1445, allocations: 322.8 kB / 475.4 MB, free: 9.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.892e-05/0.1445, allocations: 23.98 kB / 475.4 MB, free: 9.57 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.153e-05/0.1446, allocations: 23.98 kB / 475.4 MB, free: 9.547 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.073e-05/0.1447, allocations: 27.98 kB / 475.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.565e-06/0.1447, allocations: 0 / 475.4 MB, free: 9.52 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001843/0.1449, allocations: 97.5 kB / 475.5 MB, free: 9.418 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.815e-05/0.1449, allocations: 8 kB / 475.5 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.779e-06/0.1449, allocations: 0 / 475.5 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.147e-05/0.1449, allocations: 0 / 475.5 MB, free: 9.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.732e-05/0.145, allocations: 16 kB / 475.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.953e-06/0.145, allocations: 3.984 kB / 475.6 MB, free: 9.391 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.795e-05/0.1451, allocations: 4 kB / 475.6 MB, free: 9.387 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.583e-06/0.1451, allocations: 0 / 475.6 MB, free: 9.387 MB / 350.1 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 () * Number of clocked 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 0.0001042/0.1452, allocations: 122.3 kB / 475.7 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.615e-05/0.1452, allocations: 3.906 kB / 475.7 MB, free: 9.254 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002483/0.1455, allocations: 117.8 kB / 475.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.605e-06/0.1455, allocations: 0 / 475.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.889e-06/0.1455, allocations: 0 / 475.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.356e-06/0.1455, allocations: 0 / 475.8 MB, free: 9.133 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004137/0.1459, allocations: 366.5 kB / 476.2 MB, free: 8.719 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.623e-06/0.1459, allocations: 4.219 kB / 476.2 MB, free: 8.715 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.224e-05/0.146, allocations: 12 kB / 476.2 MB, free: 8.703 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.516e-06/0.146, allocations: 3.984 kB / 476.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.061e-05/0.146, allocations: 4 kB / 476.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.482e-06/0.146, allocations: 4.312 kB / 476.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.11e-07/0.146, allocations: 0 / 476.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002284/0.1463, allocations: 199.4 kB / 476.4 MB, free: 8.48 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.717e-05/0.1463, allocations: 85 kB / 476.5 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.205e-05/0.1464, allocations: 4 kB / 476.5 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.653e-05/0.1465, allocations: 12 kB / 476.5 MB, free: 8.363 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.381e-05/0.1465, allocations: 3.984 kB / 476.5 MB, free: 8.359 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.17e-06/0.1465, allocations: 4 kB / 476.5 MB, free: 8.355 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.535e-05/0.1466, allocations: 111.2 kB / 476.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.873e-06/0.1466, allocations: 0 / 476.6 MB, free: 8.246 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002406/0.1469, allocations: 15.94 kB / 476.6 MB, free: 8.23 MB / 350.1 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 () * Number of clocked 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.001491/0.1484, allocations: 1.017 MB / 477.6 MB, free: 7.344 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002106/0.1486, allocations: 55.97 kB / 477.7 MB, free: 7.289 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.535e-06/0.1486, allocations: 3.938 kB / 477.7 MB, free: 7.285 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.926e-05/0.1487, allocations: 27.98 kB / 477.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000276/0.149, allocations: 18.02 kB / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001055/0.15, allocations: 0.5632 MB / 478.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002862/0.1503, allocations: 0.6965 MB / 479 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.506e-05/0.1504, allocations: 11.98 kB / 479 MB, free: 5.898 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.143e-05/0.1505, allocations: 19.44 kB / 479 MB, free: 5.879 MB / 350.1 MB Notification: Performance of SimCode: time 2e-07/0.1505, allocations: 0 / 479 MB, free: 5.879 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01274/0.1632, allocations: 2.046 MB / 481.1 MB, free: 3.945 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003135/0.1636, allocations: 220.2 kB / 481.3 MB, free: 3.707 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.671/1.835, allocations: 4.062 kB / 481.3 MB, free: 3.703 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test2.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test2_res.mat does not exist to compare? outputFormat=mat