Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.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.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test40,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40",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.001269/0.001269, allocations: 96.98 kB / 15.69 MB, free: 480 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.002069/0.002069, allocations: 175 kB / 16.57 MB, free: 6.391 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.762/1.762, allocations: 205.4 MB / 222.7 MB, free: 5.66 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.3809/0.3809, allocations: 43.55 MB / 314.5 MB, free: 9.031 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.000643/0.0006435, allocations: 20 kB / 384 MB, free: 8.16 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1337/0.1344, allocations: 58.85 MB / 442.9 MB, free: 13.2 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.00231/0.1367, allocations: 1.395 MB / 444.2 MB, free: 11.8 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001373/0.1381, allocations: 0.7266 MB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001114/0.1383, allocations: 4 kB / 445 MB, free: 11.06 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003635/0.1387, allocations: 75.77 kB / 445.1 MB, free: 10.98 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002357/0.1389, allocations: 63.84 kB / 445.1 MB, free: 10.92 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002868/0.1392, allocations: 75.78 kB / 445.2 MB, free: 10.85 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001593/0.1394, allocations: 67.84 kB / 445.3 MB, free: 10.78 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.895e-05/0.1395, allocations: 8.219 kB / 445.3 MB, free: 10.77 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.913e-05/0.1396, allocations: 47.83 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.761e-05/0.1397, allocations: 47.81 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.205e-05/0.1397, allocations: 4 kB / 445.4 MB, free: 10.68 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.609e-05/0.1398, allocations: 27.94 kB / 445.4 MB, free: 10.65 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.959e-05/0.1398, allocations: 15.92 kB / 445.4 MB, free: 10.63 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.66e-05/0.1399, allocations: 49.61 kB / 445.5 MB, free: 10.58 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001421/0.14, allocations: 84.09 kB / 445.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.094e-06/0.14, allocations: 0 / 445.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.463e-06/0.1401, allocations: 0 / 445.5 MB, free: 10.5 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.617e-06/0.1401, allocations: 0 / 445.5 MB, free: 10.5 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0004991/0.1406, allocations: 410.8 kB / 445.9 MB, free: 10.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.839e-05/0.1406, allocations: 12.03 kB / 445.9 MB, free: 10.04 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.43e-05/0.1407, allocations: 38.56 kB / 446 MB, free: 9.988 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.378e-05/0.1407, allocations: 11.81 kB / 446 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002301/0.1409, allocations: 207.5 kB / 446.2 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.04e-05/0.141, allocations: 0 / 446.2 MB, free: 9.734 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.779e-05/0.141, allocations: 8 kB / 446.2 MB, free: 9.727 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001317/0.1411, allocations: 49.67 kB / 446.3 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.758e-06/0.1411, allocations: 0 / 446.3 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.297e-05/0.1412, allocations: 7.953 kB / 446.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.45e-06/0.1412, allocations: 0 / 446.3 MB, free: 9.664 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.635e-05/0.1413, allocations: 23.98 kB / 446.3 MB, free: 9.641 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003634/0.1416, allocations: 288.8 kB / 446.6 MB, free: 9.309 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001527/0.1418, allocations: 54.67 kB / 446.6 MB, free: 9.246 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.118e-05/0.1418, allocations: 4 kB / 446.6 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001749/0.142, allocations: 79.41 kB / 446.7 MB, free: 9.152 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.392e-06/0.142, allocations: 0 / 446.7 MB, free: 9.152 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005296/0.1425, allocations: 173.2 kB / 446.9 MB, free: 8.977 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.709e-05/0.1426, allocations: 55.34 kB / 446.9 MB, free: 8.91 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002071/0.1428, allocations: 214.4 kB / 447.1 MB, free: 8.691 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.839e-05/0.1428, allocations: 33.64 kB / 447.2 MB, free: 8.652 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.501e-05/0.1429, allocations: 100.1 kB / 447.3 MB, free: 8.551 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.765e-05/0.143, allocations: 31.64 kB / 447.3 MB, free: 8.52 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.32e-06/0.143, allocations: 4 kB / 447.3 MB, free: 8.516 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001154/0.1431, allocations: 322.8 kB / 447.6 MB, free: 8.191 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.613e-05/0.1431, allocations: 23.98 kB / 447.6 MB, free: 8.168 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.946e-05/0.1432, allocations: 33.7 kB / 447.7 MB, free: 8.129 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.449e-05/0.1433, allocations: 20 kB / 447.7 MB, free: 8.109 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.296e-06/0.1433, allocations: 0 / 447.7 MB, free: 8.109 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001743/0.1435, allocations: 113.3 kB / 447.8 MB, free: 7.992 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.397e-05/0.1435, allocations: 4 kB / 447.8 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.109e-06/0.1435, allocations: 0 / 447.8 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.233e-05/0.1435, allocations: 0 / 447.8 MB, free: 7.988 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.089e-05/0.1436, allocations: 23.98 kB / 447.8 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.33e-06/0.1436, allocations: 0 / 447.8 MB, free: 7.965 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.907e-05/0.1437, allocations: 4 kB / 447.8 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.713e-06/0.1437, allocations: 0 / 447.8 MB, free: 7.961 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 2 * Number of states: 0 () * Number of discrete variables: 5 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (10): * Single equations (assignments): 10 * 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.0001092/0.1438, allocations: 141.8 kB / 448 MB, free: 7.812 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.987e-05/0.1438, allocations: 15.86 kB / 448 MB, free: 7.797 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.774e-05/0.1439, allocations: 17.39 kB / 448 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.124e-06/0.1439, allocations: 0 / 448 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.37e-06/0.1439, allocations: 0 / 448 MB, free: 7.781 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.394e-06/0.1439, allocations: 4 kB / 448 MB, free: 7.777 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004414/0.1444, allocations: 391.3 kB / 448.4 MB, free: 7.336 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.306e-06/0.1444, allocations: 4 kB / 448.4 MB, free: 7.332 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.293e-05/0.1444, allocations: 12.02 kB / 448.4 MB, free: 7.32 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.164e-06/0.1444, allocations: 4 kB / 448.4 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 8.376e-06/0.1444, allocations: 0 / 448.4 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.552e-06/0.1445, allocations: 0 / 448.4 MB, free: 7.316 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.957e-06/0.1445, allocations: 4.234 kB / 448.4 MB, free: 7.312 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002258/0.1447, allocations: 225.8 kB / 448.6 MB, free: 7.066 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.288e-05/0.1448, allocations: 100.9 kB / 448.7 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.357e-05/0.1448, allocations: 0 / 448.7 MB, free: 6.949 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.343e-05/0.1449, allocations: 4.375 kB / 448.7 MB, free: 6.945 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.372e-05/0.1449, allocations: 7.969 kB / 448.7 MB, free: 6.938 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.34e-05/0.1449, allocations: 4 kB / 448.8 MB, free: 6.934 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001699/0.1451, allocations: 160.4 kB / 448.9 MB, free: 6.777 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.5e-07/0.1451, allocations: 0 / 448.9 MB, free: 6.777 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000266/0.1454, allocations: 31.92 kB / 448.9 MB, free: 6.746 MB / 382.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (8): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 2 * 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.001405/0.1468, allocations: 1.176 MB / 450.1 MB, free: 5.578 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001704/0.147, allocations: 55.97 kB / 450.2 MB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.595e-06/0.147, allocations: 0 / 450.2 MB, free: 5.523 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.869e-05/0.1471, allocations: 23.94 kB / 450.2 MB, free: 5.5 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002569/0.1473, allocations: 27.97 kB / 450.2 MB, free: 5.473 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001162/0.1485, allocations: 0.8987 MB / 451.1 MB, free: 4.516 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002419/0.1488, allocations: 0.7121 MB / 451.8 MB, free: 3.777 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.496e-05/0.1488, allocations: 20.78 kB / 451.9 MB, free: 3.758 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.025e-05/0.1489, allocations: 35.42 kB / 451.9 MB, free: 3.723 MB / 382.1 MB Notification: Performance of SimCode: time 3.71e-07/0.1489, allocations: 0 / 451.9 MB, free: 3.723 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01319/0.1621, allocations: 3.017 MB / 454.9 MB, free: 0.707 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001825/0.1623, allocations: 220.4 kB / 455.1 MB, free: 472 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.738/1.9, allocations: 0 / 455.1 MB, free: 472 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40_fmu --startTime=0 --stopTime=100 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test40.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test40_res.mat does not exist to compare? outputFormat=mat