Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.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.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test11,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11",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.0009397/0.0009397, allocations: 96.97 kB / 17 MB, free: 6.035 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.001091/0.001092, allocations: 177.8 kB / 17.89 MB, free: 5.633 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: 223.3 MB / 241.9 MB, free: 14.59 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.2444/0.2444, allocations: 44.23 MB / 337.2 MB, free: 2.652 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003701/0.0003702, allocations: 12 kB / 409.7 MB, free: 27.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1335/0.1339, allocations: 61.93 MB / 471.7 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test11): time 0.002499/0.1365, allocations: 1.583 MB / 473.2 MB, free: 12.02 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001511/0.138, allocations: 0.8348 MB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001469/0.1382, allocations: 11.94 kB / 474.1 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003023/0.1385, allocations: 35.83 kB / 474.1 MB, free: 11.14 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002262/0.1387, allocations: 43.77 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003946/0.1391, allocations: 103.1 kB / 474.3 MB, free: 11 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002242/0.1394, allocations: 127.5 kB / 474.4 MB, free: 10.87 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001251/0.1395, allocations: 29.42 kB / 474.4 MB, free: 10.84 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001018/0.1396, allocations: 43.78 kB / 474.5 MB, free: 10.8 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.226e-05/0.1397, allocations: 47.7 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.176e-05/0.1397, allocations: 4 kB / 474.5 MB, free: 10.75 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001068/0.1399, allocations: 35.98 kB / 474.6 MB, free: 10.71 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.132e-05/0.1399, allocations: 15.92 kB / 474.6 MB, free: 10.7 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.473e-05/0.14, allocations: 41.64 kB / 474.6 MB, free: 10.65 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001823/0.1402, allocations: 104 kB / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.542e-06/0.1402, allocations: 0 / 474.7 MB, free: 10.55 MB / 350.1 MB Notification: Performance of FrontEnd: time 2.775e-06/0.1402, allocations: 4 kB / 474.7 MB, free: 10.54 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.46e-06/0.1402, allocations: 0 / 474.7 MB, free: 10.54 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.0006961/0.1409, allocations: 464.4 kB / 475.2 MB, free: 10.04 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.519e-05/0.141, allocations: 11.97 kB / 475.2 MB, free: 10.02 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.224e-05/0.141, allocations: 42.56 kB / 475.2 MB, free: 9.973 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.196e-05/0.1411, allocations: 15.75 kB / 475.2 MB, free: 9.957 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002909/0.1414, allocations: 218.8 kB / 475.5 MB, free: 9.703 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.908e-05/0.1414, allocations: 8 kB / 475.5 MB, free: 9.695 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.504e-05/0.1415, allocations: 15.89 kB / 475.5 MB, free: 9.68 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002366/0.1417, allocations: 104.2 kB / 475.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.486e-06/0.1417, allocations: 0 / 475.6 MB, free: 9.562 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.549e-05/0.1417, allocations: 8 kB / 475.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.701e-06/0.1417, allocations: 0 / 475.6 MB, free: 9.555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001476/0.1419, allocations: 51.91 kB / 475.6 MB, free: 9.504 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0006409/0.1425, allocations: 0.5087 MB / 476.1 MB, free: 8.938 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003137/0.1429, allocations: 90.59 kB / 476.2 MB, free: 8.84 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.667e-05/0.143, allocations: 40.84 kB / 476.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.292e-05/0.143, allocations: 0 / 476.3 MB, free: 8.797 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002486/0.1433, allocations: 91.3 kB / 476.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of pre-optimization done (n=9): time 1.443e-06/0.1433, allocations: 0 / 476.4 MB, free: 8.695 MB / 350.1 MB Notification: Performance of matching and sorting (n=9): time 0.0004098/0.1437, allocations: 145.5 kB / 476.5 MB, free: 8.547 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.277e-05/0.1437, allocations: 51.41 kB / 476.6 MB, free: 8.484 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001823/0.1439, allocations: 195.4 kB / 476.7 MB, free: 8.277 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.035e-05/0.144, allocations: 29.7 kB / 476.8 MB, free: 8.242 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.465e-05/0.144, allocations: 112 kB / 476.9 MB, free: 8.129 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.676e-05/0.1441, allocations: 27.64 kB / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.708e-06/0.1441, allocations: 0 / 476.9 MB, free: 8.102 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001286/0.1442, allocations: 330.8 kB / 477.2 MB, free: 7.77 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.458e-05/0.1443, allocations: 27.98 kB / 477.3 MB, free: 7.742 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.553e-05/0.1444, allocations: 68.27 kB / 477.3 MB, free: 7.66 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 9.153e-05/0.1445, allocations: 40.3 kB / 477.4 MB, free: 7.621 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.254e-06/0.1445, allocations: 3.938 kB / 477.4 MB, free: 7.617 MB / 350.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002465/0.1448, allocations: 137.4 kB / 477.5 MB, free: 7.477 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.572e-05/0.1448, allocations: 7.984 kB / 477.5 MB, free: 7.469 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.262e-06/0.1448, allocations: 4 kB / 477.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.062e-05/0.1448, allocations: 0 / 477.5 MB, free: 7.465 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.784e-05/0.1449, allocations: 24 kB / 477.5 MB, free: 7.441 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.306e-06/0.1449, allocations: 7.922 kB / 477.5 MB, free: 7.434 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.564e-05/0.145, allocations: 19.97 kB / 477.6 MB, free: 7.414 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.286e-05/0.145, allocations: 4 kB / 477.6 MB, free: 7.41 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.000123/0.1452, allocations: 138.2 kB / 477.7 MB, free: 7.266 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.149e-05/0.1452, allocations: 15.81 kB / 477.7 MB, free: 7.25 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.558e-05/0.1452, allocations: 17.41 kB / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.405e-06/0.1453, allocations: 0 / 477.7 MB, free: 7.234 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.081e-06/0.1453, allocations: 4 kB / 477.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.046e-06/0.1453, allocations: 0 / 477.7 MB, free: 7.23 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001776/0.1455, allocations: 217.5 kB / 478 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.483e-06/0.1455, allocations: 0 / 478 MB, free: 6.969 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.166e-05/0.1455, allocations: 11.98 kB / 478 MB, free: 6.957 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.328e-06/0.1456, allocations: 4 kB / 478 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.023e-05/0.1456, allocations: 0 / 478 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.522e-06/0.1456, allocations: 0 / 478 MB, free: 6.953 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 4.208e-06/0.1456, allocations: 4 kB / 478 MB, free: 6.949 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003624/0.146, allocations: 196.7 kB / 478.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.578e-05/0.146, allocations: 88.98 kB / 478.3 MB, free: 6.633 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.619e-05/0.1461, allocations: 8 kB / 478.3 MB, free: 6.625 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.978e-05/0.1461, allocations: 7.984 kB / 478.3 MB, free: 6.617 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.041e-05/0.1462, allocations: 8.172 kB / 478.3 MB, free: 6.609 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.789e-05/0.1462, allocations: 4 kB / 478.3 MB, free: 6.605 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001236/0.1463, allocations: 149.2 kB / 478.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.1463, allocations: 0 / 478.4 MB, free: 6.461 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002551/0.1466, allocations: 32.03 kB / 478.5 MB, free: 6.43 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.00164/0.1482, allocations: 1.024 MB / 479.5 MB, free: 5.535 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.1485, allocations: 79.83 kB / 479.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.993e-06/0.1485, allocations: 0 / 479.6 MB, free: 5.457 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 9.501e-05/0.1486, allocations: 35.98 kB / 479.6 MB, free: 5.422 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003082/0.1489, allocations: 43.36 kB / 479.6 MB, free: 5.383 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001418/0.1504, allocations: 0.8561 MB / 480.5 MB, free: 4.465 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000339/0.1507, allocations: 0.7161 MB / 481.2 MB, free: 3.723 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 7.63e-05/0.1508, allocations: 17.42 kB / 481.2 MB, free: 3.707 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.43e-05/0.1509, allocations: 43.42 kB / 481.3 MB, free: 3.664 MB / 350.1 MB Notification: Performance of SimCode: time 4.71e-07/0.1509, allocations: 4 kB / 481.3 MB, free: 3.66 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01428/0.1652, allocations: 3.263 MB / 484.5 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001792/0.1654, allocations: 216.4 kB / 484.7 MB, free: 300 kB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.863/2.028, allocations: 0 / 484.7 MB, free: 300 kB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11_fmu --startTime=0 --stopTime=2 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test11.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test11_res.mat does not exist to compare? outputFormat=mat