Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.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.Test51,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test51,fileNamePrefix="ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test51",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices trunk/package.mo): time 0.001269/0.001269, 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.001525/0.001525, 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.534/1.534, allocations: 227.4 MB / 246.8 MB, free: 10.58 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.2765/0.2765, allocations: 46.12 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.002185/0.002185, allocations: 88.69 kB / 417.8 MB, free: 19.62 MB / 302.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1127/0.1149, allocations: 62.45 MB / 480.2 MB, free: 5.148 MB / 350.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test51): time 0.002981/0.1179, allocations: 1.728 MB / 481.9 MB, free: 3.406 MB / 350.1 MB Notification: Performance of NFInst.instExpressions: time 0.00173/0.1197, allocations: 1.025 MB / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 6.166e-05/0.1198, allocations: 0 / 483 MB, free: 2.375 MB / 350.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002416/0.12, allocations: 47.77 kB / 483 MB, free: 2.328 MB / 350.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002656/0.1203, allocations: 95.53 kB / 483.1 MB, free: 2.234 MB / 350.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0001835/0.1205, allocations: 79.72 kB / 483.2 MB, free: 2.156 MB / 350.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001577/0.1207, allocations: 111.6 kB / 483.3 MB, free: 2.047 MB / 350.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.142e-05/0.1207, allocations: 8 kB / 483.3 MB, free: 2.039 MB / 350.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.928e-05/0.1208, allocations: 43.78 kB / 483.3 MB, free: 1.996 MB / 350.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.00014/0.121, allocations: 31.8 kB / 483.4 MB, free: 1.965 MB / 350.1 MB Notification: Performance of NFPackage.collectConstants: time 1.543e-05/0.121, allocations: 4 kB / 483.4 MB, free: 1.961 MB / 350.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.932e-05/0.1211, allocations: 43.98 kB / 483.4 MB, free: 1.918 MB / 350.1 MB Notification: Performance of NFScalarize.scalarize: time 5.217e-05/0.1212, allocations: 23.91 kB / 483.5 MB, free: 1.895 MB / 350.1 MB Notification: Performance of NFVerifyModel.verify: time 5.892e-05/0.1212, allocations: 51.61 kB / 483.5 MB, free: 1.844 MB / 350.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001854/0.1214, allocations: 123.8 kB / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.735e-06/0.1214, allocations: 0 / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of FrontEnd: time 1.112e-06/0.1214, allocations: 0 / 483.6 MB, free: 1.723 MB / 350.1 MB Notification: Performance of Transformations before backend: time 3.777e-06/0.1214, allocations: 0 / 483.6 MB, free: 1.723 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.0005476/0.122, allocations: 430.8 kB / 484 MB, free: 1.254 MB / 350.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.224e-05/0.122, allocations: 12.03 kB / 484.1 MB, free: 1.242 MB / 350.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 3.502e-05/0.1221, allocations: 34.75 kB / 484.1 MB, free: 1.199 MB / 350.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.014e-05/0.1221, allocations: 8.844 kB / 484.1 MB, free: 1.191 MB / 350.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002236/0.1223, allocations: 221.6 kB / 484.3 MB, free: 0.9336 MB / 350.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.332e-05/0.1224, allocations: 8.375 kB / 484.3 MB, free: 0.9258 MB / 350.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.06e-05/0.1224, allocations: 7.938 kB / 484.3 MB, free: 0.918 MB / 350.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001299/0.1225, allocations: 57.61 kB / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.656e-06/0.1225, allocations: 0 / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 7.304e-06/0.1225, allocations: 0 / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.181e-06/0.1226, allocations: 0 / 484.4 MB, free: 0.8555 MB / 350.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 6.845e-05/0.1226, allocations: 19.98 kB / 484.4 MB, free: 0.8359 MB / 350.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003317/0.123, allocations: 300.7 kB / 484.7 MB, free: 0.4922 MB / 350.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001681/0.1232, allocations: 58.62 kB / 484.8 MB, free: 436 kB / 350.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.219e-05/0.1232, allocations: 20.84 kB / 484.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.704e-05/0.1232, allocations: 0 / 484.8 MB, free: 412 kB / 350.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001838/0.1234, allocations: 67.39 kB / 484.8 MB, free: 332 kB / 350.1 MB Notification: Performance of pre-optimization done (n=6): time 1.483e-06/0.1234, allocations: 4 kB / 484.8 MB, free: 328 kB / 350.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004921/0.1239, allocations: 181.1 kB / 485 MB, free: 140 kB / 350.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 6.54e-05/0.124, allocations: 55.41 kB / 485.1 MB, free: 72 kB / 350.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002327/0.1243, allocations: 238.1 kB / 485.3 MB, free: 15.83 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 1.779e-05/0.1243, allocations: 25.7 kB / 485.3 MB, free: 15.8 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.516e-05/0.1243, allocations: 108.1 kB / 485.4 MB, free: 15.69 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.075e-05/0.1244, allocations: 27.64 kB / 485.5 MB, free: 15.66 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.167e-05/0.1244, allocations: 25.72 kB / 485.5 MB, free: 15.63 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.000133/0.1246, allocations: 326.8 kB / 485.8 MB, free: 15.3 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.678e-05/0.1246, allocations: 20.36 kB / 485.8 MB, free: 15.28 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.853e-05/0.1247, allocations: 45.58 kB / 485.9 MB, free: 15.23 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001142/0.1248, allocations: 53.7 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 5.11e-06/0.1248, allocations: 4 kB / 485.9 MB, free: 15.17 MB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001847/0.125, allocations: 109.4 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.178e-05/0.125, allocations: 4.188 kB / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.988e-06/0.1251, allocations: 0 / 486 MB, free: 15.05 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.213e-05/0.1251, allocations: 7.938 kB / 486.1 MB, free: 15.04 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.005e-05/0.1252, allocations: 15.98 kB / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 3.567e-06/0.1252, allocations: 0 / 486.1 MB, free: 15.03 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.414e-05/0.1252, allocations: 7.938 kB / 486.1 MB, free: 15.02 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 5.189e-06/0.1252, allocations: 0 / 486.1 MB, free: 15.02 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.0001095/0.1253, allocations: 141.8 kB / 486.2 MB, free: 14.87 MB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.171e-05/0.1254, allocations: 11.94 kB / 486.2 MB, free: 14.86 MB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.644e-05/0.1254, allocations: 25.39 kB / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.543e-06/0.1254, allocations: 0 / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.296e-06/0.1254, allocations: 0 / 486.2 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.439e-06/0.1255, allocations: 3.938 kB / 486.3 MB, free: 14.83 MB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004833/0.1259, allocations: 403.2 kB / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.443e-06/0.126, allocations: 0 / 486.6 MB, free: 14.38 MB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.188e-05/0.126, allocations: 8 kB / 486.7 MB, free: 14.37 MB / 366.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 5.471e-06/0.126, allocations: 7.969 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.011e-05/0.126, allocations: 4 kB / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.303e-06/0.126, allocations: 0 / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 7.82e-07/0.126, allocations: 0 / 486.7 MB, free: 14.36 MB / 366.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002457/0.1263, allocations: 208.4 kB / 486.9 MB, free: 14.13 MB / 366.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.047e-05/0.1263, allocations: 92.91 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.49e-05/0.1264, allocations: 7.938 kB / 487 MB, free: 14.02 MB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.834e-05/0.1265, allocations: 8 kB / 487 MB, free: 14.01 MB / 366.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.884e-05/0.1265, allocations: 7.984 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.573e-05/0.1265, allocations: 4 kB / 487 MB, free: 14 MB / 366.1 MB Notification: Performance of sorting global known variables: time 0.0001566/0.1267, allocations: 172.4 kB / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1267, allocations: 0 / 487.2 MB, free: 13.83 MB / 366.1 MB Notification: Performance of remove unused functions: time 0.0002555/0.1269, allocations: 31.98 kB / 487.2 MB, free: 13.8 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.002094/0.129, allocations: 1.093 MB / 488.3 MB, free: 12.84 MB / 366.1 MB Notification: Performance of simCode: created initialization part: time 0.0001924/0.1293, allocations: 71.89 kB / 488.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created event and clocks part: time 1.974e-06/0.1293, allocations: 0 / 488.4 MB, free: 12.77 MB / 366.1 MB Notification: Performance of simCode: created simulation system equations: time 7.107e-05/0.1293, allocations: 23.98 kB / 488.4 MB, free: 12.75 MB / 366.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003254/0.1297, allocations: 29.22 kB / 488.4 MB, free: 12.72 MB / 366.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.002072/0.1318, allocations: 1.735 MB / 490.1 MB, free: 10.91 MB / 366.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003632/0.1321, allocations: 0.7156 MB / 490.9 MB, free: 10.16 MB / 366.1 MB Notification: Performance of simCode: alias equations: time 7.475e-05/0.1322, allocations: 17.17 kB / 490.9 MB, free: 10.15 MB / 366.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 7.108e-05/0.1323, allocations: 43.36 kB / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1323, allocations: 0 / 490.9 MB, free: 10.11 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.02597/0.1583, allocations: 3.539 MB / 494.5 MB, free: 6.641 MB / 366.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.224/8.382, allocations: 11.92 kB / 494.5 MB, free: 6.629 MB / 366.1 MB (rm -f ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; mkfifo ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe ; head -c 1048576 < ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe >> ../files/ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51_res.mat --tempDir=temp_ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test51_fmu --startTime=0 --stopTime=2.5 --timeout=50 --tolerance=1e-06 ModelicaTest_4_1_0-beta_om_ModelicaTest_Tables_CombiTimeTable_Test51.fmu > ModelicaTest_4.1.0-beta.om_ModelicaTest.Tables.CombiTimeTable.Test51.pipe 2>&1)