Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.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 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.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable1Dv.Test6,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_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.001034/0.001034, allocations: 96.41 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.001166/0.001166, allocations: 188.4 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.427/1.427, allocations: 223.2 MB / 241.8 MB, free: 380 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.2238/0.2238, allocations: 44.23 MB / 337.1 MB, free: 2.898 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003746/0.0003747, allocations: 12 kB / 409.6 MB, free: 27.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1338, allocations: 61.93 MB / 471.5 MB, free: 13.65 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable1Dv.Test6): time 0.002203/0.1361, allocations: 1.298 MB / 472.8 MB, free: 12.34 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.0007341/0.1369, allocations: 383.5 kB / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.036e-05/0.1369, allocations: 0 / 473.2 MB, free: 11.96 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003007/0.1373, allocations: 79.8 kB / 473.3 MB, free: 11.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001603/0.1374, allocations: 67.84 kB / 473.4 MB, free: 11.82 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003061/0.1377, allocations: 99.25 kB / 473.5 MB, free: 11.73 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001631/0.1379, allocations: 63.86 kB / 473.5 MB, free: 11.66 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001247/0.138, allocations: 23.97 kB / 473.5 MB, free: 11.64 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 6.163e-05/0.1381, allocations: 31.86 kB / 473.6 MB, free: 11.61 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001211/0.1382, allocations: 47.83 kB / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.176e-05/0.1383, allocations: 0 / 473.6 MB, free: 11.56 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.537e-05/0.1384, allocations: 31.92 kB / 473.7 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.618e-05/0.1384, allocations: 27.91 kB / 473.7 MB, free: 11.5 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.787e-05/0.1384, allocations: 37.64 kB / 473.7 MB, free: 11.46 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001515/0.1386, allocations: 88.08 kB / 473.8 MB, free: 11.38 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.385e-06/0.1386, allocations: 4 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.853e-06/0.1386, allocations: 0 / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.989e-06/0.1386, allocations: 4 kB / 473.8 MB, free: 11.37 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: 13 * Number of variables: 13 Notification: Performance of Generate backend data structure: time 0.0005184/0.1392, allocations: 406.8 kB / 474.2 MB, free: 10.92 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.635e-05/0.1392, allocations: 11.97 kB / 474.2 MB, free: 10.91 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.373e-05/0.1393, allocations: 38.55 kB / 474.3 MB, free: 10.86 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.33e-05/0.1393, allocations: 11.81 kB / 474.3 MB, free: 10.85 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002239/0.1395, allocations: 210.8 kB / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.388e-06/0.1396, allocations: 0 / 474.5 MB, free: 10.61 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.379e-05/0.1396, allocations: 11.95 kB / 474.5 MB, free: 10.59 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.1398, allocations: 81.66 kB / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.343e-05/0.1398, allocations: 0 / 474.6 MB, free: 10.51 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.443e-05/0.1398, allocations: 4 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.342e-06/0.1398, allocations: 0 / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.000125/0.14, allocations: 43.97 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004862/0.1405, allocations: 348.6 kB / 475 MB, free: 10.07 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001318/0.1406, allocations: 70.53 kB / 475 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.276e-05/0.1406, allocations: 0 / 475 MB, free: 9.992 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 3.888e-05/0.1407, allocations: 42.5 kB / 475.1 MB, free: 9.941 MB / 350.1 MB Notification: Performance of pre-optimization done (n=7): time 9.12e-07/0.1407, allocations: 4 kB / 475.1 MB, free: 9.938 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.001114/0.1418, allocations: 353.3 kB / 475.4 MB, free: 9.586 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.124e-05/0.1419, allocations: 55.36 kB / 475.5 MB, free: 9.52 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002309/0.1421, allocations: 231.2 kB / 475.7 MB, free: 9.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.224e-05/0.1421, allocations: 33.64 kB / 475.7 MB, free: 9.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.732e-05/0.1422, allocations: 112.1 kB / 475.8 MB, free: 9.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.056e-05/0.1422, allocations: 47.5 kB / 475.9 MB, free: 9.082 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.44e-06/0.1423, allocations: 4 kB / 475.9 MB, free: 9.078 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001388/0.1424, allocations: 326.8 kB / 476.2 MB, free: 8.75 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.000103/0.1425, allocations: 47.97 kB / 476.3 MB, free: 8.703 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.43e-05/0.1426, allocations: 47.97 kB / 476.3 MB, free: 8.656 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001112/0.1427, allocations: 60.09 kB / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.394e-06/0.1427, allocations: 0 / 476.4 MB, free: 8.598 MB / 350.1 MB Notification: Performance of matching and sorting (n=13) (initialization): time 0.0002619/0.143, allocations: 164.4 kB / 476.5 MB, free: 8.434 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.45e-05/0.143, allocations: 8 kB / 476.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.143, allocations: 0 / 476.5 MB, free: 8.426 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.231e-05/0.1431, allocations: 4 kB / 476.5 MB, free: 8.422 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001213/0.1432, allocations: 27.98 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.002e-06/0.1432, allocations: 0 / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.786e-05/0.1433, allocations: 15.94 kB / 476.6 MB, free: 8.379 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.011e-05/0.1433, allocations: 4 kB / 476.6 MB, free: 8.375 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 (13): * Single equations (assignments): 13 * 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.0001145/0.1434, allocations: 142.3 kB / 476.7 MB, free: 8.227 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.271e-05/0.1434, allocations: 15.81 kB / 476.7 MB, free: 8.211 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0003447/0.1438, allocations: 187.1 kB / 476.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.325e-06/0.1438, allocations: 0 / 476.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.107e-06/0.1438, allocations: 0 / 476.9 MB, free: 8.027 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.941e-06/0.1438, allocations: 7.953 kB / 476.9 MB, free: 8.02 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0006678/0.1445, allocations: 0.5068 MB / 477.4 MB, free: 7.453 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.974e-06/0.1445, allocations: 4.031 kB / 477.4 MB, free: 7.449 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 9.032e-05/0.1446, allocations: 27.98 kB / 477.5 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.408e-06/0.1446, allocations: 3.953 kB / 477.5 MB, free: 7.418 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.201e-05/0.1446, allocations: 4 kB / 477.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.613e-06/0.1446, allocations: 0 / 477.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.022e-06/0.1446, allocations: 0 / 477.5 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003531/0.145, allocations: 273.8 kB / 477.7 MB, free: 7.121 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.871e-05/0.1451, allocations: 96.97 kB / 477.8 MB, free: 7.008 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.14e-05/0.1451, allocations: 4 kB / 477.8 MB, free: 7.004 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.795e-05/0.1452, allocations: 11.98 kB / 477.8 MB, free: 6.992 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.884e-05/0.1452, allocations: 11.98 kB / 477.9 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 6.693e-06/0.1453, allocations: 4 kB / 477.9 MB, free: 6.977 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001558/0.1454, allocations: 171.2 kB / 478 MB, free: 6.809 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.3e-07/0.1454, allocations: 0 / 478 MB, free: 6.809 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002702/0.1457, allocations: 31.98 kB / 478.1 MB, free: 6.777 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 2 * 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 (13): * Single equations (assignments): 13 * 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.0019/0.1476, allocations: 1.213 MB / 479.3 MB, free: 5.715 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003063/0.1479, allocations: 123.6 kB / 479.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.956e-06/0.1479, allocations: 0 / 479.4 MB, free: 5.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001291/0.1481, allocations: 68.03 kB / 479.5 MB, free: 5.531 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002892/0.1484, allocations: 15.98 kB / 479.5 MB, free: 5.516 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001584/0.15, allocations: 0.9367 MB / 480.4 MB, free: 4.527 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003349/0.1503, allocations: 0.7277 MB / 481.1 MB, free: 3.773 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.786e-05/0.1504, allocations: 28.52 kB / 481.2 MB, free: 3.746 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.4e-05/0.1505, allocations: 43.36 kB / 481.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of SimCode: time 4.41e-07/0.1505, allocations: 0 / 481.2 MB, free: 3.703 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01473/0.1652, allocations: 3.029 MB / 484.2 MB, free: 0.7891 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001738/0.1655, allocations: 214.4 kB / 484.5 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.752/1.918, allocations: 0 / 484.5 MB, free: 0.5469 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable1Dv_Test6.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable1Dv.Test6_res.mat does not exist to compare? outputFormat=mat