Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.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.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Dv.Test31,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31",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.001099/0.001099, allocations: 94.28 kB / 16.98 MB, free: 5.938 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.001335/0.001336, allocations: 183.8 kB / 17.88 MB, free: 5.594 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.355/1.355, allocations: 223.2 MB / 241.8 MB, free: 396 kB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.1882/0.1882, allocations: 44.23 MB / 337.1 MB, free: 2.902 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003123/0.0003123, allocations: 8 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1321/0.1324, allocations: 61.92 MB / 471.5 MB, free: 13.66 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Dv.Test31): time 0.002076/0.1345, allocations: 1.314 MB / 472.9 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001608/0.1362, allocations: 0.9609 MB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.322e-05/0.1362, allocations: 11.94 kB / 473.8 MB, free: 11.36 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002051/0.1365, allocations: 15.92 kB / 473.8 MB, free: 11.34 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001508/0.1366, allocations: 39.83 kB / 473.9 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003807/0.137, allocations: 151.2 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001301/0.1372, allocations: 43.94 kB / 474.1 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.362e-05/0.1373, allocations: 12 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.731e-05/0.1373, allocations: 23.86 kB / 474.1 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001385/0.1375, allocations: 19.91 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.178e-05/0.1375, allocations: 3.938 kB / 474.1 MB, free: 11.06 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.915e-05/0.1376, allocations: 39.92 kB / 474.2 MB, free: 11.02 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.85e-05/0.1376, allocations: 7.984 kB / 474.2 MB, free: 11.01 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.914e-05/0.1377, allocations: 41.64 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001512/0.1378, allocations: 80.09 kB / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.134e-06/0.1379, allocations: 0 / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.373e-06/0.1379, allocations: 0 / 474.3 MB, free: 10.89 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.697e-06/0.1379, allocations: 0 / 474.3 MB, free: 10.89 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: 7 * Number of variables: 7 Notification: Performance of Generate backend data structure: time 0.0005432/0.1384, allocations: 387.1 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.195e-05/0.1385, allocations: 8.031 kB / 474.7 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.383e-05/0.1385, allocations: 38.56 kB / 474.7 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.104e-05/0.1386, allocations: 11.91 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002133/0.1388, allocations: 190.8 kB / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 8.395e-06/0.1388, allocations: 0 / 474.9 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.263e-05/0.1388, allocations: 11.95 kB / 474.9 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001857/0.139, allocations: 75.39 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.147e-06/0.139, allocations: 0 / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.102e-05/0.139, allocations: 3.984 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.831e-06/0.1391, allocations: 8 kB / 475 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001657/0.1392, allocations: 51.95 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004296/0.1397, allocations: 308.8 kB / 475.4 MB, free: 9.656 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001239/0.1398, allocations: 50.55 kB / 475.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.348e-05/0.1398, allocations: 0 / 475.4 MB, free: 9.598 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.423e-05/0.1399, allocations: 34.56 kB / 475.5 MB, free: 9.555 MB / 350.1 MB Notification: Performance of pre-optimization done (n=4): time 2.935e-06/0.1399, allocations: 4 kB / 475.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of matching and sorting (n=7): time 0.0007767/0.1407, allocations: 253.6 kB / 475.7 MB, free: 9.297 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.406e-05/0.1407, allocations: 77.11 kB / 475.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001582/0.1409, allocations: 149.8 kB / 475.9 MB, free: 9.047 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.691e-05/0.1409, allocations: 29.7 kB / 476 MB, free: 9.012 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.244e-05/0.141, allocations: 100.1 kB / 476.1 MB, free: 8.91 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.09e-05/0.141, allocations: 19.72 kB / 476.1 MB, free: 8.891 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.452e-06/0.141, allocations: 4 kB / 476.1 MB, free: 8.887 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0002068/0.1412, allocations: 326.8 kB / 476.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000121/0.1414, allocations: 47.91 kB / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001305/0.1415, allocations: 65.61 kB / 476.5 MB, free: 8.441 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.00015/0.1417, allocations: 56 kB / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1417, allocations: 0 / 476.6 MB, free: 8.387 MB / 350.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002949/0.142, allocations: 133.5 kB / 476.7 MB, free: 8.25 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.721e-05/0.142, allocations: 6.344 kB / 476.7 MB, free: 8.246 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.514e-06/0.142, allocations: 3.984 kB / 476.7 MB, free: 8.242 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.587e-05/0.142, allocations: 3.984 kB / 476.7 MB, free: 8.238 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000132/0.1422, allocations: 27.92 kB / 476.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1422, allocations: 0 / 476.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.236e-05/0.1423, allocations: 19.98 kB / 476.7 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.01e-05/0.1423, allocations: 4 kB / 476.8 MB, free: 8.188 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 (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 9.471e-05/0.1424, allocations: 122.3 kB / 476.9 MB, free: 8.059 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.17e-05/0.1424, allocations: 7.906 kB / 476.9 MB, free: 8.051 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.000351/0.1428, allocations: 158.6 kB / 477 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.184e-06/0.1428, allocations: 0 / 477 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.088e-06/0.1428, allocations: 0 / 477 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.426e-06/0.1428, allocations: 0 / 477 MB, free: 7.891 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006246/0.1434, allocations: 434.4 kB / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.312e-06/0.1435, allocations: 0 / 477.5 MB, free: 7.41 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.53e-05/0.1435, allocations: 23.98 kB / 477.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.284e-06/0.1436, allocations: 4 kB / 477.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.087e-06/0.1436, allocations: 0 / 477.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.182e-06/0.1436, allocations: 0 / 477.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.62e-07/0.1436, allocations: 0 / 477.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003527/0.1439, allocations: 247.3 kB / 477.7 MB, free: 7.125 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.569e-05/0.144, allocations: 89 kB / 477.8 MB, free: 7.02 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.985e-05/0.144, allocations: 4 kB / 477.8 MB, free: 7.016 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 9.389e-05/0.1441, allocations: 11.98 kB / 477.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.168e-05/0.1442, allocations: 12 kB / 477.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.799e-06/0.1442, allocations: 0 / 477.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of sorting global known variables: time 8.97e-05/0.1443, allocations: 111.2 kB / 478 MB, free: 6.883 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.41e-07/0.1443, allocations: 0 / 478 MB, free: 6.883 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002563/0.1446, allocations: 24 kB / 478 MB, free: 6.859 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 (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.001558/0.1461, allocations: 1.123 MB / 479.1 MB, free: 5.891 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003119/0.1465, allocations: 103.9 kB / 479.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.884e-06/0.1465, allocations: 0 / 479.2 MB, free: 5.789 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000131/0.1466, allocations: 55.91 kB / 479.3 MB, free: 5.734 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002393/0.1469, allocations: 16.3 kB / 479.3 MB, free: 5.719 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1481, allocations: 0.6963 MB / 480 MB, free: 4.977 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000283/0.1484, allocations: 0.7043 MB / 480.7 MB, free: 4.246 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 9.229e-05/0.1485, allocations: 24.64 kB / 480.7 MB, free: 4.215 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.899e-05/0.1485, allocations: 23.42 kB / 480.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of SimCode: time 2.71e-07/0.1485, allocations: 0 / 480.7 MB, free: 4.195 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01555/0.1641, allocations: 2.612 MB / 483.3 MB, free: 1.703 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002051/0.1643, allocations: 215.4 kB / 483.5 MB, free: 1.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.913/2.078, allocations: 3.938 kB / 483.5 MB, free: 1.461 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31_fmu --startTime=0 --stopTime=60 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Dv_Test31.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Dv.Test31_res.mat does not exist to compare? outputFormat=mat