Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.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.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test20,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20",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.0008597/0.0008598, allocations: 97.61 kB / 17 MB, free: 6.398 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.0009689/0.0009689, allocations: 180.2 kB / 17.89 MB, free: 5.941 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.416/1.416, allocations: 223.2 MB / 241.9 MB, free: 236 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.2291/0.2291, allocations: 44.23 MB / 337.2 MB, free: 2.785 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0004768/0.000477, allocations: 8 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.14/0.1405, allocations: 61.93 MB / 471.7 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test20): time 0.001742/0.1423, allocations: 1.259 MB / 472.9 MB, free: 12.36 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001284/0.1436, allocations: 0.9532 MB / 473.9 MB, free: 11.4 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 4.848e-05/0.1437, allocations: 4 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0001772/0.1439, allocations: 19.91 kB / 473.9 MB, free: 11.38 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001355/0.144, allocations: 43.84 kB / 473.9 MB, free: 11.33 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000254/0.1443, allocations: 87.83 kB / 474 MB, free: 11.25 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.00012/0.1444, allocations: 55.83 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 7.957e-05/0.1445, allocations: 4 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 4.497e-05/0.1445, allocations: 19.92 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001178/0.1447, allocations: 31.84 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.286e-05/0.1447, allocations: 0 / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.663e-05/0.1448, allocations: 39.98 kB / 474.2 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.198e-05/0.1448, allocations: 7.938 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 2.503e-05/0.1449, allocations: 29.7 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000139/0.145, allocations: 76.09 kB / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.591e-06/0.145, allocations: 0 / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.593e-06/0.145, allocations: 0 / 474.3 MB, free: 10.98 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.799e-06/0.145, allocations: 0 / 474.3 MB, free: 10.98 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.0003972/0.1454, allocations: 367.2 kB / 474.6 MB, free: 10.57 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.652e-05/0.1455, allocations: 12.03 kB / 474.7 MB, free: 10.56 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.441e-05/0.1455, allocations: 34.5 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 2.64e-05/0.1456, allocations: 4 kB / 474.7 MB, free: 10.52 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0001862/0.1457, allocations: 190.4 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.968e-06/0.1458, allocations: 7.891 kB / 474.9 MB, free: 10.29 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.933e-05/0.1458, allocations: 4 kB / 474.9 MB, free: 10.28 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.146, allocations: 63.39 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.027e-06/0.146, allocations: 4 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.935e-06/0.146, allocations: 0 / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.861e-06/0.146, allocations: 4 kB / 475 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.88e-05/0.1461, allocations: 31.92 kB / 475 MB, free: 10.17 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003607/0.1465, allocations: 280.9 kB / 475.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001994/0.1467, allocations: 46.56 kB / 475.3 MB, free: 9.789 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.641e-05/0.1467, allocations: 20.94 kB / 475.3 MB, free: 9.766 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.094e-05/0.1468, allocations: 7.922 kB / 475.3 MB, free: 9.758 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 2.094e-05/0.1468, allocations: 34.5 kB / 475.4 MB, free: 9.715 MB / 350.1 MB Notification: Performance of pre-optimization done (n=3): time 2.275e-06/0.1468, allocations: 8 kB / 475.4 MB, free: 9.707 MB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0005656/0.1474, allocations: 153.3 kB / 475.5 MB, free: 9.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.329e-05/0.1474, allocations: 89.03 kB / 475.6 MB, free: 9.445 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001338/0.1476, allocations: 137.8 kB / 475.7 MB, free: 9.301 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.502e-05/0.1476, allocations: 25.7 kB / 475.8 MB, free: 9.27 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.484e-05/0.1477, allocations: 96.06 kB / 475.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 1.984e-05/0.1477, allocations: 11.81 kB / 475.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.476e-06/0.1477, allocations: 0 / 475.9 MB, free: 9.16 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1478, allocations: 326.8 kB / 476.2 MB, free: 8.832 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 7.224e-05/0.1479, allocations: 27.98 kB / 476.2 MB, free: 8.805 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.042e-05/0.148, allocations: 33.7 kB / 476.3 MB, free: 8.766 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 7.171e-05/0.1481, allocations: 23.98 kB / 476.3 MB, free: 8.742 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.615e-06/0.1481, allocations: 3.984 kB / 476.3 MB, free: 8.738 MB / 350.1 MB Notification: Performance of matching and sorting (n=5) (initialization): time 0.00019/0.1483, allocations: 93.61 kB / 476.4 MB, free: 8.641 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1483, allocations: 10.5 kB / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.649e-06/0.1483, allocations: 256 / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.107e-05/0.1483, allocations: 0 / 476.4 MB, free: 8.633 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.401e-05/0.1484, allocations: 23.92 kB / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.451e-06/0.1484, allocations: 0 / 476.4 MB, free: 8.609 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.349e-05/0.1485, allocations: 8 kB / 476.4 MB, free: 8.602 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.537e-06/0.1485, allocations: 8 kB / 476.4 MB, free: 8.594 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 9.414e-05/0.1486, allocations: 122.3 kB / 476.5 MB, free: 8.465 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.776e-05/0.1486, allocations: 3.906 kB / 476.5 MB, free: 8.461 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0002376/0.1488, allocations: 105.6 kB / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.056e-06/0.1489, allocations: 288 / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.999e-06/0.1489, allocations: 0 / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.31e-06/0.1489, allocations: 0 / 476.7 MB, free: 8.352 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004215/0.1493, allocations: 370.4 kB / 477 MB, free: 7.934 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.603e-06/0.1493, allocations: 4 kB / 477 MB, free: 7.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.309e-05/0.1494, allocations: 12 kB / 477 MB, free: 7.918 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.044e-06/0.1494, allocations: 3.938 kB / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.294e-06/0.1494, allocations: 0 / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.995e-06/0.1494, allocations: 0 / 477 MB, free: 7.914 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1494, allocations: 3.938 kB / 477 MB, free: 7.91 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002763/0.1497, allocations: 199.3 kB / 477.2 MB, free: 7.699 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.589e-05/0.1498, allocations: 89 kB / 477.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.612e-05/0.1498, allocations: 0 / 477.3 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.776e-05/0.1498, allocations: 8 kB / 477.3 MB, free: 7.586 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.24e-05/0.1499, allocations: 3.984 kB / 477.3 MB, free: 7.582 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 5.671e-06/0.1499, allocations: 4.188 kB / 477.3 MB, free: 7.578 MB / 350.1 MB Notification: Performance of sorting global known variables: time 7.434e-05/0.15, allocations: 103.3 kB / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.15, allocations: 0 / 477.4 MB, free: 7.477 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002552/0.1502, allocations: 23.98 kB / 477.5 MB, free: 7.453 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.001481/0.1517, allocations: 1.068 MB / 478.5 MB, free: 6.531 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002068/0.1519, allocations: 55.97 kB / 478.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.968e-06/0.152, allocations: 0 / 478.6 MB, free: 6.477 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 7.933e-05/0.1521, allocations: 39.92 kB / 478.6 MB, free: 6.438 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003284/0.1524, allocations: 15.92 kB / 478.6 MB, free: 6.422 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001063/0.1535, allocations: 0.5399 MB / 479.2 MB, free: 5.836 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003775/0.1539, allocations: 0.6888 MB / 479.9 MB, free: 5.121 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.649e-05/0.1539, allocations: 19.97 kB / 479.9 MB, free: 5.102 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.536e-05/0.154, allocations: 19.38 kB / 479.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of SimCode: time 6.51e-07/0.154, allocations: 0 / 479.9 MB, free: 5.082 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01471/0.1687, allocations: 2.325 MB / 482.2 MB, free: 2.883 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001924/0.169, allocations: 222.7 kB / 482.4 MB, free: 2.645 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.857/2.026, allocations: 0 / 482.4 MB, free: 2.645 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test20.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test20_res.mat does not exist to compare? outputFormat=mat