Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.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 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+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.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test62,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62",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.0007795/0.0007796, allocations: 88.19 kB / 15.7 MB, free: 460 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.0009772/0.0009772, allocations: 175.2 kB / 16.58 MB, free: 6.84 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.446/1.446, allocations: 205.4 MB / 222.8 MB, free: 5.66 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.3476/0.3476, allocations: 43.55 MB / 314.6 MB, free: 8.758 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.0005091/0.0005092, allocations: 16 kB / 384 MB, free: 7.91 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.124/0.1245, allocations: 58.86 MB / 442.9 MB, free: 12.94 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test62): time 0.001915/0.1265, allocations: 1.356 MB / 444.2 MB, free: 11.57 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001109/0.1276, allocations: 0.7266 MB / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.759e-05/0.1277, allocations: 0 / 445 MB, free: 10.84 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002948/0.128, allocations: 55.8 kB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001706/0.1282, allocations: 47.83 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002355/0.1284, allocations: 71.78 kB / 445.1 MB, free: 10.67 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001447/0.1286, allocations: 83.77 kB / 445.2 MB, free: 10.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.517e-05/0.1287, allocations: 11.97 kB / 445.2 MB, free: 10.57 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.739e-05/0.1288, allocations: 39.78 kB / 445.3 MB, free: 10.54 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.547e-05/0.1288, allocations: 23.86 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.584e-05/0.1289, allocations: 4 kB / 445.3 MB, free: 10.51 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.534e-05/0.1289, allocations: 23.98 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 4.714e-05/0.129, allocations: 27.91 kB / 445.4 MB, free: 10.46 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.491e-05/0.1291, allocations: 37.64 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001443/0.1292, allocations: 88.09 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.48e-06/0.1292, allocations: 4 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of FrontEnd: time 4.288e-06/0.1292, allocations: 3.938 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.809e-06/0.1292, allocations: 3.938 kB / 445.5 MB, free: 10.32 MB / 382.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0005816/0.1298, allocations: 426.6 kB / 445.9 MB, free: 9.852 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.406e-05/0.1299, allocations: 8.031 kB / 445.9 MB, free: 9.844 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.934e-05/0.1299, allocations: 30.56 kB / 445.9 MB, free: 9.805 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.875e-05/0.13, allocations: 19.8 kB / 446 MB, free: 9.785 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002519/0.1302, allocations: 198.9 kB / 446.2 MB, free: 9.551 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.343e-05/0.1303, allocations: 4 kB / 446.2 MB, free: 9.547 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.467e-05/0.1303, allocations: 4 kB / 446.2 MB, free: 9.543 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001457/0.1304, allocations: 45.67 kB / 446.2 MB, free: 9.492 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.077e-05/0.1305, allocations: 3.938 kB / 446.2 MB, free: 9.488 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.001e-05/0.1305, allocations: 3.953 kB / 446.2 MB, free: 9.484 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.522e-06/0.1305, allocations: 4 kB / 446.2 MB, free: 9.48 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.42e-05/0.1306, allocations: 15.98 kB / 446.2 MB, free: 9.465 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002122/0.1308, allocations: 193.6 kB / 446.4 MB, free: 9.227 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001418/0.1309, allocations: 50.62 kB / 446.5 MB, free: 9.168 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 4.835e-05/0.131, allocations: 20.84 kB / 446.5 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.156e-05/0.131, allocations: 0 / 446.5 MB, free: 9.145 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.000178/0.1312, allocations: 71.31 kB / 446.6 MB, free: 9.062 MB / 382.1 MB Notification: Performance of pre-optimization done (n=5): time 1.322e-06/0.1312, allocations: 4 kB / 446.6 MB, free: 9.059 MB / 382.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002598/0.1315, allocations: 101.7 kB / 446.7 MB, free: 8.953 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.773e-05/0.1315, allocations: 51.41 kB / 446.7 MB, free: 8.891 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002497/0.1318, allocations: 258.5 kB / 447 MB, free: 8.625 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.487e-05/0.1318, allocations: 29.69 kB / 447 MB, free: 8.59 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.283e-05/0.1319, allocations: 108.1 kB / 447.1 MB, free: 8.48 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.548e-05/0.1319, allocations: 27.72 kB / 447.1 MB, free: 8.453 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.597e-06/0.1319, allocations: 0 / 447.1 MB, free: 8.453 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000128/0.132, allocations: 326.8 kB / 447.5 MB, free: 8.125 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 4.712e-05/0.1321, allocations: 19.94 kB / 447.5 MB, free: 8.105 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.573e-05/0.1322, allocations: 25.7 kB / 447.5 MB, free: 8.074 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 4.78e-05/0.1322, allocations: 15.98 kB / 447.5 MB, free: 8.059 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.857e-06/0.1322, allocations: 4 kB / 447.5 MB, free: 8.055 MB / 382.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0001412/0.1324, allocations: 81.5 kB / 447.6 MB, free: 7.969 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.401e-05/0.1324, allocations: 7.938 kB / 447.6 MB, free: 7.961 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.12e-06/0.1324, allocations: 4 kB / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.124e-05/0.1324, allocations: 32 / 447.6 MB, free: 7.957 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 6.878e-05/0.1325, allocations: 12 kB / 447.6 MB, free: 7.945 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.872e-06/0.1325, allocations: 3.953 kB / 447.6 MB, free: 7.941 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.628e-05/0.1326, allocations: 11.92 kB / 447.6 MB, free: 7.93 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.544e-06/0.1326, allocations: 4 kB / 447.6 MB, free: 7.926 MB / 382.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 (7): * Single equations (assignments): 7 * 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 9.618e-05/0.1327, allocations: 133.8 kB / 447.8 MB, free: 7.785 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.894e-05/0.1327, allocations: 15.81 kB / 447.8 MB, free: 7.77 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.634e-05/0.1328, allocations: 24.92 kB / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.653e-06/0.1328, allocations: 0 / 447.8 MB, free: 7.746 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.877e-06/0.1328, allocations: 4 kB / 447.8 MB, free: 7.742 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.1e-06/0.1328, allocations: 3.953 kB / 447.8 MB, free: 7.738 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001306/0.1329, allocations: 189.6 kB / 448 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.012e-06/0.1329, allocations: 0 / 448 MB, free: 7.504 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.108e-05/0.133, allocations: 4 kB / 448 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.773e-06/0.133, allocations: 0 / 448 MB, free: 7.5 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.122e-05/0.133, allocations: 4 kB / 448 MB, free: 7.496 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.232e-06/0.133, allocations: 3.938 kB / 448 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.22e-07/0.133, allocations: 160 / 448 MB, free: 7.492 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001688/0.1332, allocations: 116.9 kB / 448.1 MB, free: 7.359 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.534e-05/0.1332, allocations: 89.02 kB / 448.2 MB, free: 7.254 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.127e-05/0.1332, allocations: 3.984 kB / 448.2 MB, free: 7.25 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.418e-05/0.1333, allocations: 4.188 kB / 448.2 MB, free: 7.246 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.219e-05/0.1333, allocations: 8 kB / 448.2 MB, free: 7.238 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.289e-05/0.1333, allocations: 0 / 448.2 MB, free: 7.238 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001524/0.1335, allocations: 208 kB / 448.4 MB, free: 7.035 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.403e-06/0.1335, allocations: 0 / 448.4 MB, free: 7.035 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002028/0.1337, allocations: 19.84 kB / 448.5 MB, free: 7.016 MB / 382.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: 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 (5): * Single equations (assignments): 3 * 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.001157/0.1349, allocations: 0.9504 MB / 449.4 MB, free: 6.078 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001435/0.135, allocations: 43.98 kB / 449.4 MB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.284e-06/0.1351, allocations: 0 / 449.4 MB, free: 6.035 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 5.67e-05/0.1351, allocations: 27.98 kB / 449.5 MB, free: 6.008 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002428/0.1354, allocations: 23.98 kB / 449.5 MB, free: 5.984 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001096/0.1365, allocations: 0.8154 MB / 450.3 MB, free: 5.113 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.000237/0.1367, allocations: 0.716 MB / 451 MB, free: 4.371 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 4.685e-05/0.1368, allocations: 12.55 kB / 451 MB, free: 4.359 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.797e-05/0.1368, allocations: 39.42 kB / 451.1 MB, free: 4.32 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.1369, allocations: 0 / 451.1 MB, free: 4.32 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01284/0.1497, allocations: 2.961 MB / 454 MB, free: 1.363 MB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.000206/0.1499, allocations: 229.3 kB / 454.3 MB, free: 1.113 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.633/1.783, allocations: 4 kB / 454.3 MB, free: 1.109 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test62.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test62_res.mat does not exist to compare? outputFormat=mat