Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.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.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test46,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46",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.0008593/0.0008589, allocations: 96.7 kB / 15.7 MB, free: 468 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.0008838/0.0008839, allocations: 172.2 kB / 16.58 MB, free: 6.844 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.523/1.523, 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.3342/0.3342, allocations: 43.54 MB / 314.6 MB, free: 8.801 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.0005437/0.0005437, allocations: 16 kB / 384 MB, free: 7.906 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1153/0.1159, allocations: 58.85 MB / 442.9 MB, free: 12.95 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test46): time 0.002035/0.118, allocations: 1.391 MB / 444.3 MB, free: 11.54 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001195/0.1192, allocations: 0.7422 MB / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.14e-05/0.1193, allocations: 0 / 445 MB, free: 10.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003053/0.1196, allocations: 51.8 kB / 445.1 MB, free: 10.74 MB / 382.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002067/0.1198, allocations: 51.81 kB / 445.1 MB, free: 10.69 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003131/0.1202, allocations: 83.83 kB / 445.2 MB, free: 10.61 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000178/0.1203, allocations: 83.7 kB / 445.3 MB, free: 10.53 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.221e-05/0.1204, allocations: 8.219 kB / 445.3 MB, free: 10.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.616e-05/0.1205, allocations: 43.83 kB / 445.3 MB, free: 10.48 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.515e-05/0.1206, allocations: 31.8 kB / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.526e-05/0.1207, allocations: 0 / 445.4 MB, free: 10.45 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001025/0.1208, allocations: 35.98 kB / 445.4 MB, free: 10.41 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.314e-05/0.1208, allocations: 31.89 kB / 445.4 MB, free: 10.38 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 4.457e-05/0.1209, allocations: 41.64 kB / 445.5 MB, free: 10.33 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001532/0.121, allocations: 96.08 kB / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.24e-06/0.121, allocations: 0 / 445.6 MB, free: 10.24 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.906e-06/0.1211, allocations: 4 kB / 445.6 MB, free: 10.23 MB / 382.1 MB Notification: Performance of Transformations before backend: time 4.408e-06/0.1211, allocations: 0 / 445.6 MB, free: 10.23 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: 6 * Number of variables: 6 Notification: Performance of Generate backend data structure: time 0.0005177/0.1216, allocations: 426.5 kB / 446 MB, free: 9.77 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.178e-05/0.1216, allocations: 12.03 kB / 446 MB, free: 9.758 MB / 382.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.57e-05/0.1217, allocations: 34.56 kB / 446 MB, free: 9.715 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.959e-05/0.1217, allocations: 15.81 kB / 446.1 MB, free: 9.699 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002344/0.122, allocations: 206.8 kB / 446.3 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.303e-05/0.122, allocations: 0 / 446.3 MB, free: 9.457 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.46e-05/0.122, allocations: 8 kB / 446.3 MB, free: 9.449 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001489/0.1222, allocations: 49.67 kB / 446.3 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.245e-05/0.1222, allocations: 0 / 446.3 MB, free: 9.395 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.308e-05/0.1222, allocations: 7.953 kB / 446.3 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.272e-06/0.1222, allocations: 0 / 446.3 MB, free: 9.387 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.1e-05/0.1223, allocations: 23.92 kB / 446.3 MB, free: 9.363 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004043/0.1227, allocations: 300.9 kB / 446.6 MB, free: 9.02 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000153/0.1229, allocations: 46.69 kB / 446.7 MB, free: 8.965 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.02e-05/0.123, allocations: 20.84 kB / 446.7 MB, free: 8.941 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.622e-05/0.123, allocations: 4 kB / 446.7 MB, free: 8.938 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002575/0.1233, allocations: 75.28 kB / 446.8 MB, free: 8.852 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.733e-06/0.1233, allocations: 0 / 446.8 MB, free: 8.852 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006106/0.1239, allocations: 185 kB / 447 MB, free: 8.664 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.782e-05/0.124, allocations: 51.41 kB / 447 MB, free: 8.602 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002664/0.1242, allocations: 258.5 kB / 447.3 MB, free: 8.336 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.912e-05/0.1243, allocations: 25.7 kB / 447.3 MB, free: 8.305 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.345e-05/0.1244, allocations: 116 kB / 447.4 MB, free: 8.188 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.468e-05/0.1244, allocations: 27.64 kB / 447.4 MB, free: 8.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.701e-06/0.1244, allocations: 11.94 kB / 447.4 MB, free: 8.148 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001383/0.1246, allocations: 326.8 kB / 447.8 MB, free: 7.82 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.486e-05/0.1246, allocations: 23.98 kB / 447.8 MB, free: 7.797 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.465e-05/0.1247, allocations: 33.7 kB / 447.8 MB, free: 7.758 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 6.317e-05/0.1248, allocations: 28.05 kB / 447.8 MB, free: 7.73 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 7.12e-07/0.1248, allocations: 0 / 447.8 MB, free: 7.73 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001805/0.125, allocations: 109.5 kB / 447.9 MB, free: 7.617 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.643e-05/0.125, allocations: 4 kB / 448 MB, free: 7.613 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.404e-06/0.125, allocations: 3.984 kB / 448 MB, free: 7.609 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.695e-05/0.125, allocations: 4 kB / 448 MB, free: 7.605 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.991e-05/0.1251, allocations: 12 kB / 448 MB, free: 7.594 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.625e-06/0.1251, allocations: 3.938 kB / 448 MB, free: 7.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.97e-05/0.1252, allocations: 4.375 kB / 448 MB, free: 7.586 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.941e-06/0.1252, allocations: 0 / 448 MB, free: 7.586 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 (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.000129/0.1253, allocations: 141.8 kB / 448.1 MB, free: 7.438 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.642e-05/0.1254, allocations: 27.78 kB / 448.1 MB, free: 7.41 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.032e-05/0.1254, allocations: 21.41 kB / 448.2 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.533e-06/0.1254, allocations: 0 / 448.2 MB, free: 7.391 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.003e-06/0.1255, allocations: 4 kB / 448.2 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.178e-06/0.1255, allocations: 0 / 448.2 MB, free: 7.387 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004784/0.126, allocations: 407.2 kB / 448.6 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.164e-06/0.126, allocations: 0 / 448.6 MB, free: 6.93 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.189e-05/0.126, allocations: 8 kB / 448.6 MB, free: 6.922 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.134e-06/0.126, allocations: 12.02 kB / 448.6 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.989e-06/0.126, allocations: 0 / 448.6 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.734e-06/0.126, allocations: 0 / 448.6 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.126, allocations: 0 / 448.6 MB, free: 6.91 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002378/0.1263, allocations: 212.1 kB / 448.8 MB, free: 6.684 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.481e-05/0.1264, allocations: 89.02 kB / 448.9 MB, free: 6.578 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.432e-05/0.1264, allocations: 3.984 kB / 448.9 MB, free: 6.574 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.796e-05/0.1265, allocations: 8 kB / 448.9 MB, free: 6.566 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.552e-05/0.1265, allocations: 7.984 kB / 448.9 MB, free: 6.559 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.61e-05/0.1265, allocations: 4 kB / 448.9 MB, free: 6.555 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001787/0.1267, allocations: 200 kB / 449.1 MB, free: 6.359 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.9e-07/0.1267, allocations: 0 / 449.1 MB, free: 6.359 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002522/0.127, allocations: 27.98 kB / 449.1 MB, free: 6.332 MB / 382.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.001274/0.1283, allocations: 1.101 MB / 450.2 MB, free: 5.238 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001525/0.1284, allocations: 67.89 kB / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.543e-06/0.1284, allocations: 0 / 450.3 MB, free: 5.172 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.106e-05/0.1285, allocations: 24 kB / 450.3 MB, free: 5.148 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002981/0.1288, allocations: 31.91 kB / 450.4 MB, free: 5.117 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001359/0.1302, allocations: 0.8743 MB / 451.2 MB, free: 4.188 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003184/0.1305, allocations: 0.716 MB / 451.9 MB, free: 3.445 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.875e-05/0.1306, allocations: 12.88 kB / 452 MB, free: 3.434 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.972e-05/0.1306, allocations: 39.42 kB / 452 MB, free: 3.395 MB / 382.1 MB Notification: Performance of SimCode: time 2.5e-07/0.1307, allocations: 0 / 452 MB, free: 3.395 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01397/0.1446, allocations: 3.255 MB / 455.2 MB, free: 140 kB / 382.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.2097/0.3544, allocations: 217.5 kB / 455.5 MB, free: 48.39 MB / 382.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.735/2.089, allocations: 0 / 455.5 MB, free: 48.39 MB / 382.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test46.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46.pipe 2>&1) Environment - environmentSimulation: TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test46_res.mat does not exist to compare? outputFormat=mat