Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.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.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57") translateModel(ModelicaTest.Tables.CombiTimeTable.Test57,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01063/0.01063, allocations: 102.5 kB / 15.73 MB, free: 5.492 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.001481/0.001482, allocations: 190.2 kB / 16.67 MB, free: 5.422 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.643/1.643, allocations: 205.1 MB / 222.5 MB, free: 12.21 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.2084/0.2084, allocations: 39.96 MB / 309.9 MB, free: 4.004 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.00135/0.00135, allocations: 73.72 kB / 435.8 MB, free: 11.65 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.1099/0.1112, allocations: 56.88 MB / 492.7 MB, free: 2.691 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test57): time 0.003071/0.1144, allocations: 1.691 MB / 494.4 MB, free: 0.9883 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.002105/0.1165, allocations: 1.412 MB / 495.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.936e-05/0.1166, allocations: 0 / 495.8 MB, free: 15.57 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003476/0.1169, allocations: 35.77 kB / 495.9 MB, free: 15.53 MB / 382.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.0002674/0.1172, allocations: 63.64 kB / 495.9 MB, free: 15.47 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002444/0.1175, allocations: 87.75 kB / 496 MB, free: 15.38 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000161/0.1176, allocations: 95.7 kB / 496.1 MB, free: 15.29 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.000122/0.1178, allocations: 24.19 kB / 496.1 MB, free: 15.27 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 7.905e-05/0.1179, allocations: 35.8 kB / 496.2 MB, free: 15.23 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001484/0.118, allocations: 39.83 kB / 496.2 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.101e-05/0.1181, allocations: 4 kB / 496.2 MB, free: 15.19 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001203/0.1182, allocations: 55.98 kB / 496.3 MB, free: 15.13 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.588e-05/0.1182, allocations: 27.84 kB / 496.3 MB, free: 15.11 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.585e-05/0.1183, allocations: 31.8 kB / 496.3 MB, free: 15.07 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002543/0.1186, allocations: 119.7 kB / 496.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 4.98e-06/0.1186, allocations: 0 / 496.4 MB, free: 14.96 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.385e-06/0.1186, allocations: 4 kB / 496.4 MB, free: 14.95 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.309e-05/0.1186, allocations: 0 / 496.4 MB, free: 14.95 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.0006881/0.1193, allocations: 403 kB / 496.8 MB, free: 14.51 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.787e-05/0.1194, allocations: 11.89 kB / 496.8 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.545e-05/0.1194, allocations: 12.84 kB / 496.8 MB, free: 14.49 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003301/0.1197, allocations: 211.7 kB / 497.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.601e-05/0.1198, allocations: 384 / 497.1 MB, free: 14.25 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.364e-05/0.1198, allocations: 12.12 kB / 497.1 MB, free: 14.23 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.000195/0.12, allocations: 67.39 kB / 497.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.452e-05/0.12, allocations: 0 / 497.1 MB, free: 14.16 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.676e-05/0.1201, allocations: 4 kB / 497.1 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.043e-06/0.1201, allocations: 0 / 497.1 MB, free: 14.15 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.063e-05/0.1202, allocations: 15.98 kB / 497.2 MB, free: 14.14 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004321/0.1206, allocations: 292.8 kB / 497.4 MB, free: 13.8 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001851/0.1208, allocations: 62.67 kB / 497.5 MB, free: 13.73 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.163e-05/0.1209, allocations: 20.8 kB / 497.5 MB, free: 13.71 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.282e-05/0.1209, allocations: 7.984 kB / 497.5 MB, free: 13.7 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001709/0.1211, allocations: 67.33 kB / 497.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.352e-06/0.1211, allocations: 0 / 497.6 MB, free: 13.62 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006192/0.1217, allocations: 169.4 kB / 497.8 MB, free: 13.45 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 8.722e-05/0.1218, allocations: 85.03 kB / 497.8 MB, free: 13.35 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001642/0.122, allocations: 149.7 kB / 498 MB, free: 13.19 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 3.157e-05/0.122, allocations: 29.7 kB / 498 MB, free: 13.16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.559e-05/0.1221, allocations: 96.12 kB / 498.1 MB, free: 13.06 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.545e-05/0.1221, allocations: 23.66 kB / 498.1 MB, free: 13.04 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.417e-05/0.1222, allocations: 25.7 kB / 498.2 MB, free: 13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000144/0.1223, allocations: 330.8 kB / 498.5 MB, free: 12.67 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 5.871e-05/0.1224, allocations: 16 kB / 498.5 MB, free: 12.66 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.123e-05/0.1225, allocations: 46.5 kB / 498.5 MB, free: 12.6 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001225/0.1226, allocations: 65.62 kB / 498.6 MB, free: 12.53 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.092e-06/0.1226, allocations: 0 / 498.6 MB, free: 12.53 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001924/0.1228, allocations: 97.5 kB / 498.7 MB, free: 12.43 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.871e-05/0.1228, allocations: 12.05 kB / 498.7 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.322e-06/0.1229, allocations: 0 / 498.7 MB, free: 12.42 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.843e-05/0.1229, allocations: 4 kB / 498.7 MB, free: 12.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001027/0.123, allocations: 15.94 kB / 498.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.233e-06/0.123, allocations: 0 / 498.7 MB, free: 12.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.213e-05/0.1231, allocations: 11.94 kB / 498.7 MB, free: 12.39 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.101e-05/0.1231, allocations: 3.984 kB / 498.8 MB, free: 12.38 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 0.0001121/0.1232, allocations: 125.7 kB / 498.9 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.416e-05/0.1232, allocations: 7.906 kB / 498.9 MB, free: 12.24 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.182e-05/0.1233, allocations: 16.72 kB / 498.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 1.323e-06/0.1233, allocations: 0 / 498.9 MB, free: 12.23 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.584e-06/0.1233, allocations: 3.984 kB / 498.9 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.14e-06/0.1233, allocations: 3.938 kB / 498.9 MB, free: 12.22 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004791/0.1238, allocations: 387.3 kB / 499.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.492e-06/0.1238, allocations: 0 / 499.3 MB, free: 11.78 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.229e-05/0.1239, allocations: 8 kB / 499.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.519e-06/0.1239, allocations: 4 kB / 499.3 MB, free: 11.77 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 2.423e-05/0.1239, allocations: 11.95 kB / 499.3 MB, free: 11.76 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.115e-06/0.1239, allocations: 7.875 kB / 499.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.473e-06/0.1239, allocations: 0 / 499.3 MB, free: 11.75 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002466/0.1242, allocations: 196.3 kB / 499.5 MB, free: 11.54 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 6.223e-05/0.1242, allocations: 85.02 kB / 499.6 MB, free: 11.44 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.579e-05/0.1243, allocations: 3.938 kB / 499.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.134e-05/0.1243, allocations: 8.375 kB / 499.6 MB, free: 11.43 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.843e-05/0.1244, allocations: 15.97 kB / 499.6 MB, free: 11.41 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.774e-05/0.1244, allocations: 8 kB / 499.6 MB, free: 11.4 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001062/0.1245, allocations: 118.7 kB / 499.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.1245, allocations: 0 / 499.7 MB, free: 11.29 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002793/0.1248, allocations: 31.98 kB / 499.8 MB, free: 11.26 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.001215/0.126, allocations: 0.4939 MB / 0.4885 GB, free: 10.8 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002153/0.1263, allocations: 59.97 kB / 0.4886 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.224e-06/0.1263, allocations: 0 / 0.4886 GB, free: 10.75 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.41e-05/0.1264, allocations: 32 kB / 0.4886 GB, free: 10.71 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000337/0.1267, allocations: 39.77 kB / 0.4887 GB, free: 10.68 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003964/0.1271, allocations: 186.8 kB / 0.4888 GB, free: 10.46 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002622/0.1274, allocations: 0.6924 MB / 0.4895 GB, free: 9.746 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.294e-05/0.1275, allocations: 25.23 kB / 0.4895 GB, free: 9.719 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.066e-05/0.1275, allocations: 23.38 kB / 0.4896 GB, free: 9.695 MB / 382.1 MB Notification: Performance of SimCode: time 2.4e-07/0.1275, allocations: 3.938 kB / 0.4896 GB, free: 9.691 MB / 382.1 MB Notification: Performance of Templates: time 0.005042/0.1326, allocations: 1.956 MB / 0.4915 GB, free: 7.738 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test57.pipe 2>&1)