Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries/ --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.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.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30") translateModel(ModelicaTest.Tables.CombiTimeTable.Test30,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.001024/0.001024, allocations: 100.5 kB / 15.05 MB, free: 1.105 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.00092/0.0009202, allocations: 177.3 kB / 15.94 MB, free: 228 kB / 14.72 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/Modelica 3.2.3+maint.om/package.mo): time 1.306/1.306, allocations: 205.4 MB / 222.1 MB, free: 5.641 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.2+maint.om/package.mo): time 0.2915/0.2915, allocations: 39.99 MB / 310.4 MB, free: 9.629 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.0005351/0.0005352, allocations: 24 kB / 378.8 MB, free: 12.35 MB / 318.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.09988/0.1004, allocations: 57.96 MB / 436.8 MB, free: 2.289 MB / 366.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test30): time 0.001803/0.1023, allocations: 1.378 MB / 438.2 MB, free: 0.9023 MB / 366.1 MB Notification: Performance of NFInst.instExpressions: time 0.001075/0.1034, allocations: 0.7305 MB / 438.9 MB, free: 168 kB / 366.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 7.598e-05/0.1035, allocations: 4 kB / 438.9 MB, free: 164 kB / 366.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002208/0.1037, allocations: 31.83 kB / 438.9 MB, free: 132 kB / 366.1 MB Notification: Performance of NFTyping.typeBindings: time 0.0001795/0.1039, allocations: 43.88 kB / 439 MB, free: 88 kB / 366.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000238/0.1041, allocations: 75.78 kB / 439 MB, free: 12 kB / 366.1 MB Notification: Performance of NFFlatten.flatten: time 0.000149/0.1043, allocations: 59.86 kB / 439.1 MB, free: 15.95 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 8.076e-05/0.1044, allocations: 16.2 kB / 439.1 MB, free: 15.94 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.069e-05/0.1045, allocations: 39.84 kB / 439.1 MB, free: 15.9 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 7.014e-05/0.1046, allocations: 27.86 kB / 439.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.17e-05/0.1046, allocations: 0 / 439.2 MB, free: 15.87 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 8.566e-05/0.1047, allocations: 35.86 kB / 439.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 3.392e-05/0.1047, allocations: 15.97 kB / 439.2 MB, free: 15.82 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 3.868e-05/0.1048, allocations: 37.64 kB / 439.3 MB, free: 15.78 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0001301/0.1049, allocations: 84.05 kB / 439.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 2.214e-06/0.1049, allocations: 0 / 439.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.182e-06/0.1049, allocations: 0 / 439.3 MB, free: 15.7 MB / 382.1 MB Notification: Performance of Transformations before backend: time 3.456e-06/0.1049, allocations: 0 / 439.3 MB, free: 15.7 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.0004729/0.1054, allocations: 406.8 kB / 439.7 MB, free: 15.25 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.111e-05/0.1054, allocations: 15.97 kB / 439.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 3.669e-05/0.1055, allocations: 7.906 kB / 439.8 MB, free: 15.23 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002158/0.1057, allocations: 202.9 kB / 440 MB, free: 14.99 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.561e-05/0.1057, allocations: 4 kB / 440 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.121e-05/0.1057, allocations: 4 kB / 440 MB, free: 14.98 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001436/0.1059, allocations: 53.67 kB / 440 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.069e-05/0.1059, allocations: 0 / 440 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.074e-05/0.1059, allocations: 0 / 440 MB, free: 14.92 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.032e-06/0.1059, allocations: 7.953 kB / 440 MB, free: 14.91 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.069e-05/0.106, allocations: 19.98 kB / 440 MB, free: 14.89 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003327/0.1064, allocations: 280.9 kB / 440.3 MB, free: 14.57 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001438/0.1065, allocations: 58.67 kB / 440.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.864e-05/0.1065, allocations: 0 / 440.4 MB, free: 14.5 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001733/0.1067, allocations: 79.31 kB / 440.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.535e-06/0.1067, allocations: 3.984 kB / 440.5 MB, free: 14.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0004958/0.1072, allocations: 169.3 kB / 440.6 MB, free: 14.24 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.145e-05/0.1073, allocations: 51.41 kB / 440.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001708/0.1075, allocations: 190.1 kB / 440.9 MB, free: 13.98 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.459e-05/0.1075, allocations: 25.7 kB / 440.9 MB, free: 13.95 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.135e-05/0.1076, allocations: 108.1 kB / 441 MB, free: 13.84 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.571e-05/0.1076, allocations: 19.72 kB / 441 MB, free: 13.82 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.731e-06/0.1076, allocations: 4 kB / 441 MB, free: 13.82 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.0001139/0.1077, allocations: 322.8 kB / 441.3 MB, free: 13.49 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.04e-05/0.1078, allocations: 23.98 kB / 441.4 MB, free: 13.47 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.289e-05/0.1079, allocations: 33.7 kB / 441.4 MB, free: 13.43 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 5.643e-05/0.1079, allocations: 20 kB / 441.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.132e-06/0.1079, allocations: 4 kB / 441.4 MB, free: 13.41 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000176/0.1081, allocations: 97.89 kB / 441.5 MB, free: 13.3 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.441e-05/0.1081, allocations: 11.95 kB / 441.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.128e-06/0.1081, allocations: 0 / 441.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.36e-05/0.1082, allocations: 0 / 441.5 MB, free: 13.29 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 8.303e-05/0.1083, allocations: 24.12 kB / 441.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.687e-06/0.1083, allocations: 4 kB / 441.5 MB, free: 13.27 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.634e-05/0.1083, allocations: 7.922 kB / 441.6 MB, free: 13.26 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.057e-06/0.1083, allocations: 4 kB / 441.6 MB, free: 13.25 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 ($whenCondition1,$PRE.t_new.nextTimeEvent,t_new.nextTimeEvent,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEventScaled) * 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of prepare postOptimizeDAE: time 8.759e-05/0.1084, allocations: 129.8 kB / 441.7 MB, free: 13.12 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 1.943e-05/0.1085, allocations: 11.91 kB / 441.7 MB, free: 13.11 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.186e-05/0.1085, allocations: 20.66 kB / 441.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.1085, allocations: 0 / 441.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 4.168e-06/0.1085, allocations: 0 / 441.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 2.875e-06/0.1085, allocations: 0 / 441.7 MB, free: 13.09 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004173/0.109, allocations: 399.3 kB / 442.1 MB, free: 12.64 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.814e-06/0.109, allocations: 4.031 kB / 442.1 MB, free: 12.63 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.579e-05/0.109, allocations: 15.98 kB / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.956e-06/0.109, allocations: 0 / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 7.955e-06/0.109, allocations: 0 / 442.1 MB, free: 12.62 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 1.634e-06/0.109, allocations: 4 kB / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.233e-06/0.109, allocations: 0 / 442.1 MB, free: 12.61 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002186/0.1093, allocations: 221.9 kB / 442.3 MB, free: 12.37 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 5.483e-05/0.1093, allocations: 92.91 kB / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.151e-05/0.1094, allocations: 0 / 442.4 MB, free: 12.26 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.559e-05/0.1094, allocations: 8 kB / 442.4 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.375e-05/0.1095, allocations: 7.984 kB / 442.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.302e-05/0.1095, allocations: 0 / 442.5 MB, free: 12.25 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001237/0.1096, allocations: 144.1 kB / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.7e-07/0.1096, allocations: 0 / 442.6 MB, free: 12.11 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002531/0.1099, allocations: 27.98 kB / 442.6 MB, free: 12.08 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 (linear and non-linear blocks): 0 * Torn equation systems: 0 * Mixed (continuous/discrete) equation systems: 0 Notification: Performance of Backend phase and start with SimCode phase: time 0.000929/0.1108, allocations: 460.3 kB / 443.1 MB, free: 11.65 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001616/0.111, allocations: 63.89 kB / 443.1 MB, free: 11.59 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.124e-06/0.111, allocations: 8 kB / 443.1 MB, free: 11.58 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 6.387e-05/0.1111, allocations: 27.94 kB / 443.2 MB, free: 11.55 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000242/0.1113, allocations: 27.92 kB / 443.2 MB, free: 11.53 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0003779/0.1117, allocations: 230.5 kB / 443.4 MB, free: 11.27 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002472/0.112, allocations: 0.7082 MB / 444.1 MB, free: 10.54 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.419e-05/0.112, allocations: 17.19 kB / 444.1 MB, free: 10.52 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.569e-05/0.1121, allocations: 23.42 kB / 444.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.1121, allocations: 0 / 444.2 MB, free: 10.5 MB / 382.1 MB Notification: Performance of Templates: time 0.003812/0.1159, allocations: 1.58 MB / 445.7 MB, free: 8.918 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.makefile Environment - environmentSimulation: (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test30.pipe 2>&1) Environment - environmentSimulation: