Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.01117/0.01117, allocations: 99.31 kB / 15.73 MB, free: 6.047 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.001741/0.001741, allocations: 186.3 kB / 16.67 MB, free: 5.977 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.655/1.655, allocations: 205.1 MB / 222.5 MB, free: 4.484 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.3677/0.3677, allocations: 39.95 MB / 309.8 MB, free: 9.418 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.001491/0.001491, allocations: 71.89 kB / 435.8 MB, free: 2.406 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3896/0.3911, allocations: 56.87 MB / 492.7 MB, free: 19.53 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003478/0.3946, allocations: 1.691 MB / 494.4 MB, free: 18.35 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001526/0.3962, allocations: 0.8031 MB / 495.2 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.247e-05/0.3963, allocations: 1.312 kB / 495.2 MB, free: 17.8 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003641/0.3967, allocations: 41.33 kB / 495.3 MB, free: 17.77 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.0002602/0.3969, allocations: 56.81 kB / 495.3 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002703/0.3972, allocations: 80.83 kB / 495.4 MB, free: 17.7 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002043/0.3974, allocations: 95.12 kB / 495.5 MB, free: 17.65 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001258/0.3976, allocations: 16.25 kB / 495.5 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001145/0.3977, allocations: 42.03 kB / 495.5 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001008/0.3978, allocations: 30.27 kB / 495.6 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.124e-05/0.3978, allocations: 6.812 kB / 495.6 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001267/0.398, allocations: 42.59 kB / 495.6 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.421e-05/0.398, allocations: 21.5 kB / 495.6 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.494e-05/0.3981, allocations: 28.44 kB / 495.7 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002772/0.3984, allocations: 114.6 kB / 495.8 MB, free: 17.52 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.871e-06/0.3984, allocations: 0 / 495.8 MB, free: 17.52 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.424e-06/0.3984, allocations: 0 / 495.8 MB, free: 17.52 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.567e-06/0.3984, allocations: 1.5 kB / 495.8 MB, free: 17.52 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.0006201/0.3991, allocations: 402.3 kB / 496.2 MB, free: 17.12 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.552e-05/0.3991, allocations: 21.36 kB / 496.2 MB, free: 17.11 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.187e-05/0.3992, allocations: 14.38 kB / 496.2 MB, free: 17.1 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.00031/0.3995, allocations: 209.9 kB / 496.4 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.976e-05/0.3995, allocations: 5.469 kB / 496.4 MB, free: 16.88 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.005e-05/0.3996, allocations: 10.88 kB / 496.4 MB, free: 16.87 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001858/0.3997, allocations: 54.34 kB / 496.5 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.212e-05/0.3998, allocations: 0 / 496.5 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.145e-05/0.3998, allocations: 0.6562 kB / 496.5 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.579e-06/0.3998, allocations: 0.9375 kB / 496.5 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.785e-05/0.3999, allocations: 18.45 kB / 496.5 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003603/0.4003, allocations: 289.2 kB / 496.8 MB, free: 16.53 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001673/0.4004, allocations: 56.98 kB / 496.8 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.126e-05/0.4005, allocations: 19.62 kB / 496.9 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.165e-05/0.4005, allocations: 5.234 kB / 496.9 MB, free: 16.48 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001505/0.4007, allocations: 73.7 kB / 496.9 MB, free: 16.42 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.362e-06/0.4007, allocations: 0 / 496.9 MB, free: 16.42 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000631/0.4013, allocations: 177.3 kB / 497.1 MB, free: 16.33 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.148e-05/0.4014, allocations: 51.41 kB / 497.2 MB, free: 16.27 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002142/0.4016, allocations: 169.5 kB / 497.3 MB, free: 16.15 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.693e-05/0.4016, allocations: 31.81 kB / 497.4 MB, free: 16.11 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.638e-05/0.4017, allocations: 103 kB / 497.5 MB, free: 16.02 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.719e-05/0.4017, allocations: 25.41 kB / 497.5 MB, free: 16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.961e-05/0.4018, allocations: 22.72 kB / 497.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.922e-05/0.4019, allocations: 329.5 kB / 497.8 MB, free: 15.65 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.555e-05/0.402, allocations: 21.33 kB / 497.8 MB, free: 15.64 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 7.581e-05/0.402, allocations: 35.48 kB / 497.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001251/0.4022, allocations: 62.38 kB / 497.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.313e-06/0.4022, allocations: 0 / 497.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000215/0.4024, allocations: 100.2 kB / 498 MB, free: 15.52 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.568e-05/0.4024, allocations: 5.344 kB / 498 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 9.638e-06/0.4024, allocations: 1.859 kB / 498 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 2.271e-05/0.4025, allocations: 1.188 kB / 498 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001106/0.4026, allocations: 19.08 kB / 498.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 8.806e-06/0.4026, allocations: 5.266 kB / 498.1 MB, free: 15.52 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.487e-05/0.4027, allocations: 7.359 kB / 498.1 MB, free: 15.51 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.1e-05/0.4027, allocations: 6.656 kB / 498.1 MB, free: 15.51 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.0001048/0.4028, allocations: 123.9 kB / 498.2 MB, free: 15.39 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.268e-05/0.4028, allocations: 12.75 kB / 498.2 MB, free: 15.38 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.039e-05/0.4029, allocations: 14.64 kB / 498.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.376e-06/0.4029, allocations: 1.562 kB / 498.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.883e-06/0.4029, allocations: 0.8906 kB / 498.2 MB, free: 15.37 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.007e-06/0.4029, allocations: 7.875 kB / 498.2 MB, free: 15.36 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000453/0.4034, allocations: 393.3 kB / 498.6 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 1.633e-06/0.4034, allocations: 0 / 498.6 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.363e-05/0.4034, allocations: 9.844 kB / 498.6 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.805e-06/0.4034, allocations: 1.188 kB / 498.6 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.473e-05/0.4034, allocations: 5.344 kB / 498.6 MB, free: 15.01 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 3.106e-06/0.4035, allocations: 6.266 kB / 498.6 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.725e-06/0.4035, allocations: 1.562 kB / 498.6 MB, free: 15 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002029/0.4037, allocations: 199.6 kB / 498.8 MB, free: 14.84 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.224e-05/0.4037, allocations: 84.91 kB / 498.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.665e-05/0.4037, allocations: 5.844 kB / 498.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.146e-05/0.4038, allocations: 4.219 kB / 498.9 MB, free: 14.74 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.83e-05/0.4039, allocations: 8.531 kB / 498.9 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.892e-05/0.4039, allocations: 8.484 kB / 499 MB, free: 14.73 MB / 382.1 MB Notification: Performance of sorting global known variables: time 9.863e-05/0.404, allocations: 128.5 kB / 499.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.404, allocations: 5.219 kB / 499.1 MB, free: 14.64 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002798/0.4043, allocations: 25.83 kB / 499.1 MB, free: 14.63 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.001083/0.4054, allocations: 474.5 kB / 499.6 MB, free: 14.26 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002096/0.4056, allocations: 52.72 kB / 499.6 MB, free: 14.25 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.604e-06/0.4056, allocations: 4.062 kB / 499.6 MB, free: 14.24 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.944e-05/0.4057, allocations: 32.62 kB / 499.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.000367/0.4061, allocations: 27.28 kB / 499.7 MB, free: 14.22 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.00051/0.4066, allocations: 219.2 kB / 499.9 MB, free: 14.05 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001799/0.4068, allocations: 0.7037 MB / 0.4889 GB, free: 13.36 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.047e-05/0.4069, allocations: 16.5 kB / 0.4889 GB, free: 13.35 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.333e-05/0.4069, allocations: 16.62 kB / 0.4889 GB, free: 13.34 MB / 382.1 MB Notification: Performance of SimCode: time 2.21e-07/0.4069, allocations: 3.938 kB / 0.4889 GB, free: 13.34 MB / 382.1 MB Notification: Performance of Templates: time 0.005756/0.4127, allocations: 1.718 MB / 0.4906 GB, free: 13.13 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1)