Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo", uses=false) Using package ModelicaTest with version 4.1.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo) Using package Modelica with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo) Using package Complex with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo) Using package ModelicaServices with version trunk (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test83,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001272/0.001272, allocations: 103.9 kB / 17.63 MB, free: 5.523 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001356/0.001355, allocations: 210.4 kB / 18.58 MB, free: 4.578 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.487/1.487, allocations: 227.4 MB / 246.8 MB, free: 10.59 MB / 206.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 4.1.0-beta.om/package.mo): time 0.2141/0.2141, allocations: 46.11 MB / 344.2 MB, free: 11.57 MB / 286.1 MB Warning: Requested package Modelica of version 4.1.0, but this package was already loaded with version trunk. OpenModelica cannot reason about compatibility between the two packages since they are not semantic versions. Notification: Performance of FrontEnd - loaded program: time 0.002379/0.002379, allocations: 85.17 kB / 417.8 MB, free: 19.61 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1054/0.1078, allocations: 62.45 MB / 480.2 MB, free: 5.133 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test83): time 0.004221/0.112, allocations: 1.975 MB / 482.2 MB, free: 3.145 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.002244/0.1143, allocations: 1.189 MB / 483.4 MB, free: 1.949 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001362/0.1145, allocations: 4 kB / 483.4 MB, free: 1.945 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007037/0.1152, allocations: 203.3 kB / 483.6 MB, free: 1.746 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0006149/0.1158, allocations: 202.4 kB / 483.8 MB, free: 1.551 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0005705/0.1164, allocations: 155.6 kB / 483.9 MB, free: 1.398 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0004843/0.1169, allocations: 275.2 kB / 484.2 MB, free: 1.129 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001561/0.1171, allocations: 24.3 kB / 484.2 MB, free: 1.105 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002168/0.1173, allocations: 107.6 kB / 484.3 MB, free: 1 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001531/0.1175, allocations: 119.5 kB / 484.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.863e-05/0.1175, allocations: 8 kB / 484.5 MB, free: 0.875 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001672/0.1177, allocations: 55.97 kB / 484.5 MB, free: 0.8203 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001028/0.1178, allocations: 59.81 kB / 484.6 MB, free: 0.7617 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 0.0001091/0.1179, allocations: 87.36 kB / 484.7 MB, free: 0.6758 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003443/0.1182, allocations: 239.5 kB / 484.9 MB, free: 452 kB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.578e-06/0.1183, allocations: 0 / 484.9 MB, free: 452 kB / 350.1 MB Notification: Performance of FrontEnd: time 1.993e-06/0.1183, allocations: 0 / 484.9 MB, free: 452 kB / 350.1 MB Notification: Performance of Transformations before backend: time 1.046e-05/0.1183, allocations: 0 / 484.9 MB, free: 452 kB / 350.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 11 * Number of variables: 11 Notification: Performance of Generate backend data structure: time 0.00094/0.1192, allocations: 0.5582 MB / 485.4 MB, free: 15.83 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.03e-05/0.1193, allocations: 12.03 kB / 485.5 MB, free: 15.82 MB / 366.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 4.498e-05/0.1193, allocations: 38.73 kB / 485.5 MB, free: 15.77 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.396e-05/0.1194, allocations: 28.56 kB / 485.5 MB, free: 15.74 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004089/0.1198, allocations: 283.6 kB / 485.8 MB, free: 15.43 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.188e-05/0.1198, allocations: 8.375 kB / 485.8 MB, free: 15.42 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.259e-05/0.1199, allocations: 7.938 kB / 485.8 MB, free: 15.41 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002602/0.1201, allocations: 108.1 kB / 485.9 MB, free: 15.29 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.119e-05/0.1202, allocations: 7.984 kB / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.407e-05/0.1202, allocations: 0 / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.169e-06/0.1202, allocations: 0 / 485.9 MB, free: 15.28 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001271/0.1203, allocations: 39.97 kB / 486 MB, free: 15.24 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005424/0.1209, allocations: 385.4 kB / 486.3 MB, free: 14.81 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0003159/0.1212, allocations: 121.3 kB / 486.5 MB, free: 14.68 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 0.0001048/0.1213, allocations: 45.64 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.719e-05/0.1214, allocations: 8 kB / 486.5 MB, free: 14.62 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002382/0.1216, allocations: 109 kB / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of pre-optimization done (n=11): time 1.383e-06/0.1216, allocations: 0 / 486.6 MB, free: 14.49 MB / 366.1 MB Notification: Performance of matching and sorting (n=11): time 0.0004623/0.1221, allocations: 185.3 kB / 486.8 MB, free: 14.3 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 7.567e-05/0.1222, allocations: 102.8 kB / 486.9 MB, free: 14.18 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0003926/0.1226, allocations: 355.3 kB / 487.2 MB, free: 13.82 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 3.058e-05/0.1226, allocations: 29.7 kB / 487.3 MB, free: 13.79 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001136/0.1227, allocations: 144.1 kB / 487.4 MB, free: 13.64 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.493e-05/0.1228, allocations: 27.56 kB / 487.4 MB, free: 13.61 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.665e-05/0.1228, allocations: 33.7 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001656/0.123, allocations: 338.8 kB / 487.8 MB, free: 13.23 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.229e-05/0.1231, allocations: 35.98 kB / 487.8 MB, free: 13.2 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001268/0.1232, allocations: 85.5 kB / 487.9 MB, free: 13.1 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001886/0.1234, allocations: 95.36 kB / 488 MB, free: 12.99 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.024e-06/0.1234, allocations: 0 / 488 MB, free: 12.99 MB / 366.1 MB Notification: Performance of matching and sorting (n=15) (initialization): time 0.0003077/0.1238, allocations: 149.3 kB / 488.2 MB, free: 12.84 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.594e-05/0.1238, allocations: 8 kB / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 8.195e-06/0.1238, allocations: 0 / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.323e-05/0.1238, allocations: 3.938 kB / 488.2 MB, free: 12.83 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001115/0.1239, allocations: 23.98 kB / 488.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.5e-06/0.1239, allocations: 3.938 kB / 488.2 MB, free: 12.8 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.936e-05/0.124, allocations: 19.84 kB / 488.2 MB, free: 12.78 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.062e-05/0.1241, allocations: 4 kB / 488.2 MB, free: 12.78 MB / 366.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: 11 ($PRE.t_new.nextTimeEvent,$whenCondition2,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,$PRE.booleanTable.combiTimeTable.nextTimeEvent,$whenCondition1,booleanTable.combiTimeTable.nextTimeEventScaled,$PRE.booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.y) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (15): * Single equations (assignments): 15 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 0 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001569/0.1242, allocations: 162.8 kB / 488.4 MB, free: 12.61 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.169e-05/0.1243, allocations: 23.72 kB / 488.4 MB, free: 12.59 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 6.282e-05/0.1243, allocations: 29.83 kB / 488.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.555e-06/0.1243, allocations: 0 / 488.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.128e-06/0.1243, allocations: 0 / 488.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.021e-06/0.1244, allocations: 3.938 kB / 488.4 MB, free: 12.55 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002453/0.1246, allocations: 257.5 kB / 488.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.142e-06/0.1246, allocations: 0 / 488.7 MB, free: 12.25 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.569e-05/0.1247, allocations: 16.06 kB / 488.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.924e-06/0.1247, allocations: 0 / 488.7 MB, free: 12.23 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.674e-05/0.1247, allocations: 11.98 kB / 488.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.422e-06/0.1247, allocations: 0 / 488.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1247, allocations: 0 / 488.7 MB, free: 12.22 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003299/0.125, allocations: 181.5 kB / 488.9 MB, free: 12.02 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 7.373e-05/0.1251, allocations: 96.83 kB / 489 MB, free: 11.91 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.732e-05/0.1252, allocations: 7.984 kB / 489 MB, free: 11.9 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.532e-05/0.1252, allocations: 12 kB / 489 MB, free: 11.89 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.137e-05/0.1253, allocations: 15.91 kB / 489 MB, free: 11.88 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.592e-05/0.1253, allocations: 4 kB / 489 MB, free: 11.87 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002762/0.1256, allocations: 261.9 kB / 489.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.555e-06/0.1256, allocations: 0 / 489.3 MB, free: 11.61 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002572/0.1259, allocations: 43.92 kB / 489.3 MB, free: 11.57 MB / 366.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: 7 ($whenCondition2,t_new.nextTimeEvent,t_new.nextTimeEventScaled,$whenCondition1,booleanTable.y,booleanTable.combiTimeTable.nextTimeEvent,booleanTable.combiTimeTable.nextTimeEventScaled) * Number of discrete states: 4 (booleanTable.combiTimeTable.nextTimeEventScaled,booleanTable.combiTimeTable.nextTimeEvent,t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (11): * Single equations (assignments): 7 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * If-equations: 0 * Equation systems (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.002004/0.1279, allocations: 1.023 MB / 490.4 MB, free: 10.66 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002647/0.1282, allocations: 99.78 kB / 490.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 4.137e-06/0.1282, allocations: 4 kB / 490.5 MB, free: 10.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001157/0.1283, allocations: 43.97 kB / 490.5 MB, free: 10.52 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003829/0.1287, allocations: 69.73 kB / 490.6 MB, free: 10.45 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002966/0.1317, allocations: 2.341 MB / 492.9 MB, free: 8.008 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004786/0.1322, allocations: 0.748 MB / 493.7 MB, free: 7.23 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 0.000105/0.1323, allocations: 34.42 kB / 493.7 MB, free: 7.199 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001094/0.1324, allocations: 75.34 kB / 493.8 MB, free: 7.125 MB / 366.1 MB Notification: Performance of SimCode: time 2.8e-07/0.1324, allocations: 0 / 493.8 MB, free: 7.125 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03078/0.1632, allocations: 5.675 MB / 499.4 MB, free: 1.543 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.189/8.352, allocations: 10.97 kB / 499.5 MB, free: 1.535 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83_fmu --startTime=1 --stopTime=3 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test83.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test83.pipe 2>&1)