Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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: translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32") translateModel(ModelicaTest.Tables.CombiTimeTable.Test32,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.00813/0.00813, allocations: 101.7 kB / 15.73 MB, free: 5.586 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.001546/0.001547, allocations: 192.2 kB / 16.67 MB, free: 5.523 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.605/1.605, allocations: 205.1 MB / 222.5 MB, free: 12.23 MB / 190.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.204/0.204, allocations: 38.01 MB / 307.9 MB, free: 5.988 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: ModelicaTest requested package Modelica of version 3.2.1. Modelica 3.2.3 is used instead which states that it is fully compatible without conversion script needed. Notification: Performance of FrontEnd - loaded program: time 0.001841/0.001841, allocations: 71.91 kB / 433 MB, free: 14.5 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1132/0.115, allocations: 56.47 MB / 489.5 MB, free: 5.949 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test32): time 0.003042/0.1181, allocations: 1.672 MB / 491.2 MB, free: 4.266 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001326/0.1194, allocations: 0.8051 MB / 492 MB, free: 3.453 MB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.38e-05/0.1196, allocations: 3.938 kB / 492 MB, free: 3.449 MB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002784/0.1199, allocations: 39.81 kB / 492 MB, free: 3.41 MB / 366.1 MB [/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/Utilities/Strings.mo:139:3-175:14:writable] Warning: Pure function 'Modelica.Utilities.Strings.isEmpty' contains a call to impure function 'Modelica.Utilities.Strings.Advanced.skipWhiteSpace'. Notification: Performance of NFTyping.typeBindings: time 0.0002442/0.1201, allocations: 55.7 kB / 492.1 MB, free: 3.355 MB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000292/0.1204, allocations: 75.77 kB / 492.2 MB, free: 3.281 MB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0001708/0.1206, allocations: 99.69 kB / 492.3 MB, free: 3.184 MB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 9.483e-05/0.1207, allocations: 16.2 kB / 492.3 MB, free: 3.168 MB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 9.181e-05/0.1208, allocations: 35.86 kB / 492.3 MB, free: 3.133 MB / 366.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.574e-05/0.1209, allocations: 35.78 kB / 492.3 MB, free: 3.098 MB / 366.1 MB Notification: Performance of NFPackage.collectConstants: time 2.028e-05/0.1209, allocations: 4 kB / 492.4 MB, free: 3.094 MB / 366.1 MB Notification: Performance of NFFlatten.collectFunctions: time 9.854e-05/0.121, allocations: 39.98 kB / 492.4 MB, free: 3.055 MB / 366.1 MB Notification: Performance of NFScalarize.scalarize: time 6.037e-05/0.1211, allocations: 23.86 kB / 492.4 MB, free: 3.031 MB / 366.1 MB Notification: Performance of NFVerifyModel.verify: time 5.704e-05/0.1212, allocations: 35.8 kB / 492.4 MB, free: 2.996 MB / 366.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002272/0.1214, allocations: 107.7 kB / 492.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.306e-06/0.1214, allocations: 0 / 492.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of FrontEnd: time 8.31e-07/0.1214, allocations: 0 / 492.6 MB, free: 2.891 MB / 366.1 MB Notification: Performance of Transformations before backend: time 5.581e-06/0.1214, allocations: 4 kB / 492.6 MB, free: 2.887 MB / 366.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.0005988/0.122, allocations: 411 kB / 493 MB, free: 2.438 MB / 366.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.436e-05/0.1221, allocations: 15.89 kB / 493 MB, free: 2.422 MB / 366.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.544e-05/0.1222, allocations: 12.84 kB / 493 MB, free: 2.41 MB / 366.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003013/0.1225, allocations: 212 kB / 493.2 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.379e-05/0.1225, allocations: 384 / 493.2 MB, free: 2.164 MB / 366.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.772e-05/0.1225, allocations: 12.03 kB / 493.2 MB, free: 2.152 MB / 366.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001598/0.1227, allocations: 57.67 kB / 493.3 MB, free: 2.09 MB / 366.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.252e-05/0.1227, allocations: 4 kB / 493.3 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.08e-05/0.1227, allocations: 0 / 493.3 MB, free: 2.086 MB / 366.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.228e-06/0.1227, allocations: 3.938 kB / 493.3 MB, free: 2.082 MB / 366.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.214e-05/0.1228, allocations: 23.98 kB / 493.3 MB, free: 2.059 MB / 366.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000403/0.1232, allocations: 280.9 kB / 493.6 MB, free: 1.734 MB / 366.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001945/0.1234, allocations: 62.59 kB / 493.6 MB, free: 1.664 MB / 366.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.329e-05/0.1235, allocations: 24.84 kB / 493.7 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.628e-05/0.1235, allocations: 0 / 493.7 MB, free: 1.637 MB / 366.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001417/0.1237, allocations: 67.39 kB / 493.7 MB, free: 1.559 MB / 366.1 MB Notification: Performance of pre-optimization done (n=6): time 1.452e-06/0.1237, allocations: 0 / 493.7 MB, free: 1.559 MB / 366.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005408/0.1242, allocations: 181.1 kB / 493.9 MB, free: 1.375 MB / 366.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.083e-05/0.1243, allocations: 51.41 kB / 493.9 MB, free: 1.312 MB / 366.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001684/0.1245, allocations: 186.2 kB / 494.1 MB, free: 1.121 MB / 366.1 MB Notification: Performance of collectPreVariables (initialization): time 2.406e-05/0.1245, allocations: 25.7 kB / 494.2 MB, free: 1.09 MB / 366.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.039e-05/0.1246, allocations: 100.1 kB / 494.3 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.38e-05/0.1246, allocations: 27.64 kB / 494.3 MB, free: 0.9609 MB / 366.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.595e-05/0.1247, allocations: 25.66 kB / 494.3 MB, free: 0.9297 MB / 366.1 MB Notification: Performance of setup shared object (initialization): time 0.0001919/0.1249, allocations: 334.7 kB / 494.6 MB, free: 0.5938 MB / 366.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.1249, allocations: 15.98 kB / 494.6 MB, free: 0.5781 MB / 366.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.619e-05/0.125, allocations: 41.7 kB / 494.7 MB, free: 0.5312 MB / 366.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001148/0.1251, allocations: 57.78 kB / 494.7 MB, free: 480 kB / 366.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.92e-07/0.1251, allocations: 0 / 494.7 MB, free: 480 kB / 366.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001938/0.1253, allocations: 105.5 kB / 494.8 MB, free: 368 kB / 366.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.521e-05/0.1253, allocations: 4 kB / 494.8 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 3.897e-06/0.1254, allocations: 0 / 494.8 MB, free: 364 kB / 366.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.362e-05/0.1254, allocations: 4 kB / 494.9 MB, free: 360 kB / 366.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.504e-05/0.1255, allocations: 24.02 kB / 494.9 MB, free: 336 kB / 366.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.672e-06/0.1255, allocations: 3.938 kB / 494.9 MB, free: 332 kB / 366.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.843e-05/0.1255, allocations: 12.22 kB / 494.9 MB, free: 320 kB / 366.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.943e-06/0.1256, allocations: 0 / 494.9 MB, free: 320 kB / 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 9.884e-05/0.1257, allocations: 133.8 kB / 495 MB, free: 176 kB / 366.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.004e-05/0.1257, allocations: 7.906 kB / 495 MB, free: 168 kB / 366.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.036e-05/0.1257, allocations: 16.72 kB / 495 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.894e-06/0.1257, allocations: 0 / 495 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 3.617e-06/0.1257, allocations: 0 / 495 MB, free: 152 kB / 366.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.228e-06/0.1258, allocations: 7.938 kB / 495.1 MB, free: 144 kB / 366.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005221/0.1263, allocations: 391.3 kB / 495.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.234e-06/0.1263, allocations: 0 / 495.4 MB, free: 15.7 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.642e-05/0.1263, allocations: 12.17 kB / 495.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 3.036e-06/0.1263, allocations: 0 / 495.4 MB, free: 15.69 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.223e-05/0.1264, allocations: 11.88 kB / 495.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.823e-06/0.1264, allocations: 0 / 495.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.102e-06/0.1264, allocations: 0 / 495.5 MB, free: 15.68 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002361/0.1266, allocations: 208.2 kB / 495.7 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.396e-05/0.1267, allocations: 85.02 kB / 495.7 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.295e-05/0.1267, allocations: 7.922 kB / 495.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.982e-05/0.1268, allocations: 4 kB / 495.8 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.477e-05/0.1268, allocations: 8 kB / 495.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.485e-05/0.1268, allocations: 3.984 kB / 495.8 MB, free: 15.33 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001852/0.127, allocations: 148.1 kB / 495.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.8e-07/0.127, allocations: 3.938 kB / 495.9 MB, free: 15.18 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002661/0.1273, allocations: 27.98 kB / 495.9 MB, free: 15.15 MB / 382.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.001057/0.1284, allocations: 454.7 kB / 496.4 MB, free: 14.74 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001957/0.1286, allocations: 59.91 kB / 496.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.114e-06/0.1286, allocations: 0 / 496.4 MB, free: 14.68 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.397e-05/0.1287, allocations: 35.92 kB / 496.5 MB, free: 14.65 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003407/0.129, allocations: 27.83 kB / 496.5 MB, free: 14.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004968/0.1295, allocations: 215.3 kB / 496.7 MB, free: 14.38 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0003213/0.1299, allocations: 0.708 MB / 497.4 MB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.126e-05/0.1299, allocations: 20.88 kB / 497.4 MB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.071e-05/0.13, allocations: 11.44 kB / 497.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of SimCode: time 2.41e-07/0.13, allocations: 4 kB / 497.5 MB, free: 13.61 MB / 382.1 MB Notification: Performance of Templates: time 0.005198/0.1352, allocations: 1.709 MB / 499.2 MB, free: 11.91 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test32.pipe 2>&1)