Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.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 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 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 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.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23",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.001486/0.001486, allocations: 95.34 kB / 15.68 MB, free: 488 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.002091/0.002091, allocations: 177.9 kB / 16.57 MB, free: 6.379 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.729/1.729, allocations: 205.4 MB / 222.7 MB, free: 5.672 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.4392/0.4392, allocations: 43.55 MB / 314.5 MB, free: 8.996 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0004952/0.0004952, allocations: 24 kB / 384 MB, free: 8.164 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1353/0.1358, allocations: 58.85 MB / 442.8 MB, free: 13.21 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test23): time 0.002393/0.1382, allocations: 1.669 MB / 444.5 MB, free: 11.53 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001311/0.1396, allocations: 0.8475 MB / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.1397, allocations: 0 / 445.4 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.1399, allocations: 39.7 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002855/0.1402, allocations: 139.6 kB / 445.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0008044/0.141, allocations: 371.2 kB / 445.9 MB, free: 10.13 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002516/0.1412, allocations: 175.6 kB / 446.1 MB, free: 9.961 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001533/0.1414, allocations: 60.97 kB / 446.1 MB, free: 9.902 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001611/0.1416, allocations: 103.6 kB / 446.2 MB, free: 9.801 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002128/0.1418, allocations: 155.4 kB / 446.4 MB, free: 9.648 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.625e-05/0.1418, allocations: 8 kB / 446.4 MB, free: 9.641 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.47e-05/0.1419, allocations: 23.98 kB / 446.4 MB, free: 9.617 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001545/0.1421, allocations: 123.6 kB / 446.5 MB, free: 9.496 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.162e-05/0.1422, allocations: 89.39 kB / 446.6 MB, free: 9.402 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003013/0.1425, allocations: 279.4 kB / 446.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.186e-06/0.1425, allocations: 0 / 446.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.325e-06/0.1425, allocations: 0 / 446.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.252e-06/0.1425, allocations: 0 / 446.9 MB, free: 9.129 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 24 * Number of variables: 24 Notification: Performance of Generate backend data structure: time 0.001011/0.1435, allocations: 0.7386 MB / 447.6 MB, free: 8.34 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.826e-05/0.1436, allocations: 8.031 kB / 447.6 MB, free: 8.332 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.06e-05/0.1436, allocations: 46.55 kB / 447.7 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.341e-05/0.1437, allocations: 55.34 kB / 447.7 MB, free: 8.223 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0005833/0.1443, allocations: 435 kB / 448.2 MB, free: 7.758 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.251e-05/0.1443, allocations: 8 kB / 448.2 MB, free: 7.75 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.8e-05/0.1444, allocations: 12 kB / 448.2 MB, free: 7.738 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003291/0.1447, allocations: 151.3 kB / 448.3 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.306e-05/0.1447, allocations: 0 / 448.3 MB, free: 7.578 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.224e-05/0.1447, allocations: 7.938 kB / 448.3 MB, free: 7.57 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.585e-06/0.1448, allocations: 4 kB / 448.3 MB, free: 7.566 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0002932/0.1451, allocations: 115.9 kB / 448.5 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0009152/0.146, allocations: 0.6956 MB / 449.2 MB, free: 6.703 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002657/0.1463, allocations: 133.2 kB / 449.3 MB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.389e-05/0.1463, allocations: 0 / 449.3 MB, free: 6.555 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.35e-05/0.1463, allocations: 34.56 kB / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 9.32e-07/0.1463, allocations: 0 / 449.3 MB, free: 6.512 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.001924/0.1483, allocations: 0.7439 MB / 450.1 MB, free: 5.758 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.754e-05/0.1483, allocations: 81.11 kB / 450.1 MB, free: 5.66 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.001025/0.1493, allocations: 0.874 MB / 451 MB, free: 4.773 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.363e-05/0.1494, allocations: 29.7 kB / 451 MB, free: 4.738 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001948/0.1496, allocations: 260.3 kB / 451.3 MB, free: 4.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.532e-05/0.1496, allocations: 63.02 kB / 451.4 MB, free: 4.418 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.184e-05/0.1497, allocations: 4.188 kB / 451.4 MB, free: 4.414 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001651/0.1498, allocations: 370.8 kB / 451.7 MB, free: 4.043 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002737/0.1501, allocations: 111.9 kB / 451.8 MB, free: 3.934 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002727/0.1504, allocations: 125.6 kB / 452 MB, free: 3.805 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002722/0.1507, allocations: 111.9 kB / 452.1 MB, free: 3.695 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.022e-06/0.1507, allocations: 0 / 452.1 MB, free: 3.695 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0006556/0.1513, allocations: 332.8 kB / 452.4 MB, free: 3.363 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.259e-05/0.1514, allocations: 7.953 kB / 452.4 MB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.707e-06/0.1514, allocations: 0 / 452.4 MB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 8.546e-06/0.1514, allocations: 0 / 452.4 MB, free: 3.355 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002743/0.1517, allocations: 67.89 kB / 452.5 MB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 4.519e-06/0.1517, allocations: 0 / 452.5 MB, free: 3.289 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.000201/0.1519, allocations: 31.97 kB / 452.5 MB, free: 3.258 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.728e-05/0.1519, allocations: 8 kB / 452.5 MB, free: 3.25 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.0002146/0.1521, allocations: 213.9 kB / 452.7 MB, free: 3.031 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 9.207e-05/0.1522, allocations: 63.25 kB / 452.8 MB, free: 2.969 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008209/0.1531, allocations: 402.7 kB / 453.2 MB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.767e-06/0.1531, allocations: 0 / 453.2 MB, free: 2.566 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1531, allocations: 4 kB / 453.2 MB, free: 2.562 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.778e-06/0.1531, allocations: 4 kB / 453.2 MB, free: 2.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001374/0.1545, allocations: 0.9191 MB / 454.1 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.274e-06/0.1545, allocations: 0 / 454.1 MB, free: 1.582 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002485/0.1548, allocations: 55.95 kB / 454.1 MB, free: 1.527 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.029e-06/0.1548, allocations: 4 kB / 454.2 MB, free: 1.523 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.709e-05/0.1548, allocations: 7.984 kB / 454.2 MB, free: 1.516 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.767e-06/0.1548, allocations: 4 kB / 454.2 MB, free: 1.512 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.1548, allocations: 3.984 kB / 454.2 MB, free: 1.508 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0007463/0.1556, allocations: 0.523 MB / 454.7 MB, free: 0.9609 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001624/0.1557, allocations: 148.4 kB / 454.8 MB, free: 0.7969 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.393e-05/0.1558, allocations: 11.98 kB / 454.8 MB, free: 0.7852 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002512/0.156, allocations: 27.98 kB / 454.9 MB, free: 0.7578 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.592e-05/0.1561, allocations: 15.97 kB / 454.9 MB, free: 0.7422 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.816e-05/0.1561, allocations: 11.98 kB / 454.9 MB, free: 0.7305 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0007162/0.1569, allocations: 0.6354 MB / 455.5 MB, free: 100 kB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1569, allocations: 0 / 455.5 MB, free: 100 kB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003754/0.1573, allocations: 63.98 kB / 455.6 MB, free: 36 kB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (20): * Single equations (assignments): 20 * 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.312/0.4693, allocations: 1.414 MB / 457 MB, free: 45.56 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006468/0.47, allocations: 256 kB / 457.3 MB, free: 45.56 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.456e-06/0.47, allocations: 0 / 457.3 MB, free: 45.56 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0002809/0.4703, allocations: 143.1 kB / 457.4 MB, free: 45.56 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005014/0.4708, allocations: 66.8 kB / 457.5 MB, free: 45.56 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.004395/0.4752, allocations: 3.389 MB / 460.9 MB, free: 44.56 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002867/0.4755, allocations: 0.8707 MB / 461.7 MB, free: 43.86 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002048/0.4757, allocations: 84.83 kB / 461.8 MB, free: 43.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.000206/0.4759, allocations: 178.9 kB / 462 MB, free: 43.84 MB / 382.1 MB Notification: Performance of SimCode: time 5.31e-07/0.4759, allocations: 0 / 462 MB, free: 43.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02009/0.496, allocations: 8.938 MB / 470.9 MB, free: 43.01 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001619/0.4962, allocations: 214.1 kB / 471.1 MB, free: 42.77 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.874/2.37, allocations: 3.609 kB / 471.1 MB, free: 42.77 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test23_res.mat does not exist to compare? outputFormat=mat