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.00887/0.00887, allocations: 98.38 kB / 15.73 MB, free: 6.055 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.00164/0.00164, allocations: 191.7 kB / 16.67 MB, free: 5.965 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.683/1.683, allocations: 205.1 MB / 222.5 MB, free: 4.516 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.3745/0.3745, allocations: 39.95 MB / 309.9 MB, free: 9.379 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.002072/0.002073, allocations: 71.91 kB / 435.8 MB, free: 2.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3962/0.3982, allocations: 56.87 MB / 492.7 MB, free: 19.47 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test29): time 0.005097/0.4034, allocations: 1.697 MB / 494.4 MB, free: 18.29 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.002446/0.4059, allocations: 0.8055 MB / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 0.0001588/0.4061, allocations: 1.094 kB / 495.2 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.000457/0.4066, allocations: 39.75 kB / 495.3 MB, free: 17.71 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.0003977/0.407, allocations: 53.52 kB / 495.3 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0004476/0.4075, allocations: 88.64 kB / 495.4 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002985/0.4078, allocations: 91.27 kB / 495.5 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001423/0.4079, allocations: 19.34 kB / 495.5 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001315/0.4081, allocations: 40.44 kB / 495.5 MB, free: 17.56 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001108/0.4082, allocations: 30.95 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 3.151e-05/0.4082, allocations: 3 kB / 495.6 MB, free: 17.55 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.000175/0.4084, allocations: 42.92 kB / 495.6 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 8.365e-05/0.4085, allocations: 18.67 kB / 495.6 MB, free: 17.53 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 8.014e-05/0.4086, allocations: 37.56 kB / 495.7 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003907/0.409, allocations: 115.9 kB / 495.8 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 7.323e-06/0.4091, allocations: 0.75 kB / 495.8 MB, free: 17.46 MB / 382.1 MB Notification: Performance of FrontEnd: time 3.286e-06/0.4091, allocations: 5.031 kB / 495.8 MB, free: 17.45 MB / 382.1 MB Notification: Performance of Transformations before backend: time 9.688e-06/0.4091, allocations: 0 / 495.8 MB, free: 17.45 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.000872/0.41, allocations: 410.6 kB / 496.2 MB, free: 17.05 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 6.048e-05/0.41, allocations: 13.64 kB / 496.2 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.898e-05/0.4102, allocations: 13.75 kB / 496.2 MB, free: 17.04 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0004731/0.4107, allocations: 205.9 kB / 496.4 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.527e-05/0.4107, allocations: 9.938 kB / 496.4 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 3.902e-05/0.4107, allocations: 7.672 kB / 496.4 MB, free: 16.81 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002195/0.411, allocations: 57.08 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.962e-05/0.411, allocations: 1.281 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 2.052e-05/0.411, allocations: 0.5156 kB / 496.5 MB, free: 16.77 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 9.769e-06/0.4111, allocations: 5.469 kB / 496.5 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001328/0.4112, allocations: 18.8 kB / 496.5 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0005353/0.4118, allocations: 285.6 kB / 496.8 MB, free: 16.47 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002869/0.4121, allocations: 60.11 kB / 496.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.757e-05/0.4122, allocations: 20.03 kB / 496.9 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.79e-05/0.4122, allocations: 1.469 kB / 496.9 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002314/0.4125, allocations: 69.02 kB / 496.9 MB, free: 16.36 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 2.374e-06/0.4125, allocations: 4 kB / 497 MB, free: 16.36 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000938/0.4134, allocations: 177.8 kB / 497.1 MB, free: 16.27 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.992e-05/0.4135, allocations: 53.89 kB / 497.2 MB, free: 16.2 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002628/0.4138, allocations: 184.6 kB / 497.4 MB, free: 16.08 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.582e-05/0.4138, allocations: 25.7 kB / 497.4 MB, free: 16.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.86e-05/0.4139, allocations: 103.5 kB / 497.5 MB, free: 15.95 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.779e-05/0.4139, allocations: 26.8 kB / 497.5 MB, free: 15.93 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 6.236e-05/0.414, allocations: 30.42 kB / 497.5 MB, free: 15.91 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.35e-05/0.4141, allocations: 325.7 kB / 497.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 9.101e-05/0.4142, allocations: 22.45 kB / 497.9 MB, free: 15.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 0.0001033/0.4143, allocations: 37.47 kB / 497.9 MB, free: 15.55 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001862/0.4145, allocations: 54.39 kB / 498 MB, free: 15.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.495e-06/0.4145, allocations: 1.25 kB / 498 MB, free: 15.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0003025/0.4148, allocations: 107.5 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.999e-05/0.4149, allocations: 6.828 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.883e-06/0.4149, allocations: 160 / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.918e-05/0.4149, allocations: 2 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001393/0.4151, allocations: 15.91 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 1.201e-05/0.4151, allocations: 5.484 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 8.701e-05/0.4152, allocations: 6.141 kB / 498.1 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.703e-05/0.4152, allocations: 6.625 kB / 498.1 MB, free: 15.44 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.0001214/0.4154, allocations: 133.3 kB / 498.2 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 4.23e-05/0.4154, allocations: 10.25 kB / 498.3 MB, free: 15.31 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 5.535e-05/0.4155, allocations: 13.72 kB / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.72e-06/0.4155, allocations: 5.547 kB / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 8.326e-06/0.4155, allocations: 0.8906 kB / 498.3 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.583e-06/0.4155, allocations: 5.312 kB / 498.3 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0005767/0.4161, allocations: 393.6 kB / 498.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.386e-06/0.4161, allocations: 3.938 kB / 498.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 5.614e-05/0.4162, allocations: 8.906 kB / 498.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 7.675e-06/0.4162, allocations: 5.875 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.842e-05/0.4163, allocations: 5.609 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 4.448e-06/0.4163, allocations: 1.359 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.504e-06/0.4163, allocations: 1.219 kB / 498.7 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003978/0.4167, allocations: 200.9 kB / 498.9 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.563e-05/0.4167, allocations: 88.22 kB / 499 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 4e-05/0.4168, allocations: 11.09 kB / 499 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 0.0001336/0.417, allocations: 6.547 kB / 499 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.01e-05/0.417, allocations: 5.859 kB / 499 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 4.203e-05/0.4171, allocations: 4.328 kB / 499 MB, free: 14.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0002091/0.4173, allocations: 144 kB / 499.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of sort global known variables: time 5.31e-07/0.4173, allocations: 0 / 499.1 MB, free: 14.56 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0005163/0.4178, allocations: 26.19 kB / 499.2 MB, free: 14.55 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.001698/0.4196, allocations: 478.5 kB / 499.6 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002879/0.4199, allocations: 61.06 kB / 499.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 4.027e-06/0.4199, allocations: 0 / 499.7 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001202/0.42, allocations: 32.8 kB / 499.7 MB, free: 14.14 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0005506/0.4206, allocations: 34.09 kB / 499.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0007291/0.4213, allocations: 226.8 kB / 500 MB, free: 13.95 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002905/0.4216, allocations: 0.7026 MB / 0.489 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001104/0.4218, allocations: 20.52 kB / 0.489 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 6.615e-05/0.4218, allocations: 15.86 kB / 0.489 GB, free: 13.24 MB / 382.1 MB Notification: Performance of SimCode: time 4.81e-07/0.4219, allocations: 0 / 0.489 GB, free: 13.24 MB / 382.1 MB Notification: Performance of Templates: time 0.01055/0.4324, allocations: 1.695 MB / 0.4906 GB, free: 13.05 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)