Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.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.Test61,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test61,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001433/0.001433, allocations: 103.8 kB / 17.63 MB, free: 5.48 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex trunk/package.mo): time 0.001584/0.001584, allocations: 214.4 kB / 18.59 MB, free: 4.531 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica trunk/package.mo): time 1.452/1.452, allocations: 227.4 MB / 246.8 MB, free: 10.51 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.218/0.218, allocations: 46.11 MB / 344.2 MB, free: 11.55 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.002199/0.002199, allocations: 85.95 kB / 417.8 MB, free: 19.58 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1079/0.1101, allocations: 62.46 MB / 480.2 MB, free: 5.109 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test61): time 0.003182/0.1133, allocations: 1.685 MB / 481.9 MB, free: 3.41 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.001623/0.1149, allocations: 1.002 MB / 482.9 MB, free: 2.402 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.885e-05/0.115, allocations: 4 kB / 482.9 MB, free: 2.398 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002545/0.1153, allocations: 55.75 kB / 483 MB, free: 2.344 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002766/0.1156, allocations: 99.59 kB / 483.1 MB, free: 2.246 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001703/0.1158, allocations: 75.67 kB / 483.1 MB, free: 2.172 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001514/0.1159, allocations: 91.7 kB / 483.2 MB, free: 2.082 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.091e-05/0.116, allocations: 12.22 kB / 483.2 MB, free: 2.07 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.968e-05/0.1161, allocations: 47.78 kB / 483.3 MB, free: 2.023 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 6.896e-05/0.1161, allocations: 27.8 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 2.119e-05/0.1162, allocations: 4 kB / 483.3 MB, free: 1.992 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 7.825e-05/0.1163, allocations: 31.92 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.656e-05/0.1163, allocations: 31.84 kB / 483.4 MB, free: 1.93 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.919e-05/0.1164, allocations: 39.69 kB / 483.4 MB, free: 1.891 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001857/0.1166, allocations: 123.8 kB / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.946e-06/0.1166, allocations: 0 / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of FrontEnd: time 9.12e-07/0.1166, allocations: 0 / 483.5 MB, free: 1.77 MB / 350.1 MB Notification: Performance of Transformations before backend: time 7.925e-06/0.1166, allocations: 0 / 483.5 MB, free: 1.77 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.0005419/0.1172, allocations: 438.7 kB / 484 MB, free: 1.293 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.437e-05/0.1172, allocations: 8.031 kB / 484 MB, free: 1.285 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.605e-05/0.1172, allocations: 34.69 kB / 484 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.435e-05/0.1173, allocations: 12.84 kB / 484 MB, free: 1.23 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002386/0.1175, allocations: 224.9 kB / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.032e-05/0.1175, allocations: 384 / 484.2 MB, free: 0.9727 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.317e-05/0.1176, allocations: 3.938 kB / 484.2 MB, free: 0.9688 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001261/0.1177, allocations: 49.67 kB / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.292e-06/0.1177, allocations: 0 / 484.3 MB, free: 0.9141 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.428e-06/0.1177, allocations: 8 kB / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.437e-06/0.1177, allocations: 0 / 484.3 MB, free: 0.9062 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.763e-05/0.1178, allocations: 11.98 kB / 484.3 MB, free: 0.8945 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0001976/0.118, allocations: 193.6 kB / 484.5 MB, free: 0.6562 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000162/0.1182, allocations: 62.53 kB / 484.6 MB, free: 0.5859 MB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.799e-05/0.1183, allocations: 20.84 kB / 484.6 MB, free: 0.5625 MB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.756e-05/0.1183, allocations: 4 kB / 484.6 MB, free: 0.5586 MB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001693/0.1185, allocations: 63.39 kB / 484.7 MB, free: 496 kB / 350.1 MB Notification: Performance of pre-optimization done (n=5): time 1.342e-06/0.1185, allocations: 3.938 kB / 484.7 MB, free: 492 kB / 350.1 MB Notification: Performance of matching and sorting (n=5): time 0.0002711/0.1187, allocations: 101.4 kB / 484.8 MB, free: 384 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.381e-05/0.1188, allocations: 55.41 kB / 484.8 MB, free: 316 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002659/0.1191, allocations: 267 kB / 485.1 MB, free: 36 kB / 350.1 MB Notification: Performance of collectPreVariables (initialization): time 2.078e-05/0.1191, allocations: 29.7 kB / 485.1 MB, free: 0 / 350.1 MB Notification: Performance of collectInitialEqns (initialization): time 7.213e-05/0.1192, allocations: 116.2 kB / 485.2 MB, free: 15.88 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.512e-05/0.1192, allocations: 7.891 kB / 485.2 MB, free: 15.87 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 3.953e-05/0.1193, allocations: 21.72 kB / 485.2 MB, free: 15.84 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001323/0.1194, allocations: 326.8 kB / 485.6 MB, free: 15.52 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.213e-05/0.1195, allocations: 15.98 kB / 485.6 MB, free: 15.5 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 5.81e-05/0.1195, allocations: 25.7 kB / 485.6 MB, free: 15.47 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001059/0.1196, allocations: 49.66 kB / 485.6 MB, free: 15.41 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 4.057e-06/0.1197, allocations: 3.938 kB / 485.7 MB, free: 15.41 MB / 366.1 MB Notification: Performance of matching and sorting (n=7) (initialization): time 0.000169/0.1198, allocations: 89.42 kB / 485.7 MB, free: 15.32 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.182e-05/0.1199, allocations: 4 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.536e-06/0.1199, allocations: 0 / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.022e-05/0.1199, allocations: 3.938 kB / 485.7 MB, free: 15.31 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 7.101e-05/0.12, allocations: 16 kB / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.887e-06/0.12, allocations: 0 / 485.8 MB, free: 15.29 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.911e-05/0.12, allocations: 11.88 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.288e-06/0.12, allocations: 4 kB / 485.8 MB, free: 15.28 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.000116/0.1202, allocations: 144.7 kB / 485.9 MB, free: 15.13 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.123e-05/0.1202, allocations: 7.906 kB / 485.9 MB, free: 15.12 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.758e-05/0.1202, allocations: 17 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.423e-06/0.1202, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.146e-06/0.1202, allocations: 0 / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.495e-06/0.1203, allocations: 4 kB / 485.9 MB, free: 15.11 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001653/0.1204, allocations: 205.4 kB / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.32e-07/0.1204, allocations: 0 / 486.1 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 2.145e-05/0.1205, allocations: 8 kB / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.496e-06/0.1205, allocations: 320 / 486.2 MB, free: 14.85 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.027e-06/0.1205, allocations: 7.938 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.825e-06/0.1205, allocations: 4 kB / 486.2 MB, free: 14.84 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 9.22e-07/0.1205, allocations: 4 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0001931/0.1207, allocations: 108.9 kB / 486.3 MB, free: 14.71 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.429e-05/0.1208, allocations: 85.02 kB / 486.4 MB, free: 14.61 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.333e-05/0.1208, allocations: 11.94 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 4.101e-05/0.1208, allocations: 7.984 kB / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 2.565e-05/0.1209, allocations: 0 / 486.4 MB, free: 14.59 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.276e-05/0.1209, allocations: 4 kB / 486.4 MB, free: 14.58 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0002026/0.1211, allocations: 204.4 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.4e-07/0.1211, allocations: 0 / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002169/0.1213, allocations: 24 kB / 486.6 MB, free: 14.36 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.001839/0.1232, allocations: 0.9434 MB / 487.6 MB, free: 13.53 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.000159/0.1234, allocations: 43.92 kB / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.532e-06/0.1234, allocations: 0 / 487.6 MB, free: 13.48 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 6.138e-05/0.1234, allocations: 19.98 kB / 487.6 MB, free: 13.46 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002735/0.1237, allocations: 33.97 kB / 487.6 MB, free: 13.43 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001837/0.1256, allocations: 1.669 MB / 489.3 MB, free: 11.67 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.1259, allocations: 0.7205 MB / 490 MB, free: 10.93 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 5.316e-05/0.126, allocations: 12.55 kB / 490 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.252e-05/0.126, allocations: 35.42 kB / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of SimCode: time 2.41e-07/0.126, allocations: 0 / 490.1 MB, free: 10.88 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02469/0.1507, allocations: 3.423 MB / 493.5 MB, free: 7.535 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.305/8.455, allocations: 17.67 kB / 493.5 MB, free: 7.523 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test61.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test61.pipe 2>&1)