Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.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.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33",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.001056/0.001056, allocations: 94.34 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.001111/0.001111, allocations: 183 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.386/1.386, allocations: 223.2 MB / 241.8 MB, free: 14.66 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.198/0.198, allocations: 44.23 MB / 337.1 MB, free: 2.676 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003022/0.0003023, allocations: 12 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1343/0.1346, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test33): time 0.00182/0.1365, allocations: 1.259 MB / 472.8 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001433/0.1379, allocations: 0.9492 MB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.119e-05/0.138, allocations: 0 / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002329/0.1382, allocations: 23.91 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001903/0.1384, allocations: 31.84 kB / 473.8 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003123/0.1388, allocations: 83.89 kB / 473.9 MB, free: 11.27 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001411/0.1389, allocations: 47.83 kB / 473.9 MB, free: 11.22 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001161/0.139, allocations: 11.98 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 5.187e-05/0.1391, allocations: 15.92 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001683/0.1393, allocations: 19.86 kB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.494e-05/0.1393, allocations: 0 / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000101/0.1394, allocations: 31.98 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.92e-05/0.1395, allocations: 11.92 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.681e-05/0.1395, allocations: 33.7 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001542/0.1397, allocations: 68.12 kB / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.847e-06/0.1397, allocations: 0 / 474.1 MB, free: 11.03 MB / 350.1 MB Notification: Performance of FrontEnd: time 3.386e-06/0.1397, allocations: 3.938 kB / 474.1 MB, free: 11.02 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.829e-06/0.1397, allocations: 0 / 474.1 MB, free: 11.02 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.0005712/0.1403, allocations: 371.1 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.685e-05/0.1403, allocations: 8.031 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.19e-05/0.1404, allocations: 42.5 kB / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.079e-05/0.1404, allocations: 0 / 474.5 MB, free: 10.55 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000235/0.1407, allocations: 190.9 kB / 474.7 MB, free: 10.33 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.173e-05/0.1407, allocations: 8 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.106e-05/0.1407, allocations: 3.953 kB / 474.7 MB, free: 10.32 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001779/0.1409, allocations: 67.39 kB / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.154e-05/0.1409, allocations: 0 / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.169e-05/0.1409, allocations: 0 / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.893e-06/0.1409, allocations: 0 / 474.8 MB, free: 10.24 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001002/0.1411, allocations: 31.92 kB / 474.8 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004417/0.1415, allocations: 276.9 kB / 475.1 MB, free: 9.887 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002237/0.1417, allocations: 54.47 kB / 475.2 MB, free: 9.824 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.653e-05/0.1418, allocations: 8 kB / 475.2 MB, free: 9.816 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.932e-05/0.1418, allocations: 34.56 kB / 475.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.002e-06/0.1418, allocations: 0 / 475.2 MB, free: 9.773 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0006151/0.1424, allocations: 161.4 kB / 475.4 MB, free: 9.609 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.997e-05/0.1425, allocations: 81.11 kB / 475.4 MB, free: 9.512 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001389/0.1426, allocations: 136.7 kB / 475.6 MB, free: 9.371 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.847e-05/0.1427, allocations: 33.64 kB / 475.6 MB, free: 9.332 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.14e-05/0.1427, allocations: 92.08 kB / 475.7 MB, free: 9.238 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.258e-05/0.1428, allocations: 15.81 kB / 475.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.157e-06/0.1428, allocations: 0 / 475.7 MB, free: 9.223 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001239/0.1429, allocations: 322.8 kB / 476 MB, free: 8.898 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.306e-05/0.143, allocations: 23.98 kB / 476.1 MB, free: 8.875 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 8.15e-05/0.1431, allocations: 45.75 kB / 476.1 MB, free: 8.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 8.357e-05/0.1432, allocations: 32.02 kB / 476.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.42e-07/0.1432, allocations: 0 / 476.1 MB, free: 8.793 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001903/0.1434, allocations: 89.58 kB / 476.2 MB, free: 8.699 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.531e-05/0.1434, allocations: 4 kB / 476.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.44e-06/0.1434, allocations: 0 / 476.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.209e-05/0.1434, allocations: 0 / 476.2 MB, free: 8.695 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.546e-05/0.1435, allocations: 23.92 kB / 476.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.41e-06/0.1435, allocations: 0 / 476.2 MB, free: 8.672 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.603e-05/0.1436, allocations: 11.98 kB / 476.3 MB, free: 8.66 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.701e-06/0.1436, allocations: 0 / 476.3 MB, free: 8.66 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 9.069e-05/0.1437, allocations: 118.3 kB / 476.4 MB, free: 8.535 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.02e-05/0.1437, allocations: 7.906 kB / 476.4 MB, free: 8.527 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002396/0.144, allocations: 101.6 kB / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.924e-06/0.144, allocations: 3.938 kB / 476.5 MB, free: 8.418 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.542e-06/0.144, allocations: 3.984 kB / 476.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.986e-06/0.144, allocations: 0 / 476.5 MB, free: 8.414 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004131/0.1444, allocations: 366.5 kB / 476.8 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.272e-06/0.1444, allocations: 0 / 476.8 MB, free: 8 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.591e-05/0.1445, allocations: 16 kB / 476.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.713e-06/0.1445, allocations: 0 / 476.9 MB, free: 7.984 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.176e-05/0.1445, allocations: 3.984 kB / 476.9 MB, free: 7.98 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1445, allocations: 3.938 kB / 476.9 MB, free: 7.977 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.132e-06/0.1445, allocations: 4.312 kB / 476.9 MB, free: 7.973 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002203/0.1447, allocations: 195.3 kB / 477.1 MB, free: 7.766 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.07e-05/0.1448, allocations: 93 kB / 477.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.71e-05/0.1448, allocations: 0 / 477.2 MB, free: 7.656 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.206e-05/0.1449, allocations: 7.984 kB / 477.2 MB, free: 7.648 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.418e-05/0.145, allocations: 8 kB / 477.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 3.848e-06/0.145, allocations: 0 / 477.2 MB, free: 7.641 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.441e-05/0.145, allocations: 103.3 kB / 477.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.145, allocations: 0 / 477.3 MB, free: 7.539 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002502/0.1453, allocations: 23.98 kB / 477.3 MB, free: 7.516 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.001384/0.1467, allocations: 1.064 MB / 478.4 MB, free: 6.602 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002165/0.1469, allocations: 59.97 kB / 478.4 MB, free: 6.543 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1469, allocations: 3.938 kB / 478.4 MB, free: 6.539 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.989e-05/0.147, allocations: 31.98 kB / 478.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002423/0.1473, allocations: 19.97 kB / 478.5 MB, free: 6.488 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0009341/0.1482, allocations: 0.5298 MB / 479 MB, free: 5.91 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002462/0.1485, allocations: 0.6926 MB / 479.7 MB, free: 5.191 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 6.195e-05/0.1485, allocations: 11.98 kB / 479.7 MB, free: 5.18 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.642e-05/0.1486, allocations: 31.36 kB / 479.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1486, allocations: 0 / 479.7 MB, free: 5.148 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01403/0.1627, allocations: 2.3 MB / 482 MB, free: 2.969 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002519/0.163, allocations: 218.7 kB / 482.2 MB, free: 2.73 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.772/1.935, allocations: 0 / 482.2 MB, free: 2.73 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test33_res.mat does not exist to compare? outputFormat=mat