Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.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.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test32,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32",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.001232/0.001232, allocations: 97.12 kB / 16.99 MB, free: 5.941 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.001537/0.001538, allocations: 174.3 kB / 17.87 MB, free: 5.621 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.349/1.349, allocations: 223.2 MB / 241.8 MB, free: 14.62 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.2223/0.2223, allocations: 44.23 MB / 337.1 MB, free: 2.664 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003319/0.000332, allocations: 8 kB / 409.6 MB, free: 27.59 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.133/0.1333, allocations: 61.92 MB / 471.5 MB, free: 13.63 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.001934/0.1353, allocations: 1.387 MB / 472.9 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001144/0.1365, allocations: 0.792 MB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.089e-05/0.1365, allocations: 3.938 kB / 473.7 MB, free: 11.44 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002188/0.1368, allocations: 31.84 kB / 473.8 MB, free: 11.41 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001489/0.1369, allocations: 39.88 kB / 473.8 MB, free: 11.37 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002386/0.1372, allocations: 95.33 kB / 473.9 MB, free: 11.28 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.000163/0.1374, allocations: 63.84 kB / 474 MB, free: 11.21 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.35e-05/0.1374, allocations: 16.22 kB / 474 MB, free: 11.2 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.926e-05/0.1375, allocations: 35.84 kB / 474 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.371e-05/0.1376, allocations: 23.86 kB / 474 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.168e-05/0.1376, allocations: 4 kB / 474 MB, free: 11.13 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.676e-05/0.1377, allocations: 27.98 kB / 474.1 MB, free: 11.11 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 3.86e-05/0.1378, allocations: 19.91 kB / 474.1 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 3.749e-05/0.1378, allocations: 37.64 kB / 474.1 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001362/0.1379, allocations: 84.11 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.957e-06/0.138, allocations: 0 / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.814e-06/0.138, allocations: 3.938 kB / 474.2 MB, free: 10.96 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.018e-06/0.138, allocations: 0 / 474.2 MB, free: 10.96 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005182/0.1385, allocations: 398.9 kB / 474.6 MB, free: 10.52 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.664e-05/0.1386, allocations: 16.03 kB / 474.6 MB, free: 10.5 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.803e-05/0.1386, allocations: 38.5 kB / 474.6 MB, free: 10.46 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.844e-05/0.1387, allocations: 15.81 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002594/0.139, allocations: 198.9 kB / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.097e-05/0.139, allocations: 0 / 474.9 MB, free: 10.21 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.356e-05/0.139, allocations: 11.95 kB / 474.9 MB, free: 10.2 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001353/0.1391, allocations: 53.67 kB / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 9.929e-06/0.1392, allocations: 0 / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.047e-05/0.1392, allocations: 0 / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.282e-06/0.1392, allocations: 0 / 474.9 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.632e-05/0.1393, allocations: 23.98 kB / 474.9 MB, free: 10.11 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003773/0.1397, allocations: 284.8 kB / 475.2 MB, free: 9.785 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001629/0.1398, allocations: 58.67 kB / 475.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.068e-05/0.1399, allocations: 0 / 475.3 MB, free: 9.719 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001993/0.1401, allocations: 67.45 kB / 475.3 MB, free: 9.641 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1401, allocations: 4 kB / 475.3 MB, free: 9.637 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005918/0.1407, allocations: 173.2 kB / 475.5 MB, free: 9.461 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.884e-05/0.1407, allocations: 55.41 kB / 475.6 MB, free: 9.395 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001978/0.1409, allocations: 186.1 kB / 475.8 MB, free: 9.203 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.963e-05/0.141, allocations: 25.7 kB / 475.8 MB, free: 9.172 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.298e-05/0.141, allocations: 104.1 kB / 475.9 MB, free: 9.066 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.026e-05/0.1411, allocations: 27.7 kB / 475.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.508e-06/0.1411, allocations: 0 / 475.9 MB, free: 9.039 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001246/0.1412, allocations: 330.8 kB / 476.2 MB, free: 8.707 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.326e-05/0.1413, allocations: 16 kB / 476.2 MB, free: 8.691 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.052e-05/0.1413, allocations: 33.7 kB / 476.3 MB, free: 8.652 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.69e-05/0.1414, allocations: 27.98 kB / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1414, allocations: 0 / 476.3 MB, free: 8.625 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001777/0.1416, allocations: 105.4 kB / 476.4 MB, free: 8.516 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.767e-05/0.1416, allocations: 4 kB / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.684e-06/0.1416, allocations: 0 / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.657e-05/0.1417, allocations: 0 / 476.4 MB, free: 8.512 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001078/0.1418, allocations: 19.98 kB / 476.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.43e-06/0.1418, allocations: 0 / 476.4 MB, free: 8.492 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.085e-05/0.1418, allocations: 8 kB / 476.4 MB, free: 8.484 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.764e-06/0.1419, allocations: 192 / 476.4 MB, free: 8.484 MB / 350.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 0.0001333/0.142, allocations: 134.3 kB / 476.6 MB, free: 8.344 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.79e-05/0.142, allocations: 15.84 kB / 476.6 MB, free: 8.328 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.868e-05/0.1421, allocations: 12.72 kB / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.535e-06/0.1421, allocations: 0 / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.249e-06/0.1421, allocations: 0 / 476.6 MB, free: 8.312 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.933e-06/0.1421, allocations: 8.359 kB / 476.6 MB, free: 8.305 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004721/0.1426, allocations: 391.3 kB / 477 MB, free: 7.863 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 4.679e-06/0.1426, allocations: 4 kB / 477 MB, free: 7.859 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 4.581e-05/0.1427, allocations: 12.03 kB / 477 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.715e-06/0.1427, allocations: 0 / 477 MB, free: 7.848 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.734e-05/0.1427, allocations: 8 kB / 477 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.793e-06/0.1427, allocations: 0 / 477 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.243e-06/0.1427, allocations: 0 / 477 MB, free: 7.84 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002627/0.143, allocations: 225.8 kB / 477.2 MB, free: 7.594 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.903e-05/0.143, allocations: 89.02 kB / 477.3 MB, free: 7.488 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.553e-05/0.1431, allocations: 3.984 kB / 477.3 MB, free: 7.484 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.422e-05/0.1432, allocations: 4 kB / 477.3 MB, free: 7.48 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.17e-05/0.1432, allocations: 11.98 kB / 477.3 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.877e-05/0.1432, allocations: 7.938 kB / 477.3 MB, free: 7.461 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001205/0.1434, allocations: 147.1 kB / 477.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of sort global known variables: time 2e-07/0.1434, allocations: 0 / 477.5 MB, free: 7.316 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002681/0.1436, allocations: 24 kB / 477.5 MB, free: 7.293 MB / 350.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.001464/0.1451, allocations: 1.182 MB / 478.7 MB, free: 6.266 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001633/0.1453, allocations: 47.98 kB / 478.7 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 4.078e-06/0.1453, allocations: 0 / 478.7 MB, free: 6.219 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.986e-05/0.1454, allocations: 39.86 kB / 478.8 MB, free: 6.18 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002633/0.1456, allocations: 23.94 kB / 478.8 MB, free: 6.156 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001198/0.1469, allocations: 0.8471 MB / 479.7 MB, free: 5.246 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000252/0.1471, allocations: 0.7043 MB / 480.4 MB, free: 4.516 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.094e-05/0.1472, allocations: 17.17 kB / 480.4 MB, free: 4.5 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.719e-05/0.1472, allocations: 35.42 kB / 480.4 MB, free: 4.465 MB / 350.1 MB Notification: Performance of SimCode: time 2.6e-07/0.1472, allocations: 0 / 480.4 MB, free: 4.465 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.0137/0.161, allocations: 2.901 MB / 483.3 MB, free: 1.691 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001747/0.1612, allocations: 219.8 kB / 483.5 MB, free: 1.453 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.859/2.02, allocations: 0 / 483.5 MB, free: 1.453 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test32.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test32_res.mat does not exist to compare? outputFormat=mat