Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.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.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12",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.0008946/0.0008947, allocations: 89.75 kB / 17 MB, free: 6.047 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.001049/0.001049, allocations: 189.4 kB / 17.89 MB, free: 5.652 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.411/1.411, allocations: 223.2 MB / 241.9 MB, free: 308 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.277/0.277, allocations: 44.22 MB / 337.2 MB, free: 2.797 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.000466/0.0004664, allocations: 16 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1372/0.1377, allocations: 61.92 MB / 471.6 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test12): time 0.00198/0.1397, allocations: 1.259 MB / 472.9 MB, free: 12.37 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007539/0.1405, allocations: 375.7 kB / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.787e-05/0.1406, allocations: 3.938 kB / 473.3 MB, free: 12 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002067/0.1408, allocations: 19.92 kB / 473.3 MB, free: 11.98 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001273/0.1409, allocations: 31.91 kB / 473.3 MB, free: 11.95 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002692/0.1412, allocations: 99.81 kB / 473.4 MB, free: 11.85 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001181/0.1413, allocations: 47.84 kB / 473.5 MB, free: 11.8 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001014/0.1414, allocations: 8 kB / 473.5 MB, free: 11.79 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.499e-05/0.1415, allocations: 19.86 kB / 473.5 MB, free: 11.77 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.303e-05/0.1416, allocations: 27.84 kB / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.331e-05/0.1416, allocations: 0 / 473.5 MB, free: 11.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.946e-05/0.1417, allocations: 16 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.128e-05/0.1417, allocations: 19.92 kB / 473.6 MB, free: 11.71 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.113e-05/0.1418, allocations: 33.7 kB / 473.6 MB, free: 11.67 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001212/0.1419, allocations: 52.2 kB / 473.6 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.173e-06/0.1419, allocations: 4 kB / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of FrontEnd: time 4.759e-06/0.1419, allocations: 0 / 473.7 MB, free: 11.62 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.22e-06/0.1419, allocations: 3.938 kB / 473.7 MB, free: 11.61 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: 5 * Number of variables: 5 Notification: Performance of Generate backend data structure: time 0.00047/0.1424, allocations: 377.3 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.632e-05/0.1424, allocations: 12.03 kB / 474 MB, free: 11.19 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.18e-05/0.1425, allocations: 38.5 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.907e-05/0.1425, allocations: 11.89 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001676/0.1427, allocations: 186.9 kB / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 6.031e-06/0.1427, allocations: 0 / 474.3 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.057e-05/0.1427, allocations: 8 kB / 474.3 MB, free: 10.9 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001402/0.1429, allocations: 45.69 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.488e-05/0.1429, allocations: 0 / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.357e-06/0.1429, allocations: 3.938 kB / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.49e-06/0.1429, allocations: 0 / 474.3 MB, free: 10.84 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.735e-05/0.143, allocations: 35.97 kB / 474.4 MB, free: 10.81 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004157/0.1435, allocations: 284.8 kB / 474.6 MB, free: 10.48 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002222/0.1437, allocations: 54.55 kB / 474.7 MB, free: 10.42 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.04e-05/0.1438, allocations: 16.8 kB / 474.7 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.441e-05/0.1438, allocations: 4 kB / 474.7 MB, free: 10.39 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.217e-05/0.1438, allocations: 38.56 kB / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 1.082e-06/0.1438, allocations: 0 / 474.7 MB, free: 10.35 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005464/0.1444, allocations: 165.4 kB / 474.9 MB, free: 10.18 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.807e-05/0.1444, allocations: 51.41 kB / 475 MB, free: 10.12 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001618/0.1446, allocations: 172.2 kB / 475.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.567e-05/0.1446, allocations: 25.7 kB / 475.2 MB, free: 9.91 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.703e-05/0.1447, allocations: 100.1 kB / 475.2 MB, free: 9.809 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.126e-05/0.1447, allocations: 15.75 kB / 475.3 MB, free: 9.793 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.797e-06/0.1447, allocations: 4 kB / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.00011/0.1448, allocations: 318.8 kB / 475.6 MB, free: 9.469 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.816e-05/0.1449, allocations: 23.98 kB / 475.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.207e-05/0.145, allocations: 27.98 kB / 475.6 MB, free: 9.418 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.807e-05/0.1451, allocations: 23.98 kB / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.42e-07/0.1451, allocations: 0 / 475.7 MB, free: 9.395 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.0001815/0.1453, allocations: 97.5 kB / 475.7 MB, free: 9.293 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.555e-05/0.1453, allocations: 10.5 kB / 475.8 MB, free: 9.285 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.31e-06/0.1453, allocations: 7.938 kB / 475.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.199e-05/0.1453, allocations: 0 / 475.8 MB, free: 9.277 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.173e-05/0.1454, allocations: 15.98 kB / 475.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.117e-06/0.1454, allocations: 3.984 kB / 475.8 MB, free: 9.258 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 3.797e-05/0.1454, allocations: 11.89 kB / 475.8 MB, free: 9.246 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.005e-06/0.1455, allocations: 4 kB / 475.8 MB, free: 9.242 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 (5): * Single equations (assignments): 5 * 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.0001035/0.1456, allocations: 118.4 kB / 475.9 MB, free: 9.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.139e-05/0.1456, allocations: 15.91 kB / 475.9 MB, free: 9.102 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002489/0.1459, allocations: 105.9 kB / 476 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.895e-06/0.1459, allocations: 0 / 476 MB, free: 8.992 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.444e-06/0.1459, allocations: 3.984 kB / 476 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.086e-06/0.1459, allocations: 0 / 476 MB, free: 8.988 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004041/0.1463, allocations: 366.4 kB / 476.4 MB, free: 8.574 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.373e-06/0.1463, allocations: 4 kB / 476.4 MB, free: 8.57 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.183e-05/0.1464, allocations: 12.36 kB / 476.4 MB, free: 8.559 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.747e-06/0.1464, allocations: 4 kB / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.254e-06/0.1464, allocations: 0 / 476.4 MB, free: 8.555 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.866e-06/0.1464, allocations: 8 kB / 476.4 MB, free: 8.547 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.198e-06/0.1464, allocations: 7.891 kB / 476.4 MB, free: 8.539 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002673/0.1467, allocations: 187.4 kB / 476.6 MB, free: 8.34 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.333e-05/0.1468, allocations: 89.28 kB / 476.7 MB, free: 8.234 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.531e-05/0.1468, allocations: 4 kB / 476.7 MB, free: 8.23 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.519e-05/0.1469, allocations: 8 kB / 476.7 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.152e-05/0.1469, allocations: 11.92 kB / 476.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.92e-06/0.1469, allocations: 4 kB / 476.7 MB, free: 8.207 MB / 350.1 MB Notification: Performance of sorting global known variables: time 9.733e-05/0.147, allocations: 123.2 kB / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of sort global known variables: time 1e-07/0.147, allocations: 0 / 476.9 MB, free: 8.086 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002387/0.1473, allocations: 16 kB / 476.9 MB, free: 8.07 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 (5): * Single equations (assignments): 5 * 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.001406/0.1487, allocations: 1.021 MB / 477.9 MB, free: 7.18 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002062/0.1489, allocations: 59.97 kB / 477.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.1489, allocations: 0 / 477.9 MB, free: 7.121 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 8.948e-05/0.149, allocations: 39.91 kB / 478 MB, free: 7.082 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003525/0.1494, allocations: 19.7 kB / 478 MB, free: 7.066 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001153/0.1505, allocations: 0.6186 MB / 478.6 MB, free: 6.398 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003177/0.1509, allocations: 0.6965 MB / 479.3 MB, free: 5.676 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.81e-05/0.1509, allocations: 15.92 kB / 479.3 MB, free: 5.66 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.738e-05/0.151, allocations: 23.42 kB / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of SimCode: time 2.41e-07/0.151, allocations: 0 / 479.4 MB, free: 5.637 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01453/0.1655, allocations: 2.168 MB / 481.5 MB, free: 3.586 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002255/0.1658, allocations: 216.7 kB / 481.7 MB, free: 3.344 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.884/2.05, allocations: 0 / 481.7 MB, free: 3.344 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test12_res.mat does not exist to compare? outputFormat=mat