Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",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.0009318/0.0009318, allocations: 96.78 kB / 17 MB, free: 6.418 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.001139/0.001139, allocations: 189.2 kB / 17.89 MB, free: 5.945 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.436/1.436, allocations: 223.2 MB / 241.9 MB, free: 336 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.2172/0.2172, allocations: 44.23 MB / 337.2 MB, free: 2.793 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0005874/0.0005873, allocations: 8.875 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1214/0.122, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002311/0.1244, allocations: 1.554 MB / 473.2 MB, free: 12.05 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001609/0.126, allocations: 0.9089 MB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001013/0.1261, allocations: 7.938 kB / 474.1 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004261/0.1266, allocations: 243.5 kB / 474.4 MB, free: 10.89 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003936/0.127, allocations: 167.5 kB / 474.5 MB, free: 10.73 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004581/0.1274, allocations: 159.2 kB / 474.7 MB, free: 10.58 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003732/0.1278, allocations: 215.4 kB / 474.9 MB, free: 10.37 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001174/0.1279, allocations: 29.61 kB / 474.9 MB, free: 10.34 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000174/0.1281, allocations: 111.6 kB / 475 MB, free: 10.23 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001992/0.1283, allocations: 151.5 kB / 475.2 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.313e-05/0.1284, allocations: 4 kB / 475.2 MB, free: 10.07 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001222/0.1285, allocations: 43.98 kB / 475.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001254/0.1286, allocations: 67.73 kB / 475.3 MB, free: 9.965 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.402e-05/0.1287, allocations: 57.58 kB / 475.4 MB, free: 9.902 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002393/0.1289, allocations: 175.9 kB / 475.5 MB, free: 9.73 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.129, allocations: 4 kB / 475.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.104e-06/0.129, allocations: 0 / 475.5 MB, free: 9.727 MB / 350.1 MB Notification: Performance of Transformations before backend: time 8.546e-06/0.129, allocations: 0 / 475.5 MB, free: 9.727 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007012/0.1297, allocations: 0.533 MB / 476.1 MB, free: 9.145 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.023e-05/0.1297, allocations: 12.02 kB / 476.1 MB, free: 9.133 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.341e-05/0.1298, allocations: 38.56 kB / 476.1 MB, free: 9.086 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.261e-05/0.1299, allocations: 27.62 kB / 476.1 MB, free: 9.059 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003116/0.1302, allocations: 271 kB / 476.4 MB, free: 8.754 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.34e-05/0.1302, allocations: 8 kB / 476.4 MB, free: 8.746 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.561e-05/0.1302, allocations: 11.95 kB / 476.4 MB, free: 8.734 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002318/0.1305, allocations: 107.3 kB / 476.5 MB, free: 8.617 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.217e-05/0.1305, allocations: 4 kB / 476.5 MB, free: 8.613 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.356e-05/0.1305, allocations: 4 kB / 476.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.771e-06/0.1305, allocations: 0 / 476.5 MB, free: 8.609 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001518/0.1307, allocations: 47.91 kB / 476.6 MB, free: 8.562 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000648/0.1313, allocations: 484.7 kB / 477.1 MB, free: 8.035 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003444/0.1317, allocations: 125.2 kB / 477.2 MB, free: 7.895 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 8.885e-05/0.1318, allocations: 41.83 kB / 477.2 MB, free: 7.848 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.884e-05/0.1318, allocations: 4 kB / 477.2 MB, free: 7.844 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000246/0.1321, allocations: 125 kB / 477.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.543e-06/0.1321, allocations: 0 / 477.3 MB, free: 7.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001253/0.1333, allocations: 0.5077 MB / 477.9 MB, free: 7.188 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.058e-05/0.1334, allocations: 81.11 kB / 477.9 MB, free: 7.09 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004669/0.1339, allocations: 485.5 kB / 478.4 MB, free: 6.605 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.629e-05/0.1339, allocations: 29.7 kB / 478.4 MB, free: 6.57 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001199/0.134, allocations: 160.5 kB / 478.6 MB, free: 6.41 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 6.712e-05/0.1341, allocations: 71.09 kB / 478.7 MB, free: 6.34 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 1.369e-05/0.1341, allocations: 8 kB / 478.7 MB, free: 6.332 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001728/0.1343, allocations: 350.7 kB / 479 MB, free: 5.98 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001127/0.1344, allocations: 51.98 kB / 479.1 MB, free: 5.93 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001327/0.1346, allocations: 95.33 kB / 479.2 MB, free: 5.824 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001367/0.1347, allocations: 67.94 kB / 479.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.333e-06/0.1347, allocations: 0 / 479.2 MB, free: 5.758 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003666/0.1351, allocations: 237.2 kB / 479.5 MB, free: 5.52 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.658e-05/0.1351, allocations: 8 kB / 479.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1351, allocations: 0 / 479.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.243e-05/0.1352, allocations: 0 / 479.5 MB, free: 5.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.00014/0.1353, allocations: 47.92 kB / 479.5 MB, free: 5.465 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.042e-05/0.1353, allocations: 7.953 kB / 479.5 MB, free: 5.457 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.96e-05/0.1354, allocations: 12.05 kB / 479.5 MB, free: 5.445 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.626e-05/0.1354, allocations: 12 kB / 479.5 MB, free: 5.434 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001749/0.1356, allocations: 174.2 kB / 479.7 MB, free: 5.254 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.788e-05/0.1357, allocations: 31.62 kB / 479.7 MB, free: 5.223 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.661e-05/0.1357, allocations: 46.81 kB / 479.8 MB, free: 5.176 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.799e-06/0.1357, allocations: 3.984 kB / 479.8 MB, free: 5.172 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.424e-06/0.1358, allocations: 4 kB / 479.8 MB, free: 5.168 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.151e-06/0.1358, allocations: 3.953 kB / 479.8 MB, free: 5.164 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0008977/0.1367, allocations: 0.7389 MB / 480.5 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.384e-06/0.1367, allocations: 0 / 480.5 MB, free: 4.355 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.599e-05/0.1368, allocations: 27.94 kB / 480.6 MB, free: 4.328 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.829e-06/0.1368, allocations: 4 kB / 480.6 MB, free: 4.324 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.907e-05/0.1368, allocations: 16.11 kB / 480.6 MB, free: 4.309 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.677e-06/0.1368, allocations: 4 kB / 480.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.593e-06/0.1368, allocations: 0 / 480.6 MB, free: 4.305 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004472/0.1373, allocations: 434.8 kB / 481 MB, free: 3.855 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.01e-05/0.1373, allocations: 108.7 kB / 481.1 MB, free: 3.73 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.855e-05/0.1374, allocations: 7.984 kB / 481.1 MB, free: 3.723 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001364/0.1375, allocations: 15.98 kB / 481.1 MB, free: 3.707 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.179e-05/0.1376, allocations: 19.97 kB / 481.2 MB, free: 3.688 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.328e-05/0.1376, allocations: 15.94 kB / 481.2 MB, free: 3.672 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003229/0.138, allocations: 355.1 kB / 481.5 MB, free: 3.328 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.51e-07/0.138, allocations: 4 kB / 481.5 MB, free: 3.324 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003466/0.1383, allocations: 47.98 kB / 481.6 MB, free: 3.277 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * 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.001751/0.1401, allocations: 1.365 MB / 482.9 MB, free: 2.086 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0003202/0.1404, allocations: 151.8 kB / 483.1 MB, free: 1.938 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 3.066e-06/0.1404, allocations: 7.938 kB / 483.1 MB, free: 1.93 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001542/0.1406, allocations: 84.22 kB / 483.2 MB, free: 1.848 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000551/0.1411, allocations: 57.14 kB / 483.2 MB, free: 1.793 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002502/0.1436, allocations: 1.759 MB / 485 MB, free: 15.95 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004112/0.1441, allocations: 0.7833 MB / 485.8 MB, free: 15.14 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001131/0.1442, allocations: 33.94 kB / 485.8 MB, free: 15.11 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001455/0.1443, allocations: 95.39 kB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of SimCode: time 4.11e-07/0.1444, allocations: 4 kB / 485.9 MB, free: 15.02 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0163/0.1607, allocations: 5.872 MB / 491.8 MB, free: 9.297 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0006227/0.1613, allocations: 216.8 kB / 492 MB, free: 9.062 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.898/2.059, allocations: 64 / 492 MB, free: 9.062 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat does not exist to compare? outputFormat=mat