Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.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.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test14,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14",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.0009271/0.0009273, allocations: 96.7 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.001071/0.00107, allocations: 172.9 kB / 16.58 MB, free: 6.844 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.648/1.648, allocations: 205.4 MB / 222.8 MB, free: 5.652 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.3885/0.3885, allocations: 43.54 MB / 314.6 MB, free: 8.828 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.0005763/0.0005766, allocations: 16 kB / 384 MB, free: 7.914 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1322/0.1328, allocations: 58.86 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test14): time 0.002737/0.1355, allocations: 1.673 MB / 444.6 MB, free: 11.26 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001453/0.137, allocations: 0.824 MB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001477/0.1372, allocations: 3.938 kB / 445.4 MB, free: 10.43 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003224/0.1375, allocations: 35.83 kB / 445.4 MB, free: 10.39 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002491/0.1378, allocations: 55.7 kB / 445.5 MB, free: 10.34 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003631/0.1382, allocations: 99.8 kB / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002662/0.1385, allocations: 167.4 kB / 445.7 MB, free: 10.07 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.00015/0.1386, allocations: 37.64 kB / 445.8 MB, free: 10.04 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002042/0.1388, allocations: 63.7 kB / 445.8 MB, free: 9.977 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001418/0.139, allocations: 63.69 kB / 445.9 MB, free: 9.914 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.552e-05/0.139, allocations: 7.984 kB / 445.9 MB, free: 9.906 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001481/0.1392, allocations: 43.92 kB / 445.9 MB, free: 9.863 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.941e-05/0.1393, allocations: 27.91 kB / 446 MB, free: 9.836 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 7.588e-05/0.1393, allocations: 53.58 kB / 446 MB, free: 9.777 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002289/0.1396, allocations: 132 kB / 446.2 MB, free: 9.648 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.372e-06/0.1396, allocations: 4 kB / 446.2 MB, free: 9.645 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.1396, allocations: 0 / 446.2 MB, free: 9.645 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.989e-06/0.1396, allocations: 0 / 446.2 MB, free: 9.645 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: 17 * Number of variables: 17 Notification: Performance of Generate backend data structure: time 0.00105/0.1407, allocations: 0.5486 MB / 446.7 MB, free: 9.035 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.57e-05/0.1407, allocations: 8.031 kB / 446.7 MB, free: 9.027 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 6.029e-05/0.1408, allocations: 46.48 kB / 446.8 MB, free: 8.973 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 7.783e-05/0.1409, allocations: 15.81 kB / 446.8 MB, free: 8.957 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003203/0.1412, allocations: 239.5 kB / 447 MB, free: 8.68 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.108e-05/0.1412, allocations: 11.98 kB / 447 MB, free: 8.668 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.263e-05/0.1413, allocations: 11.98 kB / 447 MB, free: 8.656 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0004346/0.1417, allocations: 164.1 kB / 447.2 MB, free: 8.48 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.178e-05/0.1417, allocations: 3.938 kB / 447.2 MB, free: 8.477 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.921e-05/0.1418, allocations: 7.953 kB / 447.2 MB, free: 8.469 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 8.516e-06/0.1418, allocations: 4 kB / 447.2 MB, free: 8.465 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0004188/0.1422, allocations: 127.9 kB / 447.3 MB, free: 8.34 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0007355/0.143, allocations: 0.5477 MB / 447.9 MB, free: 7.734 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0006095/0.1436, allocations: 186.6 kB / 448.1 MB, free: 7.543 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.000227/0.1438, allocations: 84.73 kB / 448.1 MB, free: 7.457 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.67e-05/0.1439, allocations: 4 kB / 448.2 MB, free: 7.453 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0004133/0.1443, allocations: 151.2 kB / 448.3 MB, free: 7.293 MB / 382.1 MB Notification: Performance of pre-optimization done (n=12): time 1.814e-06/0.1443, allocations: 0 / 448.3 MB, free: 7.293 MB / 382.1 MB Notification: Performance of matching and sorting (n=12): time 0.0009378/0.1452, allocations: 293.3 kB / 448.6 MB, free: 7 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.096e-05/0.1453, allocations: 55.41 kB / 448.6 MB, free: 6.934 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.1456, allocations: 227.1 kB / 448.9 MB, free: 6.703 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.994e-05/0.1456, allocations: 33.7 kB / 448.9 MB, free: 6.664 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001044/0.1457, allocations: 124.3 kB / 449 MB, free: 6.539 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.599e-05/0.1458, allocations: 39.67 kB / 449.1 MB, free: 6.5 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.827e-06/0.1458, allocations: 0 / 449.1 MB, free: 6.5 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001648/0.146, allocations: 330.8 kB / 449.4 MB, free: 6.168 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0002537/0.1462, allocations: 87.83 kB / 449.5 MB, free: 6.082 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0002565/0.1465, allocations: 116.2 kB / 449.6 MB, free: 5.953 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0002605/0.1468, allocations: 109.7 kB / 449.7 MB, free: 5.84 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.535e-06/0.1468, allocations: 4 kB / 449.7 MB, free: 5.836 MB / 382.1 MB Notification: Performance of matching and sorting (n=19) (initialization): time 0.0006416/0.1474, allocations: 282.9 kB / 450 MB, free: 5.547 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.929e-05/0.1475, allocations: 33.7 kB / 450 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.697e-06/0.1475, allocations: 0 / 450 MB, free: 5.508 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.709e-05/0.1475, allocations: 7.984 kB / 450 MB, free: 5.5 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000173/0.1477, allocations: 47.97 kB / 450.1 MB, free: 5.453 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.147e-06/0.1477, allocations: 3.984 kB / 450.1 MB, free: 5.449 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0001759/0.1479, allocations: 35.91 kB / 450.1 MB, free: 5.414 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.058e-05/0.1479, allocations: 4 kB / 450.1 MB, free: 5.41 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 11 ($whenCondition2,$PRE.t_new.nextTimeEvent,$whenCondition1,$PRE.trapezoid1.T_start,trapezoid1.T_start,$PRE.trapezoid1.count,trapezoid1.count,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,err1.local_reset) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (18): * Single equations (assignments): 17 * Array equations: 0 * Algorithm blocks: 1 * 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.0001401/0.1481, allocations: 134.5 kB / 450.2 MB, free: 5.27 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.497e-05/0.1481, allocations: 19.72 kB / 450.2 MB, free: 5.25 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.702e-05/0.1482, allocations: 33.33 kB / 450.3 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.655e-06/0.1482, allocations: 0 / 450.3 MB, free: 5.219 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.1482, allocations: 3.938 kB / 450.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.799e-06/0.1482, allocations: 0 / 450.3 MB, free: 5.215 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002293/0.1485, allocations: 241.5 kB / 450.5 MB, free: 4.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.448e-06/0.1485, allocations: 4 kB / 450.5 MB, free: 4.926 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0001488/0.1486, allocations: 31.97 kB / 450.6 MB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.247e-06/0.1486, allocations: 0 / 450.6 MB, free: 4.895 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.611e-05/0.1487, allocations: 4 kB / 450.6 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.523e-06/0.1487, allocations: 0 / 450.6 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.42e-07/0.1487, allocations: 0 / 450.6 MB, free: 4.891 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0008362/0.1495, allocations: 344.6 kB / 450.9 MB, free: 4.535 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 8.494e-05/0.1496, allocations: 104.8 kB / 451 MB, free: 4.414 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.422e-05/0.1497, allocations: 3.938 kB / 451 MB, free: 4.41 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001574/0.1498, allocations: 31.97 kB / 451 MB, free: 4.379 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 8.47e-05/0.1499, allocations: 19.97 kB / 451.1 MB, free: 4.359 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.002e-05/0.1499, allocations: 4.062 kB / 451.1 MB, free: 4.355 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001585/0.1501, allocations: 168.6 kB / 451.2 MB, free: 4.191 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.71e-07/0.1501, allocations: 0 / 451.2 MB, free: 4.191 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000288/0.1504, allocations: 36 kB / 451.3 MB, free: 4.156 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 3 (trapezoid1.count,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (12): * Single equations (assignments): 8 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.002008/0.1524, allocations: 1.185 MB / 452.4 MB, free: 2.977 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0006419/0.1531, allocations: 243.1 kB / 452.7 MB, free: 2.727 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.575e-06/0.1531, allocations: 0 / 452.7 MB, free: 2.727 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.000249/0.1534, allocations: 92.19 kB / 452.8 MB, free: 2.637 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003553/0.1537, allocations: 39.91 kB / 452.8 MB, free: 2.598 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002244/0.156, allocations: 1.175 MB / 454 MB, free: 1.363 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003347/0.1563, allocations: 0.7244 MB / 454.7 MB, free: 0.6133 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.000119/0.1565, allocations: 25.53 kB / 454.7 MB, free: 0.582 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001022/0.1566, allocations: 51.36 kB / 454.8 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of SimCode: time 7.11e-07/0.1566, allocations: 0 / 454.8 MB, free: 0.5312 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.2106/0.3671, allocations: 4.292 MB / 459.1 MB, free: 45.39 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001417/0.3673, allocations: 243.2 kB / 459.3 MB, free: 45.13 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.764/2.132, allocations: 0 / 459.3 MB, free: 45.13 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test14.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test14_res.mat does not exist to compare? outputFormat=mat