Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.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.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTable2Ds.Test33,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33",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.001586/0.001586, allocations: 104.5 kB / 17.63 MB, free: 5.344 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.002572/0.002572, allocations: 192 kB / 18.56 MB, free: 4.434 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.409/1.409, allocations: 222.9 MB / 242.3 MB, free: 15.17 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.0.0+maint.om/package.mo): time 0.2091/0.2091, allocations: 44.18 MB / 336.6 MB, free: 2.758 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.001285/0.001285, allocations: 61.23 kB / 408.5 MB, free: 27.14 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09709/0.09839, allocations: 60.83 MB / 469.4 MB, free: 14.28 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTable2Ds.Test33): time 0.003081/0.1015, allocations: 1.818 MB / 471.2 MB, free: 12.45 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001306/0.1028, allocations: 0.8575 MB / 472 MB, free: 11.59 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.321e-05/0.1029, allocations: 4 kB / 472 MB, free: 11.58 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002117/0.1031, allocations: 51.73 kB / 472.1 MB, free: 11.53 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002512/0.1034, allocations: 83.53 kB / 472.2 MB, free: 11.45 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004295/0.1039, allocations: 155.6 kB / 472.3 MB, free: 11.3 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002442/0.1041, allocations: 199.4 kB / 472.5 MB, free: 11.1 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001018/0.1042, allocations: 21.08 kB / 472.5 MB, free: 11.08 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001198/0.1044, allocations: 75.73 kB / 472.6 MB, free: 11 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001426/0.1045, allocations: 99.64 kB / 472.7 MB, free: 10.91 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 3.353e-05/0.1046, allocations: 12 kB / 472.7 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001004/0.1047, allocations: 47.92 kB / 472.8 MB, free: 10.85 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 7.883e-05/0.1048, allocations: 39.89 kB / 472.8 MB, free: 10.81 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 7.792e-05/0.1048, allocations: 79.52 kB / 472.9 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002373/0.1051, allocations: 183.7 kB / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.935e-06/0.1051, allocations: 0 / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.252e-06/0.1051, allocations: 0 / 473.1 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.059e-06/0.1051, allocations: 0 / 473.1 MB, free: 10.55 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: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.001133/0.1062, allocations: 0.5682 MB / 473.6 MB, free: 9.922 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.804e-05/0.1063, allocations: 16.03 kB / 473.7 MB, free: 9.906 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.753e-05/0.1063, allocations: 34.73 kB / 473.7 MB, free: 9.863 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.8e-05/0.1064, allocations: 16.75 kB / 473.7 MB, free: 9.848 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000243/0.1067, allocations: 232.7 kB / 473.9 MB, free: 9.582 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.427e-06/0.1067, allocations: 4.375 kB / 473.9 MB, free: 9.578 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.528e-05/0.1067, allocations: 15.92 kB / 473.9 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0005139/0.1072, allocations: 145.5 kB / 474.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.359e-05/0.1073, allocations: 0 / 474.1 MB, free: 9.414 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.867e-05/0.1073, allocations: 4 kB / 474.1 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.214e-06/0.1073, allocations: 0 / 474.1 MB, free: 9.41 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0007634/0.1081, allocations: 163.8 kB / 474.3 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000521/0.1086, allocations: 368.6 kB / 474.6 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0008142/0.1094, allocations: 194.4 kB / 474.8 MB, free: 8.641 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0003936/0.1098, allocations: 96.75 kB / 474.9 MB, free: 8.543 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.964e-05/0.1099, allocations: 7.938 kB / 474.9 MB, free: 8.535 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000626/0.1105, allocations: 159.2 kB / 475.1 MB, free: 8.367 MB / 350.1 MB Notification: Performance of pre-optimization done (n=10): time 1.823e-06/0.1105, allocations: 0 / 475.1 MB, free: 8.367 MB / 350.1 MB Notification: Performance of matching and sorting (n=13): time 0.003822/0.1143, allocations: 0.8153 MB / 475.9 MB, free: 7.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.746e-05/0.1144, allocations: 59.34 kB / 475.9 MB, free: 7.477 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000255/0.1147, allocations: 243.6 kB / 476.2 MB, free: 7.23 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.987e-05/0.1147, allocations: 29.7 kB / 476.2 MB, free: 7.195 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.844e-05/0.1148, allocations: 124.1 kB / 476.3 MB, free: 7.07 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.574e-05/0.1148, allocations: 39.59 kB / 476.4 MB, free: 7.031 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.062e-05/0.1149, allocations: 37.7 kB / 476.4 MB, free: 6.988 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001059/0.115, allocations: 326.8 kB / 476.7 MB, free: 6.66 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0007309/0.1158, allocations: 175.7 kB / 476.9 MB, free: 6.488 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0006983/0.1165, allocations: 167.8 kB / 477.1 MB, free: 6.324 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.001343/0.1178, allocations: 366.6 kB / 477.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.122e-06/0.1178, allocations: 0 / 477.4 MB, free: 5.953 MB / 350.1 MB Notification: Performance of matching and sorting (n=17) (initialization): time 0.001543/0.1194, allocations: 460.3 kB / 477.9 MB, free: 5.484 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 4.649e-05/0.1194, allocations: 67.41 kB / 477.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.402e-06/0.1195, allocations: 0 / 477.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.763e-05/0.1195, allocations: 0 / 477.9 MB, free: 5.406 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0004619/0.1199, allocations: 67.84 kB / 478 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.211e-06/0.12, allocations: 0 / 478 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 0.0004154/0.1204, allocations: 67.91 kB / 478.1 MB, free: 5.273 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 2.832e-05/0.1204, allocations: 15.98 kB / 478.1 MB, free: 5.258 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: 10 (trapezoid2.count,$PRE.trapezoid2.count,trapezoid2.T_start,$PRE.trapezoid2.T_start,trapezoid1.count,$PRE.trapezoid1.count,trapezoid1.T_start,$PRE.trapezoid1.T_start,$whenCondition1,$whenCondition2) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 13 * Array equations: 0 * Algorithm blocks: 2 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001295/0.1206, allocations: 133.8 kB / 478.2 MB, free: 5.117 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.905e-05/0.1206, allocations: 19.8 kB / 478.2 MB, free: 5.098 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.001546/0.1222, allocations: 402.8 kB / 478.6 MB, free: 4.703 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.275e-05/0.1222, allocations: 7.938 kB / 478.6 MB, free: 4.695 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.29e-06/0.1222, allocations: 3.984 kB / 478.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.637e-06/0.1222, allocations: 0 / 478.6 MB, free: 4.691 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.001796/0.124, allocations: 0.7051 MB / 479.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.054e-06/0.124, allocations: 0 / 479.3 MB, free: 3.93 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 0.0003909/0.1244, allocations: 67.84 kB / 479.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.757e-06/0.1244, allocations: 0 / 479.4 MB, free: 3.863 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.056e-05/0.1244, allocations: 8 kB / 479.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1245, allocations: 0 / 479.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.423e-06/0.1245, allocations: 0 / 479.4 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.001579/0.126, allocations: 478.8 kB / 479.9 MB, free: 3.371 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 9.076e-05/0.1261, allocations: 96.86 kB / 480 MB, free: 3.258 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.912e-05/0.1262, allocations: 7.984 kB / 480 MB, free: 3.25 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0004534/0.1267, allocations: 63.91 kB / 480 MB, free: 3.188 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 0.0001761/0.1269, allocations: 47.94 kB / 480.1 MB, free: 3.141 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.98e-05/0.1269, allocations: 8 kB / 480.1 MB, free: 3.133 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.000198/0.1271, allocations: 172.7 kB / 480.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1271, allocations: 0 / 480.3 MB, free: 2.965 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003441/0.1274, allocations: 51.98 kB / 480.3 MB, free: 2.914 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: 6 ($whenCondition2,$whenCondition1,trapezoid1.T_start,trapezoid1.count,trapezoid2.T_start,trapezoid2.count) * Number of discrete states: 2 (trapezoid2.count,trapezoid1.count) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (13): * Single equations (assignments): 9 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002874/0.1303, allocations: 1.31 MB / 481.6 MB, free: 1.738 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.00166/0.132, allocations: 482.3 kB / 482.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.045e-06/0.132, allocations: 0 / 482.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0007978/0.1328, allocations: 179.8 kB / 482.3 MB, free: 1.066 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004039/0.1332, allocations: 34.61 kB / 482.3 MB, free: 1.035 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005905/0.1391, allocations: 2.798 MB / 485.1 MB, free: 14.14 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002366/0.1394, allocations: 0.72 MB / 485.8 MB, free: 13.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001212/0.1395, allocations: 17.42 kB / 485.8 MB, free: 13.38 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001237/0.1397, allocations: 59.41 kB / 485.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of SimCode: time 1.623e-06/0.1397, allocations: 0 / 485.9 MB, free: 13.32 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02109/0.1608, allocations: 5.541 MB / 491.4 MB, free: 7.852 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 7.722/7.883, allocations: 19.22 kB / 491.5 MB, free: 7.836 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33_fmu --startTime=0 --stopTime=14 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTable2Ds_Test33.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTable2Ds.Test33.pipe 2>&1)