Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.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.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test45,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45",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.0008404/0.0008406, allocations: 99.59 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.0007924/0.0007926, 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.4/1.4, allocations: 223.2 MB / 241.9 MB, free: 372 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.2042/0.2042, allocations: 44.23 MB / 337.2 MB, free: 2.82 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0002869/0.0002871, allocations: 8 kB / 409.7 MB, free: 27.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1101/0.1104, allocations: 61.92 MB / 471.7 MB, free: 13.64 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test45): time 0.002012/0.1125, allocations: 1.394 MB / 473.1 MB, free: 12.24 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001277/0.1138, allocations: 0.8037 MB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.262e-05/0.1139, allocations: 3.938 kB / 473.9 MB, free: 11.43 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002873/0.1142, allocations: 35.88 kB / 473.9 MB, free: 11.39 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001776/0.1144, allocations: 43.83 kB / 473.9 MB, free: 11.35 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002851/0.1147, allocations: 91.77 kB / 474 MB, free: 11.26 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001823/0.1149, allocations: 83.75 kB / 474.1 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.115, allocations: 12.22 kB / 474.1 MB, free: 11.16 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.083e-05/0.1151, allocations: 39.73 kB / 474.2 MB, free: 11.12 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.026e-05/0.1151, allocations: 31.84 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.647e-05/0.1152, allocations: 4 kB / 474.2 MB, free: 11.09 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001126/0.1153, allocations: 35.98 kB / 474.2 MB, free: 11.05 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.697e-05/0.1153, allocations: 15.92 kB / 474.2 MB, free: 11.04 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.607e-05/0.1154, allocations: 41.64 kB / 474.3 MB, free: 10.99 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001458/0.1156, allocations: 88.08 kB / 474.4 MB, free: 10.91 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.47e-06/0.1156, allocations: 4 kB / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.773e-06/0.1156, allocations: 0 / 474.4 MB, free: 10.9 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.328e-06/0.1156, allocations: 0 / 474.4 MB, free: 10.9 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.0006093/0.1162, allocations: 402.8 kB / 474.8 MB, free: 10.46 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.208e-05/0.1163, allocations: 8.031 kB / 474.8 MB, free: 10.45 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.177e-05/0.1163, allocations: 38.55 kB / 474.8 MB, free: 10.41 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.471e-05/0.1164, allocations: 7.906 kB / 474.8 MB, free: 10.4 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002388/0.1166, allocations: 199.5 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.453e-05/0.1166, allocations: 8 kB / 475 MB, free: 10.16 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.337e-05/0.1167, allocations: 11.94 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000145/0.1168, allocations: 53.67 kB / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.288e-05/0.1168, allocations: 0 / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.11e-05/0.1169, allocations: 0 / 475.1 MB, free: 10.09 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 1.683e-05/0.1169, allocations: 7.922 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.762e-05/0.117, allocations: 19.98 kB / 475.1 MB, free: 10.06 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003641/0.1173, allocations: 284.9 kB / 475.4 MB, free: 9.73 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001584/0.1175, allocations: 58.69 kB / 475.5 MB, free: 9.664 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.226e-05/0.1176, allocations: 28.78 kB / 475.5 MB, free: 9.633 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.407e-05/0.1176, allocations: 3.984 kB / 475.5 MB, free: 9.629 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001926/0.1178, allocations: 71.3 kB / 475.6 MB, free: 9.547 MB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.663e-06/0.1178, allocations: 4 kB / 475.6 MB, free: 9.543 MB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005215/0.1183, allocations: 173.1 kB / 475.7 MB, free: 9.367 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.546e-05/0.1184, allocations: 51.41 kB / 475.8 MB, free: 9.305 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002024/0.1186, allocations: 199.3 kB / 476 MB, free: 9.094 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 1.942e-05/0.1186, allocations: 25.7 kB / 476 MB, free: 9.062 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.302e-05/0.1187, allocations: 108.1 kB / 476.1 MB, free: 8.953 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.865e-05/0.1187, allocations: 23.7 kB / 476.1 MB, free: 8.93 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.138e-06/0.1187, allocations: 3.938 kB / 476.1 MB, free: 8.926 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001305/0.1189, allocations: 330.8 kB / 476.5 MB, free: 8.594 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.298e-05/0.1189, allocations: 16 kB / 476.5 MB, free: 8.578 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.132e-05/0.119, allocations: 37.7 kB / 476.5 MB, free: 8.535 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.735e-05/0.1191, allocations: 23.94 kB / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.51e-07/0.1191, allocations: 0 / 476.5 MB, free: 8.512 MB / 350.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001854/0.1193, allocations: 101.6 kB / 476.6 MB, free: 8.406 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.591e-05/0.1193, allocations: 4 kB / 476.6 MB, free: 8.402 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.108e-06/0.1193, allocations: 8.031 kB / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.041e-05/0.1193, allocations: 0 / 476.6 MB, free: 8.395 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.802e-05/0.1194, allocations: 19.92 kB / 476.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.092e-06/0.1194, allocations: 0 / 476.7 MB, free: 8.375 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.869e-05/0.1195, allocations: 4 kB / 476.7 MB, free: 8.371 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.02e-05/0.1195, allocations: 4 kB / 476.7 MB, free: 8.367 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 9.453e-05/0.1196, allocations: 138.2 kB / 476.8 MB, free: 8.223 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.682e-05/0.1196, allocations: 15.81 kB / 476.8 MB, free: 8.207 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.073e-05/0.1197, allocations: 17.56 kB / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.254e-06/0.1197, allocations: 0 / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.637e-06/0.1197, allocations: 0 / 476.8 MB, free: 8.191 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 7.013e-06/0.1197, allocations: 7.984 kB / 476.8 MB, free: 8.184 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004255/0.1201, allocations: 395.3 kB / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.523e-06/0.1201, allocations: 0 / 477.2 MB, free: 7.738 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.19e-05/0.1202, allocations: 8 kB / 477.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.455e-06/0.1202, allocations: 0 / 477.2 MB, free: 7.73 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.317e-06/0.1202, allocations: 4 kB / 477.2 MB, free: 7.727 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.553e-06/0.1202, allocations: 4.031 kB / 477.2 MB, free: 7.723 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.166e-06/0.1202, allocations: 3.938 kB / 477.2 MB, free: 7.719 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002217/0.1204, allocations: 208.1 kB / 477.5 MB, free: 7.496 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.813e-05/0.1205, allocations: 89.02 kB / 477.5 MB, free: 7.391 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.223e-05/0.1205, allocations: 4.375 kB / 477.5 MB, free: 7.387 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.059e-05/0.1206, allocations: 3.984 kB / 477.5 MB, free: 7.383 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.033e-05/0.1206, allocations: 8 kB / 477.6 MB, free: 7.375 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.801e-05/0.1207, allocations: 8 kB / 477.6 MB, free: 7.367 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0001249/0.1208, allocations: 148.9 kB / 477.7 MB, free: 7.223 MB / 350.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1208, allocations: 4 kB / 477.7 MB, free: 7.219 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0002601/0.1211, allocations: 27.98 kB / 477.7 MB, free: 7.191 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.001428/0.1225, allocations: 1.1 MB / 478.8 MB, free: 6.25 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0001699/0.1227, allocations: 67.89 kB / 478.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1227, allocations: 0 / 478.9 MB, free: 6.184 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 6.672e-05/0.1228, allocations: 24 kB / 478.9 MB, free: 6.16 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003256/0.1231, allocations: 23.97 kB / 479 MB, free: 6.137 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00119/0.1243, allocations: 0.7277 MB / 479.7 MB, free: 5.355 MB / 350.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002983/0.1246, allocations: 0.7043 MB / 480.4 MB, free: 4.625 MB / 350.1 MB Notification: Performance of simCode: alias equations: time 5.864e-05/0.1247, allocations: 24.84 kB / 480.4 MB, free: 4.602 MB / 350.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.496e-05/0.1248, allocations: 35.42 kB / 480.4 MB, free: 4.566 MB / 350.1 MB Notification: Performance of SimCode: time 3.11e-07/0.1248, allocations: 3.938 kB / 480.4 MB, free: 4.562 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01388/0.1387, allocations: 2.981 MB / 483.4 MB, free: 1.715 MB / 350.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0001766/0.1389, allocations: 216.8 kB / 483.6 MB, free: 1.48 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.879/2.018, allocations: 0 / 483.6 MB, free: 1.48 MB / 350.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test45.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test45_res.mat does not exist to compare? outputFormat=mat