Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.conf.json loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo", uses=false) loadFile("/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo) Using package Modelica with version 3.2.3 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo) Using package Complex with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo) Using package ModelicaServices with version 4.0.0 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo) Running command: "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) "" <> buildModelFMU(ModelicaTest.Tables.CombiTimeTable.Test69,fileNamePrefix="ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69",fmuType="me",version="2.0",platforms={"static"}) Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001216/0.001216, allocations: 101.7 kB / 16.27 MB, free: 5.969 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Complex 4.0.0+maint.om/package.mo): time 0.001383/0.001384, allocations: 186 kB / 17.19 MB, free: 5.605 MB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.321/1.321, allocations: 205.1 MB / 223.1 MB, free: 12.3 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.3+maint.om/package.mo): time 0.1974/0.1974, allocations: 43.52 MB / 313.9 MB, free: 0.5273 MB / 254.1 MB Notification: Modelica requested package Complex of version 3.2.3. Complex 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Modelica requested package ModelicaServices of version 3.2.3. ModelicaServices 4.0.0 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.00166/0.00166, allocations: 72.88 kB / 382.8 MB, free: 56.69 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.08582/0.08749, allocations: 57.79 MB / 440.6 MB, free: 6.797 MB / 318.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test69): time 0.002566/0.09009, allocations: 1.782 MB / 442.4 MB, free: 4.996 MB / 318.1 MB Notification: Performance of NFInst.instExpressions: time 0.001123/0.09124, allocations: 0.874 MB / 443.3 MB, free: 4.113 MB / 318.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001077/0.09136, allocations: 3.938 kB / 443.3 MB, free: 4.109 MB / 318.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003918/0.09178, allocations: 299.3 kB / 443.6 MB, free: 3.816 MB / 318.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0002865/0.09208, allocations: 207.4 kB / 443.8 MB, free: 3.613 MB / 318.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003382/0.09243, allocations: 143.2 kB / 443.9 MB, free: 3.477 MB / 318.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002269/0.09266, allocations: 239.4 kB / 444.2 MB, free: 3.242 MB / 318.1 MB Notification: Performance of NFFlatten.resolveConnections: time 4.696e-05/0.09272, allocations: 9.828 kB / 444.2 MB, free: 3.234 MB / 318.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001361/0.09286, allocations: 131.5 kB / 444.3 MB, free: 3.105 MB / 318.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001624/0.09303, allocations: 188 kB / 444.5 MB, free: 2.922 MB / 318.1 MB Notification: Performance of NFPackage.collectConstants: time 2.397e-05/0.09306, allocations: 4 kB / 444.5 MB, free: 2.918 MB / 318.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.984e-05/0.09316, allocations: 47.91 kB / 444.5 MB, free: 2.871 MB / 318.1 MB Notification: Performance of NFScalarize.scalarize: time 9.184e-05/0.09326, allocations: 128.6 kB / 444.7 MB, free: 2.746 MB / 318.1 MB Notification: Performance of NFVerifyModel.verify: time 9.292e-05/0.09336, allocations: 138.8 kB / 444.8 MB, free: 2.609 MB / 318.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002536/0.09362, allocations: 358.7 kB / 445.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.397e-06/0.09363, allocations: 0 / 445.1 MB, free: 2.258 MB / 318.1 MB Notification: Performance of FrontEnd: time 1.102e-06/0.09364, allocations: 4 kB / 445.1 MB, free: 2.254 MB / 318.1 MB Notification: Performance of Transformations before backend: time 6.542e-06/0.09365, allocations: 4 kB / 445.2 MB, free: 2.25 MB / 318.1 MB Notification: Model statistics after passing the front-end and creating the data structures used by the back-end: * Number of equations: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.000668/0.09433, allocations: 0.7151 MB / 445.9 MB, free: 1.484 MB / 318.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.141e-05/0.09436, allocations: 15.89 kB / 445.9 MB, free: 1.469 MB / 318.1 MB Notification: Performance of preOpt introduceOutputAliases (simulation): time 2.655e-05/0.0944, allocations: 30.75 kB / 445.9 MB, free: 1.43 MB / 318.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 6.195e-05/0.09446, allocations: 44.38 kB / 446 MB, free: 1.387 MB / 318.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003899/0.09486, allocations: 451.7 kB / 446.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 9.788e-06/0.09488, allocations: 384 / 446.4 MB, free: 0.9062 MB / 318.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 1.667e-05/0.0949, allocations: 15.94 kB / 446.4 MB, free: 0.8906 MB / 318.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001619/0.09507, allocations: 87.23 kB / 446.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 8.305e-06/0.09509, allocations: 0 / 446.5 MB, free: 0.793 MB / 318.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.174e-05/0.0951, allocations: 7.984 kB / 446.5 MB, free: 0.7852 MB / 318.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 3.767e-06/0.09511, allocations: 4 kB / 446.5 MB, free: 0.7812 MB / 318.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.203e-05/0.09521, allocations: 23.98 kB / 446.5 MB, free: 0.7578 MB / 318.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0002509/0.09547, allocations: 370.4 kB / 446.9 MB, free: 352 kB / 318.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002141/0.09569, allocations: 113.1 kB / 447 MB, free: 220 kB / 318.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 7.736e-05/0.09578, allocations: 37.7 kB / 447 MB, free: 176 kB / 318.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.471e-05/0.0958, allocations: 4 kB / 447 MB, free: 172 kB / 318.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002128/0.09602, allocations: 113 kB / 447.2 MB, free: 40 kB / 318.1 MB Notification: Performance of pre-optimization done (n=10): time 1.343e-06/0.09603, allocations: 0 / 447.2 MB, free: 40 kB / 318.1 MB Notification: Performance of matching and sorting (n=10): time 0.0004824/0.09651, allocations: 196.9 kB / 447.3 MB, free: 15.84 MB / 334.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.378e-05/0.09657, allocations: 77.11 kB / 447.4 MB, free: 15.75 MB / 334.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0009757/0.09755, allocations: 1.011 MB / 448.4 MB, free: 14.73 MB / 334.1 MB Notification: Performance of collectPreVariables (initialization): time 1.668e-05/0.09758, allocations: 25.7 kB / 448.5 MB, free: 14.7 MB / 334.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001568/0.09774, allocations: 232.1 kB / 448.7 MB, free: 14.46 MB / 334.1 MB Notification: Performance of collectInitialBindings (initialization): time 4.153e-05/0.09779, allocations: 27.64 kB / 448.7 MB, free: 14.44 MB / 334.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.816e-05/0.09784, allocations: 25.72 kB / 448.7 MB, free: 14.41 MB / 334.1 MB Notification: Performance of setup shared object (initialization): time 0.0001337/0.09798, allocations: 370.8 kB / 449.1 MB, free: 14.04 MB / 334.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.38e-05/0.09807, allocations: 23.98 kB / 449.1 MB, free: 14.01 MB / 334.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.396e-05/0.09818, allocations: 63.34 kB / 449.2 MB, free: 13.94 MB / 334.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001746/0.09836, allocations: 83.42 kB / 449.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 3.937e-06/0.09837, allocations: 3.938 kB / 449.3 MB, free: 13.84 MB / 334.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002868/0.09866, allocations: 173.6 kB / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.535e-05/0.09869, allocations: 8 kB / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.52e-06/0.0987, allocations: 0 / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.284e-05/0.09872, allocations: 0 / 449.4 MB, free: 13.66 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001209/0.09884, allocations: 27.98 kB / 449.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.071e-06/0.09886, allocations: 0 / 449.5 MB, free: 13.63 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.152e-05/0.09895, allocations: 8 kB / 449.5 MB, free: 13.62 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.225e-05/0.09897, allocations: 4 kB / 449.5 MB, free: 13.62 MB / 334.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: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0001925/0.09917, allocations: 237.6 kB / 449.7 MB, free: 13.38 MB / 334.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 5.925e-05/0.09924, allocations: 51.34 kB / 449.8 MB, free: 13.32 MB / 334.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 7.392e-05/0.09932, allocations: 59.78 kB / 449.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.486e-06/0.09933, allocations: 4 kB / 449.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.669e-06/0.09934, allocations: 0 / 449.8 MB, free: 13.26 MB / 334.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 3.126e-06/0.09935, allocations: 3.938 kB / 449.8 MB, free: 13.25 MB / 334.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0002656/0.09962, allocations: 345.3 kB / 450.2 MB, free: 12.87 MB / 334.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.233e-06/0.09963, allocations: 4 kB / 450.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.332e-05/0.09967, allocations: 4 kB / 450.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.326e-06/0.09968, allocations: 4 kB / 450.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 9.428e-06/0.09969, allocations: 0 / 450.2 MB, free: 12.86 MB / 334.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.443e-06/0.0997, allocations: 4 kB / 450.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 3.036e-06/0.0997, allocations: 3.938 kB / 450.2 MB, free: 12.85 MB / 334.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003035/0.1, allocations: 201.2 kB / 450.4 MB, free: 12.63 MB / 334.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.0001259/0.1002, allocations: 136.5 kB / 450.5 MB, free: 12.48 MB / 334.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4.751e-05/0.1002, allocations: 4 kB / 450.5 MB, free: 12.47 MB / 334.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.025e-05/0.1003, allocations: 7.938 kB / 450.5 MB, free: 12.46 MB / 334.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.836e-05/0.1003, allocations: 15.98 kB / 450.5 MB, free: 12.45 MB / 334.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.702e-05/0.1004, allocations: 4 kB / 450.6 MB, free: 12.45 MB / 334.1 MB Notification: Performance of sorting global known variables: time 0.0006887/0.1011, allocations: 0.7448 MB / 451.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of sort global known variables: time 1.6e-07/0.1011, allocations: 0 / 451.3 MB, free: 11.7 MB / 334.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1013, allocations: 43.98 kB / 451.3 MB, free: 11.66 MB / 334.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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * 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.001414/0.1028, allocations: 1.052 MB / 452.4 MB, free: 10.66 MB / 334.1 MB Notification: Performance of simCode: created initialization part: time 0.0002487/0.103, allocations: 87.89 kB / 452.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created event and clocks part: time 1.774e-06/0.103, allocations: 0 / 452.5 MB, free: 10.58 MB / 334.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001012/0.1031, allocations: 39.91 kB / 452.5 MB, free: 10.54 MB / 334.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003982/0.1035, allocations: 71.89 kB / 452.6 MB, free: 10.47 MB / 334.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.005031/0.1086, allocations: 4.529 MB / 457.1 MB, free: 5.836 MB / 334.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003804/0.109, allocations: 0.8427 MB / 458 MB, free: 4.969 MB / 334.1 MB Notification: Performance of simCode: alias equations: time 0.0001275/0.1091, allocations: 54.94 kB / 458 MB, free: 4.914 MB / 334.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 0.0001757/0.1093, allocations: 147.4 kB / 458.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of SimCode: time 6.81e-07/0.1093, allocations: 0 / 458.2 MB, free: 4.77 MB / 334.1 MB Notification: Performance of buildModelFMU: Generate the FMI files: time 0.03035/0.1397, allocations: 8.602 MB / 466.8 MB, free: 12.13 MB / 350.1 MB Notification: Performance of buildModelFMU: Generate platform static: time 8.034/8.174, allocations: 0 / 466.8 MB, free: 12.13 MB / 350.1 MB (rm -f ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; mkfifo ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe ; head -c 1048576 < ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe >> ../files/ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.sim & /home/hudson/saved_omc/OMSimulator/install/bin/OMSimulator -r=ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69_res.mat --tempDir=temp_ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69_fmu --startTime=0 --stopTime=8000 --timeout=50 --tolerance=1e-06 ModelicaTest_3_2_3_ModelicaTest_Tables_CombiTimeTable_Test69.fmu > ModelicaTest_3.2.3_ModelicaTest.Tables.CombiTimeTable.Test69.pipe 2>&1)