Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.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.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test74,fileNamePrefix="ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74",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.001289/0.00129, allocations: 95.25 kB / 16.98 MB, free: 5.938 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.001648/0.001648, allocations: 186.5 kB / 17.88 MB, free: 5.594 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.437/1.437, allocations: 223.2 MB / 241.8 MB, free: 14.66 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.2137/0.2137, allocations: 44.23 MB / 337.1 MB, free: 2.66 MB / 270.1 MB Notification: Performance of FrontEnd - loaded program: time 0.0003103/0.0003103, allocations: 12 kB / 409.6 MB, free: 27.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1089/0.1092, allocations: 61.92 MB / 471.5 MB, free: 13.62 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test74): time 0.002039/0.1113, allocations: 1.547 MB / 473.1 MB, free: 12.07 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001519/0.1129, allocations: 0.8855 MB / 474 MB, free: 11.18 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.945e-05/0.113, allocations: 7.938 kB / 474 MB, free: 11.17 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004761/0.1135, allocations: 243.4 kB / 474.2 MB, free: 10.93 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003051/0.1138, allocations: 163.6 kB / 474.4 MB, free: 10.77 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004264/0.1142, allocations: 154.5 kB / 474.5 MB, free: 10.62 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002661/0.1145, allocations: 167.6 kB / 474.7 MB, free: 10.46 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001208/0.1146, allocations: 21.69 kB / 474.7 MB, free: 10.44 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.000161/0.1148, allocations: 119.6 kB / 474.8 MB, free: 10.32 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001926/0.115, allocations: 135.5 kB / 475 MB, free: 10.19 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.97e-05/0.115, allocations: 4 kB / 475 MB, free: 10.18 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001238/0.1151, allocations: 43.92 kB / 475 MB, free: 10.14 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 8.078e-05/0.1152, allocations: 59.8 kB / 475.1 MB, free: 10.08 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.492e-05/0.1153, allocations: 65.52 kB / 475.1 MB, free: 10.01 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000243/0.1156, allocations: 172 kB / 475.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.086e-06/0.1156, allocations: 0 / 475.3 MB, free: 9.844 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.653e-06/0.1156, allocations: 4 kB / 475.3 MB, free: 9.84 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.64e-06/0.1156, allocations: 0 / 475.3 MB, free: 9.84 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: 16 * Number of variables: 16 Notification: Performance of Generate backend data structure: time 0.0007844/0.1164, allocations: 0.5291 MB / 475.8 MB, free: 9.262 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.805e-05/0.1164, allocations: 12.02 kB / 475.9 MB, free: 9.25 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.486e-05/0.1165, allocations: 38.56 kB / 475.9 MB, free: 9.203 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.382e-05/0.1166, allocations: 31.62 kB / 475.9 MB, free: 9.172 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000355/0.1169, allocations: 275 kB / 476.2 MB, free: 8.863 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.507e-05/0.1169, allocations: 4 kB / 476.2 MB, free: 8.859 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.635e-05/0.117, allocations: 11.95 kB / 476.2 MB, free: 8.848 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002324/0.1172, allocations: 111.3 kB / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.3e-05/0.1172, allocations: 0 / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.202e-05/0.1173, allocations: 0 / 476.3 MB, free: 8.727 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1173, allocations: 4 kB / 476.3 MB, free: 8.723 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001284/0.1174, allocations: 55.89 kB / 476.4 MB, free: 8.668 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005264/0.1179, allocations: 476.7 kB / 476.8 MB, free: 8.148 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003381/0.1183, allocations: 125.2 kB / 477 MB, free: 8.008 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.302e-05/0.1183, allocations: 4 kB / 477 MB, free: 8.004 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002552/0.1186, allocations: 127.5 kB / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of pre-optimization done (n=14): time 1.352e-06/0.1186, allocations: 0 / 477.1 MB, free: 7.863 MB / 350.1 MB Notification: Performance of matching and sorting (n=22): time 0.001294/0.1199, allocations: 0.497 MB / 477.6 MB, free: 7.359 MB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 5.827e-05/0.12, allocations: 81.06 kB / 477.7 MB, free: 7.262 MB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0004945/0.1205, allocations: 485.5 kB / 478.1 MB, free: 6.777 MB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.75e-05/0.1205, allocations: 33.7 kB / 478.2 MB, free: 6.738 MB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001334/0.1206, allocations: 156.5 kB / 478.3 MB, free: 6.582 MB / 350.1 MB Notification: Performance of collectInitialBindings (initialization): time 7.507e-05/0.1207, allocations: 75.03 kB / 478.4 MB, free: 6.508 MB / 350.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 9.838e-06/0.1207, allocations: 7.938 kB / 478.4 MB, free: 6.5 MB / 350.1 MB Notification: Performance of setup shared object (initialization): time 0.0001499/0.1209, allocations: 342.8 kB / 478.7 MB, free: 6.156 MB / 350.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 0.0001173/0.121, allocations: 59.97 kB / 478.8 MB, free: 6.098 MB / 350.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001293/0.1212, allocations: 87.34 kB / 478.9 MB, free: 6 MB / 350.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001275/0.1213, allocations: 72.08 kB / 479 MB, free: 5.93 MB / 350.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.202e-06/0.1213, allocations: 4 kB / 479 MB, free: 5.926 MB / 350.1 MB Notification: Performance of matching and sorting (n=26) (initialization): time 0.0003532/0.1217, allocations: 233.1 kB / 479.2 MB, free: 5.691 MB / 350.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.332e-05/0.1217, allocations: 4 kB / 479.2 MB, free: 5.688 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 7.524e-06/0.1217, allocations: 8.062 kB / 479.2 MB, free: 5.68 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.321e-05/0.1217, allocations: 4 kB / 479.2 MB, free: 5.676 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001386/0.1219, allocations: 43.92 kB / 479.2 MB, free: 5.633 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 9.177e-06/0.1219, allocations: 11.94 kB / 479.3 MB, free: 5.621 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 7.885e-05/0.122, allocations: 8 kB / 479.3 MB, free: 5.613 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.663e-05/0.122, allocations: 12.05 kB / 479.3 MB, free: 5.602 MB / 350.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($whenCondition2,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled,$whenCondition1,$PRE.t_new_2.nextTimeEvent,t_new_2.nextTimeEvent,$PRE.t_new_2.nextTimeEventScaled,t_new_2.nextTimeEventScaled) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (26): * Single equations (assignments): 26 * 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.0001526/0.1221, allocations: 182.2 kB / 479.5 MB, free: 5.414 MB / 350.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 3.653e-05/0.1222, allocations: 35.62 kB / 479.5 MB, free: 5.379 MB / 350.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.916e-05/0.1223, allocations: 38.81 kB / 479.5 MB, free: 5.34 MB / 350.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.938e-06/0.1223, allocations: 4 kB / 479.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.769e-06/0.1223, allocations: 0 / 479.5 MB, free: 5.336 MB / 350.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.483e-06/0.1223, allocations: 7.938 kB / 479.5 MB, free: 5.328 MB / 350.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0007738/0.1231, allocations: 0.7272 MB / 480.3 MB, free: 4.531 MB / 350.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.507e-06/0.1231, allocations: 7.953 kB / 480.3 MB, free: 4.523 MB / 350.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 8.106e-05/0.1232, allocations: 31.92 kB / 480.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.206e-06/0.1232, allocations: 0 / 480.3 MB, free: 4.492 MB / 350.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.006e-05/0.1232, allocations: 15.98 kB / 480.3 MB, free: 4.477 MB / 350.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.394e-06/0.1232, allocations: 4.125 kB / 480.3 MB, free: 4.473 MB / 350.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.575e-06/0.1232, allocations: 4 kB / 480.3 MB, free: 4.469 MB / 350.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0004253/0.1237, allocations: 478.9 kB / 480.8 MB, free: 3.945 MB / 350.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.865e-05/0.1237, allocations: 112.7 kB / 480.9 MB, free: 3.816 MB / 350.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.978e-05/0.1238, allocations: 15.94 kB / 480.9 MB, free: 3.801 MB / 350.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001391/0.1239, allocations: 8 kB / 480.9 MB, free: 3.793 MB / 350.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.397e-05/0.124, allocations: 27.95 kB / 481 MB, free: 3.766 MB / 350.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.117e-05/0.124, allocations: 8 kB / 481 MB, free: 3.758 MB / 350.1 MB Notification: Performance of sorting global known variables: time 0.0003286/0.1243, allocations: 363.1 kB / 481.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of sort global known variables: time 3.11e-07/0.1244, allocations: 0 / 481.3 MB, free: 3.406 MB / 350.1 MB Notification: Performance of remove unused functions: time 0.0003558/0.1247, allocations: 51.98 kB / 481.4 MB, free: 3.355 MB / 350.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 6 * Number of states: 0 () * Number of discrete variables: 6 ($whenCondition1,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled,$whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 4 (t_new.nextTimeEvent,t_new.nextTimeEventScaled,t_new_2.nextTimeEvent,t_new_2.nextTimeEventScaled) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (22): * Single equations (assignments): 18 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.001737/0.1265, allocations: 1.766 MB / 483.1 MB, free: 1.746 MB / 350.1 MB Notification: Performance of simCode: created initialization part: time 0.0002887/0.1268, allocations: 151.8 kB / 483.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: created event and clocks part: time 1.984e-06/0.1268, allocations: 0 / 483.3 MB, free: 1.598 MB / 350.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001381/0.1269, allocations: 83.84 kB / 483.4 MB, free: 1.516 MB / 350.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003825/0.1273, allocations: 54.2 kB / 483.4 MB, free: 1.461 MB / 350.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002285/0.1296, allocations: 2.172 MB / 485.6 MB, free: 15.2 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002918/0.1299, allocations: 0.7872 MB / 486.4 MB, free: 14.39 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.0001046/0.13, allocations: 41.91 kB / 486.4 MB, free: 14.35 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001186/0.1301, allocations: 95.39 kB / 486.5 MB, free: 14.26 MB / 366.1 MB Notification: Performance of SimCode: time 4e-07/0.1302, allocations: 4 kB / 486.5 MB, free: 14.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.01692/0.1471, allocations: 5.838 MB / 492.4 MB, free: 8.562 MB / 366.1 MB Notification: Performance of buildModelFMU: configured platform static using cached values: time 0.0003585/0.1475, allocations: 212.8 kB / 492.6 MB, free: 8.324 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 1.779/1.926, allocations: 4.062 kB / 492.6 MB, free: 8.32 MB / 366.1 MB (rm -f ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; mkfifo ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe ; head -c 1048576 < ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe >> ../files/ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.sim & /home/hudson/saved_omc/OMSimulator/install/linux/bin/OMSimulator -r=ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat --tempDir=temp_ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74_fmu --startTime=0 --stopTime=15 --timeout=50 --tolerance=1e-06 ModelicaTest_4_0_0_ModelicaTest_Tables_CombiTimeTable_Test74.fmu > ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74.pipe 2>&1) TODO: How the !@#!# did the simulation report success but simulation result ModelicaTest_4.0.0_ModelicaTest.Tables.CombiTimeTable.Test74_res.mat does not exist to compare? outputFormat=mat