Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.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.Test65,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test65,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001301/0.001301, allocations: 104.1 kB / 17.63 MB, free: 5.344 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001371/0.001371, allocations: 214.4 kB / 18.59 MB, free: 4.402 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.446/1.446, allocations: 227.4 MB / 246.8 MB, free: 10.48 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.2153/0.2153, allocations: 46.12 MB / 344.2 MB, free: 11.53 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.00267/0.00267, allocations: 85.3 kB / 417.8 MB, free: 19.57 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1074/0.1101, allocations: 62.45 MB / 480.2 MB, free: 5.105 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test65): time 0.002893/0.113, allocations: 1.692 MB / 481.9 MB, free: 3.402 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001514/0.1145, allocations: 1.005 MB / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 5.235e-05/0.1146, allocations: 0 / 482.9 MB, free: 2.391 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002719/0.1149, allocations: 79.7 kB / 483 MB, free: 2.312 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002764/0.1151, allocations: 119.5 kB / 483.1 MB, free: 2.195 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001594/0.1153, allocations: 71.69 kB / 483.2 MB, free: 2.125 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001637/0.1155, allocations: 111.7 kB / 483.3 MB, free: 2.016 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.033e-05/0.1155, allocations: 4.234 kB / 483.3 MB, free: 2.012 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.578e-05/0.1156, allocations: 55.77 kB / 483.3 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.176e-05/0.1157, allocations: 51.81 kB / 483.4 MB, free: 1.906 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.346e-05/0.1158, allocations: 4 kB / 483.4 MB, free: 1.902 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.562e-05/0.1158, allocations: 35.94 kB / 483.4 MB, free: 1.867 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 4.493e-05/0.1159, allocations: 19.92 kB / 483.5 MB, free: 1.848 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 4.9e-05/0.116, allocations: 39.67 kB / 483.5 MB, free: 1.809 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001639/0.1161, allocations: 111.9 kB / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.786e-06/0.1161, allocations: 0 / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.122e-06/0.1161, allocations: 0 / 483.6 MB, free: 1.699 MB / 350.1 MB Notification: Performance of Transformations before backend: time 4.138e-06/0.1162, allocations: 0 / 483.6 MB, free: 1.699 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: 4 * Number of variables: 4 Notification: Performance of Generate backend data structure: time 0.0006008/0.1168, allocations: 414.9 kB / 484 MB, free: 1.246 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.248e-05/0.1168, allocations: 8.031 kB / 484 MB, free: 1.238 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.539e-05/0.1169, allocations: 38.73 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.343e-05/0.1169, allocations: 12.75 kB / 484.1 MB, free: 1.18 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003045/0.1172, allocations: 208 kB / 484.3 MB, free: 0.9375 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.72e-05/0.1173, allocations: 12.36 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.835e-05/0.1173, allocations: 11.88 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001497/0.1175, allocations: 41.69 kB / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.105e-06/0.1175, allocations: 0 / 484.3 MB, free: 0.8672 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.132e-05/0.1175, allocations: 3.984 kB / 484.3 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.502e-06/0.1175, allocations: 4 kB / 484.3 MB, free: 0.8594 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.753e-05/0.1176, allocations: 12 kB / 484.4 MB, free: 0.8477 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.00024/0.1178, allocations: 185.6 kB / 484.5 MB, free: 0.6172 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001954/0.1181, allocations: 62.5 kB / 484.6 MB, free: 0.5469 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.582e-05/0.1181, allocations: 24.84 kB / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.572e-05/0.1182, allocations: 0 / 484.6 MB, free: 0.5195 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002157/0.1184, allocations: 59.39 kB / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.452e-06/0.1184, allocations: 0 / 484.7 MB, free: 460 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0003363/0.1187, allocations: 101.5 kB / 484.8 MB, free: 352 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.223e-05/0.1188, allocations: 55.34 kB / 484.8 MB, free: 284 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002838/0.1191, allocations: 220.3 kB / 485 MB, free: 52 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.759e-05/0.1191, allocations: 29.7 kB / 485.1 MB, free: 16 kB / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 9.689e-05/0.1192, allocations: 108.1 kB / 485.2 MB, free: 15.91 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.639e-05/0.1193, allocations: 15.75 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.048e-05/0.1193, allocations: 21.7 kB / 485.2 MB, free: 15.86 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0002053/0.1196, allocations: 326.8 kB / 485.5 MB, free: 15.54 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.066e-05/0.1196, allocations: 16 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.504e-05/0.1197, allocations: 29.69 kB / 485.6 MB, free: 15.48 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001286/0.1198, allocations: 49.64 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.438e-06/0.1199, allocations: 4.188 kB / 485.6 MB, free: 15.43 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.0002162/0.1201, allocations: 77.59 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.665e-05/0.1201, allocations: 8 kB / 485.7 MB, free: 15.34 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.629e-06/0.1201, allocations: 4.031 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 9.857e-05/0.1202, allocations: 3.984 kB / 485.7 MB, free: 15.33 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.711e-05/0.1203, allocations: 11.94 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.915e-06/0.1203, allocations: 3.984 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.509e-05/0.1204, allocations: 7.906 kB / 485.7 MB, free: 15.3 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.231e-05/0.1204, allocations: 8 kB / 485.8 MB, free: 15.3 MB / 366.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 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent) * 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 (not torn): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 0.0001362/0.1206, allocations: 129.1 kB / 485.9 MB, free: 15.16 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.931e-05/0.1206, allocations: 11.91 kB / 485.9 MB, free: 15.15 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.294e-05/0.1207, allocations: 17 kB / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.919e-06/0.1207, allocations: 0 / 485.9 MB, free: 15.14 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.278e-06/0.1207, allocations: 3.938 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.202e-06/0.1207, allocations: 4 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002312/0.1209, allocations: 193.5 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.192e-06/0.1209, allocations: 0 / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.554e-05/0.121, allocations: 4 kB / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.844e-06/0.121, allocations: 0 / 486.1 MB, free: 14.89 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.144e-05/0.121, allocations: 3.984 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.583e-06/0.121, allocations: 0 / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 5.821e-06/0.121, allocations: 7.938 kB / 486.1 MB, free: 14.88 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001839/0.1212, allocations: 112.9 kB / 486.2 MB, free: 14.75 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.399e-05/0.1213, allocations: 89 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 1.976e-05/0.1213, allocations: 0 / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 3.547e-05/0.1213, allocations: 4 kB / 486.3 MB, free: 14.64 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.776e-05/0.1214, allocations: 4 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.278e-05/0.1214, allocations: 3.984 kB / 486.3 MB, free: 14.63 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001428/0.1215, allocations: 165.2 kB / 486.5 MB, free: 14.47 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.7e-07/0.1216, allocations: 4 kB / 486.5 MB, free: 14.46 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002038/0.1218, allocations: 16 kB / 486.5 MB, free: 14.45 MB / 366.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 (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.001728/0.1235, allocations: 0.938 MB / 487.5 MB, free: 13.62 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000154/0.1237, allocations: 51.97 kB / 487.5 MB, free: 13.57 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 3.356e-06/0.1237, allocations: 4.062 kB / 487.5 MB, free: 13.56 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 5.579e-05/0.1237, allocations: 19.94 kB / 487.5 MB, free: 13.54 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002587/0.124, allocations: 37.22 kB / 487.6 MB, free: 13.51 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001731/0.1257, allocations: 1.561 MB / 489.1 MB, free: 11.87 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003072/0.1261, allocations: 0.708 MB / 489.8 MB, free: 11.13 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 4.765e-05/0.1261, allocations: 12.55 kB / 489.8 MB, free: 11.12 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 5.703e-05/0.1262, allocations: 31.42 kB / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of SimCode: time 2.9e-07/0.1262, allocations: 0 / 489.9 MB, free: 11.09 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.06066/0.1869, allocations: 3.202 MB / 493.1 MB, free: 7.969 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.644/8.831, allocations: 11.8 kB / 493.1 MB, free: 7.961 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65_fmu --startTime=0 --stopTime=1 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test65.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test65.pipe 2>&1)