Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.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.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test12,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12",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.0008085/0.0008087, allocations: 98.25 kB / 17.01 MB, free: 6.078 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.0008852/0.0008853, allocations: 181.9 kB / 17.89 MB, free: 5.66 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.419/1.419, allocations: 223.2 MB / 241.9 MB, free: 240 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.2027/0.2027, allocations: 44.22 MB / 337.2 MB, free: 2.789 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003169/0.000317, allocations: 8.219 kB / 409.7 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1341/0.1344, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test12): time 0.002495/0.137, allocations: 1.579 MB / 473.2 MB, free: 12.03 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00146/0.1385, allocations: 0.8348 MB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001104/0.1386, allocations: 3.938 kB / 474.1 MB, free: 11.19 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003215/0.1389, allocations: 35.83 kB / 474.1 MB, free: 11.15 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.000203/0.1391, allocations: 47.77 kB / 474.2 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003401/0.1395, allocations: 115.2 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001956/0.1397, allocations: 123.6 kB / 474.4 MB, free: 10.88 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001202/0.1398, allocations: 17.44 kB / 474.4 MB, free: 10.86 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001121/0.1399, allocations: 51.77 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.305e-05/0.14, allocations: 43.72 kB / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.727e-05/0.1401, allocations: 0 / 474.5 MB, free: 10.76 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001002/0.1402, allocations: 39.98 kB / 474.5 MB, free: 10.72 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.528e-05/0.1402, allocations: 23.91 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.147e-05/0.1403, allocations: 45.64 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002138/0.1405, allocations: 96.06 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.208e-06/0.1405, allocations: 0 / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.844e-06/0.1405, allocations: 0 / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of Transformations before backend: time 6.983e-06/0.1406, allocations: 4 kB / 474.7 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0006671/0.1412, allocations: 466.8 kB / 475.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.704e-05/0.1413, allocations: 16.03 kB / 475.2 MB, free: 10.03 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.425e-05/0.1413, allocations: 34.56 kB / 475.2 MB, free: 9.984 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.568e-05/0.1414, allocations: 15.81 kB / 475.2 MB, free: 9.969 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002786/0.1417, allocations: 210.9 kB / 475.4 MB, free: 9.723 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.767e-05/0.1417, allocations: 11.94 kB / 475.4 MB, free: 9.711 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.55e-05/0.1417, allocations: 15.8 kB / 475.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002488/0.142, allocations: 111.5 kB / 475.6 MB, free: 9.574 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.115e-06/0.142, allocations: 4 kB / 475.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.16e-05/0.142, allocations: 0 / 475.6 MB, free: 9.57 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.274e-06/0.142, allocations: 4 kB / 475.6 MB, free: 9.566 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001494/0.1422, allocations: 51.91 kB / 475.6 MB, free: 9.516 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006289/0.1428, allocations: 0.5126 MB / 476.1 MB, free: 8.945 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003077/0.1431, allocations: 90.61 kB / 476.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.474e-05/0.1433, allocations: 44.83 kB / 476.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.219e-05/0.1433, allocations: 0 / 476.3 MB, free: 8.801 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002428/0.1435, allocations: 87.31 kB / 476.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.373e-06/0.1435, allocations: 0 / 476.4 MB, free: 8.703 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004012/0.1439, allocations: 149.5 kB / 476.5 MB, free: 8.551 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.346e-05/0.144, allocations: 51.41 kB / 476.6 MB, free: 8.488 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002633/0.1443, allocations: 195.3 kB / 476.7 MB, free: 8.281 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.101e-05/0.1443, allocations: 25.7 kB / 476.8 MB, free: 8.25 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001025/0.1444, allocations: 112 kB / 476.9 MB, free: 8.137 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.774e-05/0.1444, allocations: 27.64 kB / 476.9 MB, free: 8.109 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 8.997e-06/0.1445, allocations: 4 kB / 476.9 MB, free: 8.105 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001412/0.1446, allocations: 326.8 kB / 477.2 MB, free: 7.777 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.421e-05/0.1447, allocations: 27.98 kB / 477.3 MB, free: 7.75 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001028/0.1448, allocations: 68.27 kB / 477.3 MB, free: 7.668 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001021/0.1449, allocations: 40.3 kB / 477.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.404e-06/0.1449, allocations: 0 / 477.4 MB, free: 7.629 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002892/0.1452, allocations: 145.3 kB / 477.5 MB, free: 7.48 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.997e-05/0.1453, allocations: 6.656 kB / 477.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.053e-06/0.1453, allocations: 4.125 kB / 477.5 MB, free: 7.473 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.94e-05/0.1453, allocations: 4 kB / 477.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001016/0.1454, allocations: 27.92 kB / 477.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.604e-06/0.1454, allocations: 0 / 477.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.912e-05/0.1455, allocations: 19.84 kB / 477.6 MB, free: 7.422 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.252e-05/0.1455, allocations: 7.953 kB / 477.6 MB, free: 7.414 MB / 350.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: 6 ($whenCondition1,$PRE.t_new.nextTimeEvent,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 (14): * Single equations (assignments): 14 * 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.0001382/0.1457, allocations: 130.3 kB / 477.7 MB, free: 7.277 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.721e-05/0.1457, allocations: 19.8 kB / 477.7 MB, free: 7.258 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.639e-05/0.1458, allocations: 17.41 kB / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.324e-06/0.1458, allocations: 0 / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.1458, allocations: 0 / 477.7 MB, free: 7.242 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.55e-06/0.1458, allocations: 3.984 kB / 477.7 MB, free: 7.238 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001971/0.146, allocations: 213.5 kB / 478 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.203e-06/0.146, allocations: 0 / 478 MB, free: 6.98 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.588e-05/0.1461, allocations: 12 kB / 478 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.084e-06/0.1461, allocations: 0 / 478 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.391e-05/0.1461, allocations: 4 kB / 478 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.723e-06/0.1461, allocations: 0 / 478 MB, free: 6.965 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.288e-06/0.1461, allocations: 7.984 kB / 478 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003801/0.1465, allocations: 192.8 kB / 478.2 MB, free: 6.75 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.723e-05/0.1466, allocations: 88.98 kB / 478.3 MB, free: 6.645 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.643e-05/0.1466, allocations: 3.984 kB / 478.3 MB, free: 6.641 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.209e-05/0.1467, allocations: 16.06 kB / 478.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.959e-05/0.1467, allocations: 7.984 kB / 478.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.805e-05/0.1467, allocations: 4 kB / 478.3 MB, free: 6.613 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001312/0.1469, allocations: 137.4 kB / 478.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.21e-07/0.1469, allocations: 0 / 478.4 MB, free: 6.48 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002401/0.1471, allocations: 35.97 kB / 478.5 MB, free: 6.445 MB / 350.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: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.001743/0.1489, allocations: 1.032 MB / 479.5 MB, free: 5.543 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002564/0.1492, allocations: 84.03 kB / 479.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 2.785e-06/0.1492, allocations: 0 / 479.6 MB, free: 5.461 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001169/0.1493, allocations: 43.95 kB / 479.6 MB, free: 5.418 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.00034/0.1496, allocations: 28.17 kB / 479.6 MB, free: 5.391 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001594/0.1512, allocations: 0.8484 MB / 480.5 MB, free: 4.48 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004039/0.1517, allocations: 0.7239 MB / 481.2 MB, free: 3.73 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 8.051e-05/0.1518, allocations: 21.42 kB / 481.2 MB, free: 3.711 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.604e-05/0.1518, allocations: 43.42 kB / 481.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of SimCode: time 2.575e-06/0.1519, allocations: 0 / 481.3 MB, free: 3.668 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01953/0.1714, allocations: 3.266 MB / 484.5 MB, free: 0.5312 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0002989/0.1717, allocations: 221 kB / 484.8 MB, free: 300 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.845/2.017, allocations: 0 / 484.8 MB, free: 300 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test12.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test12_res.mat does not exist to compare? outputFormat=mat