Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.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.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test6,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6",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.0007407/0.0007408, allocations: 88.19 kB / 15.7 MB, free: 460 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.000764/0.0007641, allocations: 173.8 kB / 16.58 MB, free: 6.84 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.44/1.44, allocations: 205.4 MB / 222.8 MB, free: 5.641 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.3957/0.3957, allocations: 43.55 MB / 314.6 MB, free: 9.078 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.0005344/0.0005348, allocations: 15.98 kB / 384 MB, free: 8.145 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1245/0.125, allocations: 58.85 MB / 442.9 MB, free: 13.19 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test6): time 0.001738/0.1268, allocations: 1.318 MB / 444.2 MB, free: 11.86 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0004697/0.1273, allocations: 295.9 kB / 444.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.283e-05/0.1274, allocations: 4 kB / 444.5 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004868/0.1278, allocations: 439.2 kB / 444.9 MB, free: 11.14 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002754/0.1281, allocations: 239.5 kB / 445.2 MB, free: 10.9 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000283/0.1284, allocations: 107.8 kB / 445.3 MB, free: 10.8 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000168/0.1286, allocations: 135.6 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.596e-05/0.1287, allocations: 8.188 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.824e-05/0.1288, allocations: 103.8 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001916/0.129, allocations: 163.7 kB / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.738e-05/0.129, allocations: 0 / 445.7 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.695e-05/0.1291, allocations: 31.98 kB / 445.7 MB, free: 10.36 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 9.265e-05/0.1292, allocations: 87.69 kB / 445.8 MB, free: 10.28 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.885e-05/0.1293, allocations: 69.45 kB / 445.8 MB, free: 10.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001909/0.1295, allocations: 187.9 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.158e-06/0.1295, allocations: 0 / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.706e-06/0.1295, allocations: 4 kB / 446 MB, free: 10.02 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.528e-06/0.1295, allocations: 0 / 446 MB, free: 10.02 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0006055/0.1301, allocations: 0.6026 MB / 446.6 MB, free: 9.363 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.616e-05/0.1301, allocations: 8.031 kB / 446.6 MB, free: 9.355 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.499e-05/0.1302, allocations: 42.55 kB / 446.7 MB, free: 9.305 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.821e-05/0.1302, allocations: 47.39 kB / 446.7 MB, free: 9.258 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000229/0.1305, allocations: 267.4 kB / 447 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.001e-05/0.1305, allocations: 4 kB / 447 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.596e-05/0.1305, allocations: 0 / 447 MB, free: 8.953 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001533/0.1307, allocations: 61.67 kB / 447.1 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.03e-05/0.1307, allocations: 0 / 447.1 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.945e-06/0.1307, allocations: 0 / 447.1 MB, free: 8.887 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.721e-06/0.1307, allocations: 8 kB / 447.1 MB, free: 8.879 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001323/0.1309, allocations: 51.84 kB / 447.1 MB, free: 8.828 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004001/0.1313, allocations: 388.6 kB / 447.5 MB, free: 8.398 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001168/0.1314, allocations: 50.56 kB / 447.5 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.74e-05/0.1315, allocations: 28.94 kB / 447.6 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.066e-05/0.1315, allocations: 0 / 447.6 MB, free: 8.309 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.575e-05/0.1315, allocations: 42.45 kB / 447.6 MB, free: 8.258 MB / 382.1 MB Notification: Performance of pre-optimization done (n=4): time 8.01e-07/0.1315, allocations: 0 / 447.6 MB, free: 8.258 MB / 382.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007402/0.1323, allocations: 311.9 kB / 447.9 MB, free: 7.945 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.422e-05/0.1323, allocations: 55.41 kB / 448 MB, free: 7.879 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000848/0.1332, allocations: 0.8613 MB / 448.8 MB, free: 7.008 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.849e-05/0.1332, allocations: 29.7 kB / 448.9 MB, free: 6.973 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001873/0.1334, allocations: 212.1 kB / 449.1 MB, free: 6.762 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.116e-05/0.1334, allocations: 27.62 kB / 449.1 MB, free: 6.734 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.523e-06/0.1335, allocations: 4 kB / 449.1 MB, free: 6.73 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001821/0.1336, allocations: 362.8 kB / 449.5 MB, free: 6.367 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001182/0.1338, allocations: 39.97 kB / 449.5 MB, free: 6.328 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.656e-05/0.1339, allocations: 39.98 kB / 449.5 MB, free: 6.289 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001132/0.134, allocations: 43.97 kB / 449.6 MB, free: 6.246 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.71e-07/0.134, allocations: 0 / 449.6 MB, free: 6.246 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002968/0.1343, allocations: 165.3 kB / 449.7 MB, free: 6.078 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.514e-05/0.1343, allocations: 4 kB / 449.7 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.305e-06/0.1344, allocations: 0 / 449.7 MB, free: 6.074 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.402e-05/0.1344, allocations: 3.938 kB / 449.7 MB, free: 6.07 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.1345, allocations: 23.98 kB / 449.8 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.1345, allocations: 0 / 449.8 MB, free: 6.047 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.463e-05/0.1346, allocations: 19.92 kB / 449.8 MB, free: 6.027 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.083e-05/0.1346, allocations: 7.938 kB / 449.8 MB, free: 6.02 MB / 382.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 (7): * Single equations (assignments): 7 * 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.0002124/0.1348, allocations: 217.8 kB / 450 MB, free: 5.797 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.705e-05/0.1349, allocations: 47.39 kB / 450.1 MB, free: 5.75 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003654/0.1353, allocations: 185.4 kB / 450.2 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.884e-06/0.1353, allocations: 0 / 450.2 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.881e-06/0.1353, allocations: 0 / 450.2 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.517e-06/0.1353, allocations: 0 / 450.2 MB, free: 5.559 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006279/0.1359, allocations: 0.5062 MB / 450.7 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.313e-06/0.136, allocations: 0 / 450.7 MB, free: 4.996 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.62e-05/0.136, allocations: 23.98 kB / 450.8 MB, free: 4.973 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.894e-06/0.1361, allocations: 4 kB / 450.8 MB, free: 4.969 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.34e-05/0.1361, allocations: 4 kB / 450.8 MB, free: 4.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.312e-06/0.1361, allocations: 3.938 kB / 450.8 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.51e-07/0.1361, allocations: 0 / 450.8 MB, free: 4.961 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003291/0.1364, allocations: 258.9 kB / 451 MB, free: 4.691 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.504e-05/0.1365, allocations: 116.8 kB / 451.1 MB, free: 4.559 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.474e-05/0.1365, allocations: 4 kB / 451.1 MB, free: 4.555 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.907e-05/0.1367, allocations: 15.98 kB / 451.2 MB, free: 4.539 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.551e-05/0.1367, allocations: 15.97 kB / 451.2 MB, free: 4.523 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.168e-06/0.1367, allocations: 0 / 451.2 MB, free: 4.523 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006307/0.1374, allocations: 0.6511 MB / 451.8 MB, free: 3.875 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1374, allocations: 0 / 451.8 MB, free: 3.875 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002505/0.1376, allocations: 28 kB / 451.9 MB, free: 3.848 MB / 382.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 (7): * Single equations (assignments): 7 * 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.001333/0.139, allocations: 1.086 MB / 452.9 MB, free: 2.762 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002504/0.1392, allocations: 95.92 kB / 453 MB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.933e-06/0.1392, allocations: 0 / 453 MB, free: 2.668 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001174/0.1394, allocations: 59.91 kB / 453.1 MB, free: 2.609 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003448/0.1397, allocations: 25.39 kB / 453.1 MB, free: 2.59 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002835/0.1426, allocations: 2.371 MB / 455.5 MB, free: 156 kB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.2284/0.371, allocations: 0.8209 MB / 456.3 MB, free: 45.85 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 8.954e-05/0.3711, allocations: 9.375 kB / 456.3 MB, free: 45.84 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001475/0.3712, allocations: 104.3 kB / 456.4 MB, free: 45.84 MB / 382.1 MB Notification: Performance of SimCode: time 1.133e-06/0.3713, allocations: 2.312 kB / 456.4 MB, free: 45.84 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01774/0.389, allocations: 5.459 MB / 461.9 MB, free: 45.46 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001705/0.3892, allocations: 220.8 kB / 462.1 MB, free: 45.22 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.804/2.193, allocations: 0 / 462.1 MB, free: 45.22 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test6.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test6_res.mat does not exist to compare? outputFormat=mat