Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.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.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test23,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_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.001054/0.001054, allocations: 92.17 kB / 15.71 MB, free: 452 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.001303/0.001303, allocations: 180.4 kB / 16.59 MB, free: 6.848 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.631/1.631, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.3971/0.3971, allocations: 43.55 MB / 314.6 MB, free: 9.051 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.000554/0.0005542, allocations: 12 kB / 384 MB, free: 8.148 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1236/0.1242, allocations: 58.87 MB / 442.9 MB, free: 13.18 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test23): time 0.002771/0.127, allocations: 1.676 MB / 444.6 MB, free: 11.49 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001989/0.129, allocations: 1.019 MB / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0002559/0.1293, allocations: 0 / 445.6 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003738/0.1297, allocations: 43.72 kB / 445.6 MB, free: 10.42 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0005031/0.1302, allocations: 135.5 kB / 445.8 MB, free: 10.29 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.001489/0.1317, allocations: 0.5186 MB / 446.3 MB, free: 9.766 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0005867/0.1323, allocations: 259.2 kB / 446.5 MB, free: 9.512 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0002486/0.1326, allocations: 72.66 kB / 446.6 MB, free: 9.441 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0003328/0.1329, allocations: 115.5 kB / 446.7 MB, free: 9.328 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0003196/0.1333, allocations: 163.4 kB / 446.9 MB, free: 9.168 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 4.99e-05/0.1333, allocations: 8 kB / 446.9 MB, free: 9.16 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001475/0.1335, allocations: 31.98 kB / 446.9 MB, free: 9.129 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.000181/0.1337, allocations: 139.6 kB / 447 MB, free: 8.992 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 9.424e-05/0.1338, allocations: 81.39 kB / 447.1 MB, free: 8.906 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0004111/0.1342, allocations: 291.4 kB / 447.4 MB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 1.008e-05/0.1342, allocations: 0 / 447.4 MB, free: 8.621 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.374e-06/0.1342, allocations: 0 / 447.4 MB, free: 8.621 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.44e-05/0.1342, allocations: 0 / 447.4 MB, free: 8.621 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.001245/0.1355, allocations: 0.7426 MB / 448.2 MB, free: 7.828 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.756e-05/0.1355, allocations: 8.031 kB / 448.2 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.674e-05/0.1356, allocations: 42.56 kB / 448.2 MB, free: 7.77 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 0.000125/0.1357, allocations: 55.25 kB / 448.3 MB, free: 7.715 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006474/0.1364, allocations: 439 kB / 448.7 MB, free: 7.246 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.922e-05/0.1364, allocations: 16 kB / 448.7 MB, free: 7.23 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 4.106e-05/0.1365, allocations: 11.94 kB / 448.7 MB, free: 7.219 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0003948/0.1369, allocations: 167.2 kB / 448.9 MB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.598e-05/0.1369, allocations: 0 / 448.9 MB, free: 7.043 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.273e-05/0.1369, allocations: 11.95 kB / 448.9 MB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.042e-06/0.1369, allocations: 0 / 448.9 MB, free: 7.031 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0003472/0.1373, allocations: 131.9 kB / 449 MB, free: 6.902 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.001237/0.1385, allocations: 0.7346 MB / 449.8 MB, free: 6.113 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003045/0.1389, allocations: 141.2 kB / 449.9 MB, free: 5.957 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001577/0.139, allocations: 73.8 kB / 450 MB, free: 5.879 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.688e-05/0.1391, allocations: 7.984 kB / 450 MB, free: 5.871 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.023e-05/0.1391, allocations: 42.5 kB / 450 MB, free: 5.82 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.212e-06/0.1391, allocations: 0 / 450 MB, free: 5.82 MB / 382.1 MB Notification: Performance of matching and sorting (n=20): time 0.002031/0.1412, allocations: 0.8101 MB / 450.8 MB, free: 5 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.87e-05/0.1412, allocations: 81.11 kB / 450.9 MB, free: 4.902 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009678/0.1422, allocations: 0.8905 MB / 451.8 MB, free: 4.004 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.876e-05/0.1422, allocations: 33.7 kB / 451.8 MB, free: 3.965 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001908/0.1424, allocations: 264.5 kB / 452.1 MB, free: 3.699 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.734e-05/0.1425, allocations: 71.12 kB / 452.2 MB, free: 3.629 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.245e-05/0.1425, allocations: 3.938 kB / 452.2 MB, free: 3.625 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001623/0.1427, allocations: 378.7 kB / 452.5 MB, free: 3.246 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002746/0.143, allocations: 123.9 kB / 452.6 MB, free: 3.125 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002775/0.1433, allocations: 145.6 kB / 452.8 MB, free: 2.977 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002963/0.1436, allocations: 135.9 kB / 452.9 MB, free: 2.844 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1436, allocations: 0 / 452.9 MB, free: 2.844 MB / 382.1 MB Notification: Performance of matching and sorting (n=20) (initialization): time 0.0007345/0.1443, allocations: 376.7 kB / 453.3 MB, free: 2.469 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.461e-05/0.1444, allocations: 4 kB / 453.3 MB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.083e-06/0.1444, allocations: 0 / 453.3 MB, free: 2.465 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.847e-05/0.1444, allocations: 4 kB / 453.3 MB, free: 2.461 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0002854/0.1447, allocations: 59.95 kB / 453.4 MB, free: 2.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.588e-06/0.1447, allocations: 3.938 kB / 453.4 MB, free: 2.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0002029/0.1449, allocations: 35.97 kB / 453.4 MB, free: 2.363 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.557e-05/0.1449, allocations: 8 kB / 453.4 MB, free: 2.355 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.000216/0.1452, allocations: 213.8 kB / 453.6 MB, free: 2.137 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 0.0001103/0.1453, allocations: 63.2 kB / 453.7 MB, free: 2.074 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0008858/0.1462, allocations: 442.9 kB / 454.1 MB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.468e-06/0.1462, allocations: 0 / 454.1 MB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.246e-06/0.1462, allocations: 0 / 454.1 MB, free: 1.633 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.075e-06/0.1462, allocations: 7.984 kB / 454.1 MB, free: 1.625 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.00149/0.1477, allocations: 0.9738 MB / 455.1 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.637e-06/0.1477, allocations: 0 / 455.1 MB, free: 0.5938 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0002411/0.148, allocations: 67.89 kB / 455.2 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.49e-06/0.148, allocations: 0 / 455.2 MB, free: 0.5273 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.175e-05/0.148, allocations: 11.98 kB / 455.2 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.364e-06/0.148, allocations: 0 / 455.2 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.625e-06/0.148, allocations: 0 / 455.2 MB, free: 0.5156 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.2313/0.3793, allocations: 0.5345 MB / 455.7 MB, free: 46.35 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0003012/0.3797, allocations: 154.1 kB / 455.9 MB, free: 46.25 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 8.79e-05/0.3798, allocations: 5.266 kB / 455.9 MB, free: 46.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0002986/0.3801, allocations: 30.55 kB / 455.9 MB, free: 46.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 9.726e-05/0.3802, allocations: 18.66 kB / 455.9 MB, free: 46.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.416e-05/0.3802, allocations: 10.45 kB / 455.9 MB, free: 46.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0008208/0.381, allocations: 0.6526 MB / 456.6 MB, free: 46.16 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.381, allocations: 0 / 456.6 MB, free: 46.16 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0004057/0.3814, allocations: 69.09 kB / 456.6 MB, free: 46.16 MB / 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.001617/0.3831, allocations: 1.381 MB / 458 MB, free: 45.34 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006241/0.3837, allocations: 300.5 kB / 458.3 MB, free: 45.33 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.524e-06/0.3837, allocations: 0 / 458.3 MB, free: 45.33 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0003071/0.384, allocations: 163 kB / 458.5 MB, free: 45.33 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000586/0.3846, allocations: 72.72 kB / 458.5 MB, free: 45.33 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00424/0.3889, allocations: 3.487 MB / 462 MB, free: 44.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002732/0.3892, allocations: 0.8737 MB / 462.9 MB, free: 43.76 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0002302/0.3894, allocations: 112 kB / 463 MB, free: 43.74 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0002088/0.3896, allocations: 176.4 kB / 463.2 MB, free: 43.73 MB / 382.1 MB Notification: Performance of SimCode: time 3.8e-07/0.3896, allocations: 0 / 463.2 MB, free: 43.73 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01887/0.4085, allocations: 9.226 MB / 472.4 MB, free: 42.89 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000151/0.4087, allocations: 223.4 kB / 472.6 MB, free: 42.64 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.817/2.225, allocations: 0 / 472.6 MB, free: 42.64 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23_fmu --startTime=0 --stopTime=4 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2Dv_Test23.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2Dv.Test23_res.mat does not exist to compare? outputFormat=mat