Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test42,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test42",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001313/0.001313, 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.00138/0.00138, 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.506/1.506, allocations: 227.4 MB / 246.8 MB, free: 10.61 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.2372/0.2372, allocations: 46.11 MB / 344.2 MB, free: 11.52 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.002249/0.002249, allocations: 83.66 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1086/0.1109, allocations: 62.45 MB / 480.2 MB, free: 5.141 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003586/0.1145, allocations: 1.732 MB / 481.9 MB, free: 3.395 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001791/0.1164, allocations: 1.024 MB / 483 MB, free: 2.367 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.104e-05/0.1165, allocations: 4 kB / 483 MB, free: 2.363 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003348/0.1169, allocations: 39.77 kB / 483 MB, free: 2.324 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0003554/0.1172, allocations: 103.5 kB / 483.1 MB, free: 2.223 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002296/0.1175, allocations: 71.67 kB / 483.2 MB, free: 2.152 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001953/0.1177, allocations: 107.7 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001243/0.1178, allocations: 12 kB / 483.3 MB, free: 2.035 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.424e-05/0.1179, allocations: 43.78 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.887e-05/0.118, allocations: 35.78 kB / 483.4 MB, free: 1.957 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.89e-05/0.118, allocations: 4 kB / 483.4 MB, free: 1.953 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000119/0.1181, allocations: 43.98 kB / 483.4 MB, free: 1.91 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 6.495e-05/0.1182, allocations: 19.92 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 6.383e-05/0.1183, allocations: 35.69 kB / 483.5 MB, free: 1.855 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002249/0.1185, allocations: 123.9 kB / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.701e-06/0.1185, allocations: 0 / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.623e-06/0.1185, allocations: 0 / 483.6 MB, free: 1.734 MB / 350.1 MB Notification: Performance of Transformations before backend: time 5.961e-06/0.1186, allocations: 4 kB / 483.6 MB, free: 1.73 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.0007146/0.1193, allocations: 426.9 kB / 484 MB, free: 1.266 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.615e-05/0.1193, allocations: 8.031 kB / 484 MB, free: 1.258 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 5.229e-05/0.1194, allocations: 34.75 kB / 484.1 MB, free: 1.215 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.613e-05/0.1195, allocations: 12.75 kB / 484.1 MB, free: 1.203 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003178/0.1198, allocations: 216 kB / 484.3 MB, free: 0.9531 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.71e-05/0.1198, allocations: 4.375 kB / 484.3 MB, free: 0.9492 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.232e-05/0.1198, allocations: 3.938 kB / 484.3 MB, free: 0.9453 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000181/0.12, allocations: 57.67 kB / 484.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.034e-05/0.12, allocations: 0 / 484.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 8.977e-06/0.1201, allocations: 0 / 484.4 MB, free: 0.8828 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.983e-06/0.1201, allocations: 4 kB / 484.4 MB, free: 0.8789 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.36e-05/0.1202, allocations: 15.98 kB / 484.4 MB, free: 0.8633 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003951/0.1206, allocations: 292.9 kB / 484.7 MB, free: 0.5273 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001891/0.1208, allocations: 62.61 kB / 484.7 MB, free: 468 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.101e-05/0.1208, allocations: 20.84 kB / 484.7 MB, free: 444 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.776e-05/0.1209, allocations: 3.938 kB / 484.7 MB, free: 440 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002171/0.1211, allocations: 71.39 kB / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.292e-06/0.1211, allocations: 0 / 484.8 MB, free: 356 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005894/0.1217, allocations: 181 kB / 485 MB, free: 168 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.439e-05/0.1217, allocations: 55.41 kB / 485 MB, free: 100 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002463/0.122, allocations: 206.3 kB / 485.2 MB, free: 15.89 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.116e-05/0.122, allocations: 25.7 kB / 485.3 MB, free: 15.86 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 8.807e-05/0.1221, allocations: 104.1 kB / 485.4 MB, free: 15.75 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.234e-05/0.1222, allocations: 27.64 kB / 485.4 MB, free: 15.72 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.011e-05/0.1222, allocations: 21.72 kB / 485.4 MB, free: 15.7 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001394/0.1224, allocations: 330.8 kB / 485.7 MB, free: 15.36 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.93e-05/0.1224, allocations: 19.98 kB / 485.8 MB, free: 15.34 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.674e-05/0.1225, allocations: 37.7 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001169/0.1226, allocations: 57.72 kB / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 8.02e-07/0.1226, allocations: 0 / 485.9 MB, free: 15.24 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001906/0.1228, allocations: 109.4 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.656e-05/0.1228, allocations: 8 kB / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.158e-06/0.1229, allocations: 0 / 486 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.232e-05/0.1229, allocations: 4.031 kB / 486 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.813e-05/0.123, allocations: 19.98 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.947e-06/0.123, allocations: 4 kB / 486 MB, free: 15.09 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.595e-05/0.123, allocations: 11.81 kB / 486 MB, free: 15.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 8.185e-06/0.1231, allocations: 4 kB / 486 MB, free: 15.07 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 (10): * Single equations (assignments): 10 * 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.0001352/0.1232, allocations: 125.8 kB / 486.1 MB, free: 14.94 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.531e-05/0.1232, allocations: 11.91 kB / 486.1 MB, free: 14.93 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.758e-05/0.1233, allocations: 13.41 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 4.038e-06/0.1233, allocations: 4 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.508e-06/0.1233, allocations: 4 kB / 486.2 MB, free: 14.91 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 8.346e-06/0.1233, allocations: 7.922 kB / 486.2 MB, free: 14.9 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004865/0.1238, allocations: 395.2 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.964e-06/0.1238, allocations: 0 / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.661e-05/0.1239, allocations: 8 kB / 486.6 MB, free: 14.45 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.111e-06/0.1239, allocations: 3.938 kB / 486.6 MB, free: 14.44 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.291e-05/0.1239, allocations: 7.984 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.322e-06/0.1239, allocations: 0 / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.61e-07/0.1239, allocations: 4.031 kB / 486.6 MB, free: 14.43 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002625/0.1242, allocations: 200.7 kB / 486.8 MB, free: 14.21 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.776e-05/0.1243, allocations: 88.92 kB / 486.9 MB, free: 14.11 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.014e-05/0.1243, allocations: 12.25 kB / 486.9 MB, free: 14.1 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.032e-05/0.1244, allocations: 7.984 kB / 486.9 MB, free: 14.09 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.086e-05/0.1244, allocations: 12 kB / 486.9 MB, free: 14.08 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.53e-05/0.1244, allocations: 4 kB / 486.9 MB, free: 14.07 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001443/0.1246, allocations: 160.8 kB / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of sort global known variables: time 2.124e-06/0.1246, allocations: 0 / 487.1 MB, free: 13.92 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.00029/0.1249, allocations: 23.92 kB / 487.1 MB, free: 13.89 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: 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 (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.002216/0.1271, allocations: 1.095 MB / 488.2 MB, free: 12.93 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0002143/0.1273, allocations: 59.91 kB / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 2.394e-06/0.1274, allocations: 64 / 488.2 MB, free: 12.88 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 8.316e-05/0.1274, allocations: 31.98 kB / 488.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003494/0.1278, allocations: 29.22 kB / 488.3 MB, free: 12.82 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002087/0.1299, allocations: 1.69 MB / 490 MB, free: 11.04 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003888/0.1303, allocations: 0.7002 MB / 490.7 MB, free: 10.32 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.352e-05/0.1304, allocations: 24.84 kB / 490.7 MB, free: 10.29 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.731e-05/0.1305, allocations: 39.42 kB / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of SimCode: time 3.81e-07/0.1305, allocations: 0 / 490.8 MB, free: 10.25 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02564/0.1561, allocations: 3.429 MB / 494.2 MB, free: 6.902 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.188/8.344, allocations: 21.34 kB / 494.2 MB, free: 6.887 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test42_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test42.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)