Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.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.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test1,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1",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.000832/0.0008319, allocations: 97.09 kB / 15.7 MB, free: 468 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.0009373/0.0009372, allocations: 172.8 kB / 16.58 MB, free: 5.648 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.512/1.512, allocations: 205.4 MB / 222.7 MB, free: 5.59 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.3583/0.3583, allocations: 43.55 MB / 314.6 MB, free: 8.988 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.0006231/0.0006232, allocations: 16 kB / 384 MB, free: 8.129 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1331/0.1338, allocations: 58.86 MB / 442.9 MB, free: 13.17 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test1): time 0.002054/0.1359, allocations: 1.391 MB / 444.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001162/0.1371, allocations: 0.7499 MB / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.89e-05/0.1371, allocations: 0 / 445 MB, free: 11.01 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002966/0.1375, allocations: 43.88 kB / 445.1 MB, free: 10.96 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000183/0.1376, allocations: 51.81 kB / 445.1 MB, free: 10.91 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002466/0.1379, allocations: 83.78 kB / 445.2 MB, free: 10.83 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001556/0.1381, allocations: 83.69 kB / 445.3 MB, free: 10.75 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.545e-05/0.1382, allocations: 16.22 kB / 445.3 MB, free: 10.73 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.932e-05/0.1383, allocations: 43.77 kB / 445.3 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.844e-05/0.1384, allocations: 27.86 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.466e-05/0.1384, allocations: 4 kB / 445.4 MB, free: 10.66 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.665e-05/0.1385, allocations: 35.98 kB / 445.4 MB, free: 10.62 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.732e-05/0.1385, allocations: 31.91 kB / 445.4 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.716e-05/0.1386, allocations: 41.62 kB / 445.5 MB, free: 10.55 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001646/0.1388, allocations: 100 kB / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.972e-06/0.1388, allocations: 0 / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.533e-06/0.1388, allocations: 0 / 445.6 MB, free: 10.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 7.414e-06/0.1388, allocations: 0 / 445.6 MB, free: 10.45 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.0005591/0.1393, allocations: 426.6 kB / 446 MB, free: 9.984 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.583e-05/0.1394, allocations: 8.031 kB / 446 MB, free: 9.977 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.332e-05/0.1395, allocations: 34.56 kB / 446 MB, free: 9.934 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.1395, allocations: 15.81 kB / 446.1 MB, free: 9.918 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002431/0.1397, allocations: 210.8 kB / 446.3 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.181e-05/0.1398, allocations: 0 / 446.3 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.952e-05/0.1398, allocations: 0 / 446.3 MB, free: 9.672 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000159/0.14, allocations: 61.61 kB / 446.3 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.173e-05/0.14, allocations: 0 / 446.3 MB, free: 9.605 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.098e-05/0.14, allocations: 3.953 kB / 446.3 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.94e-06/0.14, allocations: 0 / 446.3 MB, free: 9.602 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.274e-05/0.1401, allocations: 19.98 kB / 446.3 MB, free: 9.582 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000395/0.1405, allocations: 296.9 kB / 446.6 MB, free: 9.242 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001558/0.1407, allocations: 58.62 kB / 446.7 MB, free: 9.176 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.888e-05/0.1407, allocations: 24.78 kB / 446.7 MB, free: 9.148 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.253e-05/0.1407, allocations: 3.984 kB / 446.7 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001865/0.1409, allocations: 79.34 kB / 446.8 MB, free: 9.055 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.222e-06/0.141, allocations: 0 / 446.8 MB, free: 9.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005205/0.1415, allocations: 177 kB / 447 MB, free: 8.875 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.04e-05/0.1415, allocations: 51.41 kB / 447 MB, free: 8.812 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002406/0.1418, allocations: 262.5 kB / 447.3 MB, free: 8.543 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.658e-05/0.1418, allocations: 25.7 kB / 447.3 MB, free: 8.512 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.673e-05/0.1419, allocations: 116 kB / 447.4 MB, free: 8.395 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.876e-05/0.1419, allocations: 31.64 kB / 447.4 MB, free: 8.363 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.057e-06/0.1419, allocations: 0 / 447.4 MB, free: 8.363 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001205/0.142, allocations: 330.8 kB / 447.8 MB, free: 8.031 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.117e-05/0.1421, allocations: 19.98 kB / 447.8 MB, free: 8.012 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.156e-05/0.1422, allocations: 41.64 kB / 447.8 MB, free: 7.965 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.454e-05/0.1422, allocations: 23.94 kB / 447.8 MB, free: 7.941 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.61e-07/0.1422, allocations: 0 / 447.8 MB, free: 7.941 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001726/0.1424, allocations: 101.5 kB / 447.9 MB, free: 7.836 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.908e-05/0.1425, allocations: 8 kB / 448 MB, free: 7.828 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.32e-06/0.1425, allocations: 3.938 kB / 448 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.28e-05/0.1425, allocations: 0 / 448 MB, free: 7.824 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.118e-05/0.1426, allocations: 19.98 kB / 448 MB, free: 7.805 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.324e-06/0.1426, allocations: 4 kB / 448 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.271e-05/0.1426, allocations: 0 / 448 MB, free: 7.801 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.677e-06/0.1427, allocations: 4 kB / 448 MB, free: 7.797 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 9.922e-05/0.1428, allocations: 137.8 kB / 448.1 MB, free: 7.652 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.949e-05/0.1428, allocations: 27.75 kB / 448.1 MB, free: 7.625 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.048e-05/0.1428, allocations: 13.41 kB / 448.2 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.874e-06/0.1429, allocations: 4 kB / 448.2 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.298e-06/0.1429, allocations: 0 / 448.2 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.075e-06/0.1429, allocations: 0 / 448.2 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004241/0.1433, allocations: 411.2 kB / 448.6 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.453e-06/0.1433, allocations: 0 / 448.6 MB, free: 7.145 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.333e-05/0.1434, allocations: 11.97 kB / 448.6 MB, free: 7.133 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.974e-06/0.1434, allocations: 4 kB / 448.6 MB, free: 7.129 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.307e-05/0.1434, allocations: 7.984 kB / 448.6 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.503e-06/0.1434, allocations: 0 / 448.6 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1434, allocations: 192 / 448.6 MB, free: 7.121 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002148/0.1436, allocations: 208.4 kB / 448.8 MB, free: 6.898 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.664e-05/0.1437, allocations: 88.95 kB / 448.9 MB, free: 6.793 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.606e-05/0.1437, allocations: 15.98 kB / 448.9 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.59e-05/0.1438, allocations: 0 / 448.9 MB, free: 6.777 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.1438, allocations: 4 kB / 448.9 MB, free: 6.773 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.841e-05/0.1438, allocations: 7.984 kB / 448.9 MB, free: 6.766 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001694/0.144, allocations: 204 kB / 449.1 MB, free: 6.566 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.144, allocations: 3.938 kB / 449.1 MB, free: 6.562 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002536/0.1443, allocations: 24 kB / 449.1 MB, free: 6.539 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.00136/0.1456, allocations: 1.094 MB / 450.2 MB, free: 5.457 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001594/0.1458, allocations: 63.91 kB / 450.3 MB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.743e-06/0.1458, allocations: 0 / 450.3 MB, free: 5.395 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.444e-05/0.1459, allocations: 27.92 kB / 450.3 MB, free: 5.367 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003196/0.1462, allocations: 27.97 kB / 450.3 MB, free: 5.34 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001215/0.1475, allocations: 0.8744 MB / 451.2 MB, free: 4.41 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002517/0.1477, allocations: 0.716 MB / 451.9 MB, free: 3.668 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.866e-05/0.1478, allocations: 13.19 kB / 452 MB, free: 3.656 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.739e-05/0.1478, allocations: 43.41 kB / 452 MB, free: 3.613 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.1479, allocations: 0 / 452 MB, free: 3.613 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01448/0.1623, allocations: 3.249 MB / 455.2 MB, free: 368 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002136/0.1626, allocations: 216.2 kB / 455.5 MB, free: 124 kB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.667/1.83, allocations: 4 kB / 455.5 MB, free: 120 kB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test1.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test1_res.mat does not exist to compare? outputFormat=mat