Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.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.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2D.Test8,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8",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.0008984/0.0008987, 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.001166/0.001166, allocations: 173.6 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.574/1.574, allocations: 205.4 MB / 222.7 MB, free: 5.645 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.354/0.354, allocations: 43.55 MB / 314.6 MB, free: 8.754 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.0004926/0.0004928, allocations: 16 kB / 384 MB, free: 7.926 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1297/0.1302, allocations: 58.87 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2D.Test8): time 0.002134/0.1324, allocations: 1.267 MB / 444.2 MB, free: 11.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.0005981/0.133, allocations: 275.9 kB / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.865e-05/0.133, allocations: 0 / 444.4 MB, free: 11.4 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0006318/0.1337, allocations: 439.2 kB / 444.9 MB, free: 10.97 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003526/0.1341, allocations: 247.5 kB / 445.1 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003291/0.1344, allocations: 95.86 kB / 445.2 MB, free: 10.64 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002063/0.1346, allocations: 119.7 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.991e-05/0.1347, allocations: 15.98 kB / 445.3 MB, free: 10.5 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001134/0.1348, allocations: 95.8 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002292/0.1351, allocations: 163.7 kB / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.713e-05/0.1351, allocations: 0 / 445.6 MB, free: 10.25 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 6.393e-05/0.1352, allocations: 16 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001128/0.1353, allocations: 87.67 kB / 445.7 MB, free: 10.15 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.259e-05/0.1354, allocations: 69.52 kB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002256/0.1356, allocations: 176 kB / 445.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.392e-06/0.1356, allocations: 0 / 445.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.705e-06/0.1356, allocations: 0 / 445.9 MB, free: 9.902 MB / 382.1 MB Notification: Performance of Transformations before backend: time 5.831e-06/0.1356, allocations: 3.938 kB / 445.9 MB, free: 9.898 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.0007433/0.1364, allocations: 0.5832 MB / 446.5 MB, free: 9.266 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.651e-05/0.1364, allocations: 15.97 kB / 446.5 MB, free: 9.25 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.417e-05/0.1365, allocations: 34.56 kB / 446.6 MB, free: 9.207 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.966e-05/0.1366, allocations: 43.48 kB / 446.6 MB, free: 9.164 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002726/0.1368, allocations: 279.3 kB / 446.9 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.538e-06/0.1369, allocations: 0 / 446.9 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 8.025e-06/0.1369, allocations: 0 / 446.9 MB, free: 8.852 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001326/0.137, allocations: 45.69 kB / 446.9 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.1e-05/0.137, allocations: 0 / 446.9 MB, free: 8.801 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.208e-05/0.137, allocations: 11.92 kB / 446.9 MB, free: 8.789 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.127e-05/0.1371, allocations: 7.953 kB / 446.9 MB, free: 8.781 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.385e-05/0.1371, allocations: 31.92 kB / 447 MB, free: 8.75 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.1376, allocations: 368.9 kB / 447.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 8.702e-05/0.1377, allocations: 34.56 kB / 447.4 MB, free: 8.297 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.396e-05/0.1377, allocations: 16.92 kB / 447.4 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.714e-05/0.1378, allocations: 0 / 447.4 MB, free: 8.277 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 4.17e-05/0.1378, allocations: 42.5 kB / 447.4 MB, free: 8.227 MB / 382.1 MB Notification: Performance of pre-optimization done (n=2): time 9.82e-07/0.1378, allocations: 0 / 447.4 MB, free: 8.227 MB / 382.1 MB Notification: Performance of matching and sorting (n=2): time 0.0002581/0.1381, allocations: 101.1 kB / 447.5 MB, free: 8.121 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.819e-05/0.1381, allocations: 51.53 kB / 447.6 MB, free: 8.059 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0008122/0.139, allocations: 0.8691 MB / 448.4 MB, free: 7.18 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.23e-05/0.139, allocations: 25.7 kB / 448.5 MB, free: 7.148 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001611/0.1392, allocations: 220.1 kB / 448.7 MB, free: 6.93 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.584e-05/0.1392, allocations: 11.84 kB / 448.7 MB, free: 6.918 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 2.665e-06/0.1392, allocations: 0 / 448.7 MB, free: 6.918 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001433/0.1393, allocations: 358.8 kB / 449 MB, free: 6.559 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.047e-05/0.1394, allocations: 11.98 kB / 449 MB, free: 6.547 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 2.781e-05/0.1394, allocations: 8 kB / 449.1 MB, free: 6.539 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 3.92e-05/0.1395, allocations: 15.98 kB / 449.1 MB, free: 6.523 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.673e-06/0.1395, allocations: 0 / 449.1 MB, free: 6.523 MB / 382.1 MB Notification: Performance of matching and sorting (n=2) (initialization): time 0.0001325/0.1396, allocations: 97.06 kB / 449.2 MB, free: 6.422 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.632e-05/0.1396, allocations: 7.953 kB / 449.2 MB, free: 6.414 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.22e-06/0.1396, allocations: 4.094 kB / 449.2 MB, free: 6.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.269e-05/0.1397, allocations: 4 kB / 449.2 MB, free: 6.406 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.095e-05/0.1397, allocations: 4 kB / 449.2 MB, free: 6.402 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.374e-06/0.1397, allocations: 3.984 kB / 449.2 MB, free: 6.398 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.283e-05/0.1398, allocations: 4 kB / 449.2 MB, free: 6.395 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.733e-06/0.1398, allocations: 0 / 449.2 MB, free: 6.395 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 (2): * Single equations (assignments): 2 * 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.000185/0.14, allocations: 209.8 kB / 449.4 MB, free: 6.18 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.401e-05/0.1401, allocations: 39.53 kB / 449.4 MB, free: 6.141 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002089/0.1403, allocations: 120.5 kB / 449.6 MB, free: 6.016 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.715e-06/0.1403, allocations: 3.938 kB / 449.6 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.13e-06/0.1403, allocations: 0 / 449.6 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.916e-06/0.1403, allocations: 0 / 449.6 MB, free: 6.012 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002815/0.1406, allocations: 281.6 kB / 449.8 MB, free: 5.688 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.143e-06/0.1406, allocations: 3.938 kB / 449.8 MB, free: 5.684 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.052e-05/0.1406, allocations: 4 kB / 449.8 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.884e-06/0.1406, allocations: 0 / 449.8 MB, free: 5.68 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.424e-06/0.1407, allocations: 4.031 kB / 449.8 MB, free: 5.676 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.625e-06/0.1407, allocations: 3.953 kB / 449.8 MB, free: 5.672 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.715e-06/0.1407, allocations: 4 kB / 449.9 MB, free: 5.668 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001856/0.1409, allocations: 191 kB / 450 MB, free: 5.465 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.404e-05/0.141, allocations: 108.5 kB / 450.1 MB, free: 5.34 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.424e-05/0.141, allocations: 4.031 kB / 450.2 MB, free: 5.336 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.001e-05/0.1411, allocations: 11.92 kB / 450.2 MB, free: 5.324 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.6e-05/0.1411, allocations: 7.953 kB / 450.2 MB, free: 5.316 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.258e-06/0.1411, allocations: 4 kB / 450.2 MB, free: 5.312 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0006236/0.1417, allocations: 0.6511 MB / 450.8 MB, free: 4.664 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1417, allocations: 0 / 450.8 MB, free: 4.664 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002351/0.142, allocations: 12 kB / 450.8 MB, free: 4.652 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 (2): * Single equations (assignments): 2 * 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.001076/0.1431, allocations: 0.9737 MB / 451.8 MB, free: 3.688 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001267/0.1432, allocations: 27.92 kB / 451.8 MB, free: 3.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.034e-06/0.1432, allocations: 0 / 451.8 MB, free: 3.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 3.898e-05/0.1433, allocations: 11.98 kB / 451.8 MB, free: 3.648 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003605/0.1436, allocations: 25.92 kB / 451.9 MB, free: 3.621 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002722/0.1464, allocations: 2.235 MB / 454.1 MB, free: 1.324 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000431/0.1468, allocations: 0.8185 MB / 454.9 MB, free: 492 kB / 382.1 MB Notification: Performance of simCode: alias equations: time 3.834e-05/0.1469, allocations: 12.17 kB / 454.9 MB, free: 480 kB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001155/0.147, allocations: 107.4 kB / 455 MB, free: 372 kB / 382.1 MB Notification: Performance of SimCode: time 2.01e-07/0.147, allocations: 0 / 455 MB, free: 372 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2206/0.3675, allocations: 5.11 MB / 460.2 MB, free: 45.13 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001372/0.3677, allocations: 221.5 kB / 460.4 MB, free: 44.89 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.681/2.049, allocations: 0 / 460.4 MB, free: 44.89 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTable2D_Test8.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTable2D.Test8_res.mat does not exist to compare? outputFormat=mat