Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.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.2+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.2 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+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.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29") translateModel(ModelicaTest.Tables.CombiTimeTable.Test29,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01108/0.01108, allocations: 101.2 kB / 15.73 MB, free: 5.523 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.001988/0.001989, allocations: 194.6 kB / 16.67 MB, free: 5.461 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.689/1.689, 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.2+maint.om/package.mo): time 0.2087/0.2087, allocations: 39.97 MB / 309.9 MB, free: 4.023 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.2. 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.001514/0.001514, allocations: 77.45 kB / 435.8 MB, free: 11.78 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1173/0.1188, allocations: 56.88 MB / 492.7 MB, free: 2.828 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.003177/0.122, allocations: 1.691 MB / 494.4 MB, free: 1.121 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001371/0.1234, allocations: 0.8013 MB / 495.2 MB, free: 320 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.716e-05/0.1235, allocations: 0 / 495.2 MB, free: 320 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003276/0.1239, allocations: 47.75 kB / 495.3 MB, free: 272 kB / 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.0002799/0.1242, allocations: 47.77 kB / 495.3 MB, free: 224 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002936/0.1245, allocations: 83.75 kB / 495.4 MB, free: 140 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002429/0.1247, allocations: 99.64 kB / 495.5 MB, free: 40 kB / 366.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001414/0.1249, allocations: 12.2 kB / 495.5 MB, free: 28 kB / 366.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001702/0.1251, allocations: 43.91 kB / 495.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.1252, allocations: 31.8 kB / 495.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.511e-05/0.1252, allocations: 0 / 495.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001348/0.1254, allocations: 43.86 kB / 495.6 MB, free: 15.91 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.477e-05/0.1254, allocations: 23.91 kB / 495.6 MB, free: 15.89 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.845e-05/0.1255, allocations: 35.75 kB / 495.7 MB, free: 15.85 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002616/0.1258, allocations: 111.7 kB / 495.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.629e-06/0.1258, allocations: 0 / 495.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.272e-06/0.1258, allocations: 0 / 495.8 MB, free: 15.74 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.105e-06/0.1258, allocations: 0 / 495.8 MB, free: 15.74 MB / 382.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.0005617/0.1264, allocations: 410.9 kB / 496.2 MB, free: 15.29 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.162e-05/0.1264, allocations: 15.89 kB / 496.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.346e-05/0.1265, allocations: 12.84 kB / 496.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002944/0.1268, allocations: 208 kB / 496.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.342e-05/0.1268, allocations: 4.375 kB / 496.4 MB, free: 15.02 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.378e-05/0.1268, allocations: 8.125 kB / 496.4 MB, free: 15.01 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001575/0.127, allocations: 53.67 kB / 496.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.056e-05/0.127, allocations: 0 / 496.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 9.738e-06/0.127, allocations: 0 / 496.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.482e-06/0.127, allocations: 3.984 kB / 496.5 MB, free: 14.95 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.103e-05/0.1271, allocations: 27.92 kB / 496.5 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003793/0.1275, allocations: 292.8 kB / 496.8 MB, free: 14.59 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001718/0.1277, allocations: 58.67 kB / 496.9 MB, free: 14.52 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.598e-05/0.1278, allocations: 20.84 kB / 496.9 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.15e-05/0.1278, allocations: 3.938 kB / 496.9 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001474/0.128, allocations: 71.33 kB / 496.9 MB, free: 14.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.423e-06/0.128, allocations: 4 kB / 497 MB, free: 14.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0005475/0.1285, allocations: 177.5 kB / 497.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.115e-05/0.1286, allocations: 51.41 kB / 497.2 MB, free: 14.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001583/0.1287, allocations: 182.2 kB / 497.4 MB, free: 13.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 2.085e-05/0.1288, allocations: 25.7 kB / 497.4 MB, free: 13.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.865e-05/0.1288, allocations: 100.1 kB / 497.5 MB, free: 13.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.871e-05/0.1289, allocations: 27.64 kB / 497.5 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.235e-05/0.1289, allocations: 21.72 kB / 497.5 MB, free: 13.79 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001265/0.1291, allocations: 334.8 kB / 497.9 MB, free: 13.45 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.795e-05/0.1291, allocations: 16.05 kB / 497.9 MB, free: 13.44 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.721e-05/0.1292, allocations: 45.64 kB / 497.9 MB, free: 13.39 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001152/0.1293, allocations: 61.64 kB / 498 MB, free: 13.32 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.172e-06/0.1293, allocations: 0 / 498 MB, free: 13.32 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0002038/0.1295, allocations: 101.6 kB / 498.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.857e-05/0.1296, allocations: 4 kB / 498.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.579e-06/0.1296, allocations: 3.938 kB / 498.1 MB, free: 13.21 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.562e-05/0.1296, allocations: 4 kB / 498.1 MB, free: 13.2 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.000104/0.1297, allocations: 19.98 kB / 498.1 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.771e-06/0.1297, allocations: 0 / 498.1 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.81e-05/0.1298, allocations: 7.938 kB / 498.1 MB, free: 13.18 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 6.472e-06/0.1298, allocations: 0 / 498.1 MB, free: 13.18 MB / 382.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.606e-05/0.1299, allocations: 133.8 kB / 498.2 MB, free: 13.04 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.513e-05/0.1299, allocations: 15.81 kB / 498.3 MB, free: 13.02 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.343e-05/0.13, allocations: 12.72 kB / 498.3 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.713e-06/0.13, allocations: 0 / 498.3 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.4e-06/0.13, allocations: 0 / 498.3 MB, free: 13.01 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.863e-06/0.13, allocations: 3.938 kB / 498.3 MB, free: 13 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004121/0.1304, allocations: 387.3 kB / 498.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.033e-06/0.1304, allocations: 0 / 498.6 MB, free: 12.57 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.875e-05/0.1305, allocations: 19.92 kB / 498.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.685e-06/0.1305, allocations: 0 / 498.7 MB, free: 12.55 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.646e-05/0.1305, allocations: 11.97 kB / 498.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.806e-06/0.1305, allocations: 0 / 498.7 MB, free: 12.54 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.242e-06/0.1305, allocations: 3.938 kB / 498.7 MB, free: 12.53 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.000216/0.1307, allocations: 196.3 kB / 498.9 MB, free: 12.32 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.856e-05/0.1308, allocations: 88.92 kB / 499 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.512e-05/0.1308, allocations: 7.922 kB / 499 MB, free: 12.21 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.738e-05/0.1309, allocations: 8 kB / 499 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.404e-05/0.1309, allocations: 4 kB / 499 MB, free: 12.2 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.671e-05/0.131, allocations: 7.984 kB / 499 MB, free: 12.19 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001073/0.1311, allocations: 144.1 kB / 499.1 MB, free: 12.05 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.11e-07/0.1311, allocations: 3.938 kB / 499.1 MB, free: 12.04 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002587/0.1313, allocations: 27.98 kB / 499.2 MB, free: 12.02 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.001009/0.1324, allocations: 471.1 kB / 499.6 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.000181/0.1326, allocations: 55.92 kB / 499.7 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.787e-06/0.1326, allocations: 0 / 499.7 MB, free: 11.54 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.21e-05/0.1326, allocations: 31.92 kB / 499.7 MB, free: 11.51 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000334/0.133, allocations: 39.89 kB / 499.7 MB, free: 11.47 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004494/0.1334, allocations: 223.1 kB / 500 MB, free: 11.22 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002594/0.1337, allocations: 0.7002 MB / 0.4889 GB, free: 10.49 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.625e-05/0.1338, allocations: 20.86 kB / 0.489 GB, free: 10.47 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.627e-05/0.1338, allocations: 23.44 kB / 0.489 GB, free: 10.45 MB / 382.1 MB Notification: Performance of SimCode: time 1.8e-07/0.1338, allocations: 0 / 0.489 GB, free: 10.45 MB / 382.1 MB Notification: Performance of Templates: time 0.004584/0.1384, allocations: 1.728 MB / 0.4907 GB, free: 8.727 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test29.pipe 2>&1)