Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.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.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") translateModel(ModelicaTest.Tables.CombiTimeTable.Test42,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008247/0.008247, 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.001369/0.00137, 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.626/1.626, 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.3679/0.3679, allocations: 39.95 MB / 309.8 MB, free: 9.445 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.00174/0.00174, allocations: 71.89 kB / 435.8 MB, free: 2.414 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.369/0.3707, allocations: 56.87 MB / 492.7 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test42): time 0.003122/0.3739, allocations: 1.696 MB / 494.4 MB, free: 18.33 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001415/0.3753, allocations: 0.8031 MB / 495.2 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.713e-05/0.3754, allocations: 1.188 kB / 495.2 MB, free: 17.78 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0003443/0.3758, allocations: 49.52 kB / 495.3 MB, free: 17.75 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.000253/0.3761, allocations: 50.8 kB / 495.3 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002869/0.3764, allocations: 80.25 kB / 495.4 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002084/0.3766, allocations: 95.78 kB / 495.5 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001185/0.3767, allocations: 19.14 kB / 495.5 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001026/0.3768, allocations: 45.94 kB / 495.6 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.455e-05/0.3769, allocations: 34.34 kB / 495.6 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.158e-05/0.377, allocations: 7.969 kB / 495.6 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001153/0.3771, allocations: 37.86 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.394e-05/0.3771, allocations: 19.5 kB / 495.6 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.43e-05/0.3772, allocations: 38.19 kB / 495.7 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002467/0.3775, allocations: 116.6 kB / 495.8 MB, free: 17.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.6e-06/0.3775, allocations: 4 kB / 495.8 MB, free: 17.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.114e-06/0.3775, allocations: 1.156 kB / 495.8 MB, free: 17.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.773e-06/0.3775, allocations: 0 / 495.8 MB, free: 17.49 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.0006547/0.3782, allocations: 421.7 kB / 496.2 MB, free: 17.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.11e-05/0.3782, allocations: 13.55 kB / 496.2 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.564e-05/0.3783, allocations: 10.09 kB / 496.2 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.000323/0.3786, allocations: 212.2 kB / 496.4 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 2.218e-05/0.3786, allocations: 6.406 kB / 496.5 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.689e-05/0.3787, allocations: 6.812 kB / 496.5 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001792/0.3788, allocations: 53.12 kB / 496.5 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.621e-05/0.3789, allocations: 1.469 kB / 496.5 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.293e-05/0.3789, allocations: 4.609 kB / 496.5 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 7.534e-06/0.3789, allocations: 1.5 kB / 496.5 MB, free: 16.8 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 9.034e-05/0.379, allocations: 21.28 kB / 496.5 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004446/0.3795, allocations: 292.5 kB / 496.8 MB, free: 16.5 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001895/0.3797, allocations: 51.77 kB / 496.9 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 6.384e-05/0.3797, allocations: 24.45 kB / 496.9 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 3.031e-05/0.3798, allocations: 0 / 496.9 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001718/0.3799, allocations: 70.56 kB / 497 MB, free: 16.39 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.332e-06/0.38, allocations: 0 / 497 MB, free: 16.39 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006571/0.3806, allocations: 176.8 kB / 497.1 MB, free: 16.3 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.818e-05/0.3807, allocations: 52.75 kB / 497.2 MB, free: 16.24 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002438/0.3809, allocations: 198 kB / 497.4 MB, free: 16.11 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.788e-05/0.381, allocations: 31.44 kB / 497.4 MB, free: 16.08 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 6.708e-05/0.381, allocations: 104.5 kB / 497.5 MB, free: 15.98 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.307e-05/0.3811, allocations: 21.52 kB / 497.5 MB, free: 15.96 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.119e-05/0.3811, allocations: 23.38 kB / 497.6 MB, free: 15.95 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.796e-05/0.3812, allocations: 333.8 kB / 497.9 MB, free: 15.62 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.038e-05/0.3813, allocations: 18.11 kB / 497.9 MB, free: 15.61 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.019e-05/0.3813, allocations: 34.73 kB / 497.9 MB, free: 15.59 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001144/0.3815, allocations: 66.45 kB / 498 MB, free: 15.55 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.162e-06/0.3815, allocations: 0 / 498 MB, free: 15.55 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.000185/0.3817, allocations: 109.2 kB / 498.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 2.033e-05/0.3817, allocations: 5.844 kB / 498.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 6.382e-06/0.3817, allocations: 1.656 kB / 498.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.623e-05/0.3817, allocations: 0 / 498.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.3818, allocations: 20.17 kB / 498.1 MB, free: 15.48 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 6.181e-06/0.3818, allocations: 4.031 kB / 498.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.616e-05/0.3819, allocations: 7.297 kB / 498.1 MB, free: 15.47 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.864e-06/0.3819, allocations: 2.812 kB / 498.2 MB, free: 15.47 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.0001028/0.382, allocations: 127.7 kB / 498.3 MB, free: 15.35 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.555e-05/0.382, allocations: 9.812 kB / 498.3 MB, free: 15.34 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.811e-05/0.3821, allocations: 15.31 kB / 498.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.545e-06/0.3821, allocations: 1.281 kB / 498.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 6.983e-06/0.3821, allocations: 1.641 kB / 498.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.733e-06/0.3821, allocations: 5.375 kB / 498.3 MB, free: 15.33 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004615/0.3826, allocations: 398 kB / 498.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.064e-06/0.3826, allocations: 1.094 kB / 498.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.761e-05/0.3827, allocations: 8.719 kB / 498.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.579e-06/0.3827, allocations: 1.125 kB / 498.7 MB, free: 14.97 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.332e-05/0.3827, allocations: 10 kB / 498.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.956e-06/0.3827, allocations: 1.312 kB / 498.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 2.786e-06/0.3827, allocations: 1.5 kB / 498.7 MB, free: 14.96 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002479/0.383, allocations: 200.8 kB / 498.9 MB, free: 14.8 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.063e-05/0.383, allocations: 87.83 kB / 499 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.589e-05/0.383, allocations: 7.188 kB / 499 MB, free: 14.7 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 6.954e-05/0.3831, allocations: 6.219 kB / 499 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.055e-05/0.3832, allocations: 6.562 kB / 499 MB, free: 14.69 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.017e-05/0.3832, allocations: 3.547 kB / 499 MB, free: 14.69 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001481/0.3833, allocations: 152.4 kB / 499.2 MB, free: 14.6 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3833, allocations: 7.938 kB / 499.2 MB, free: 14.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.000279/0.3836, allocations: 21.97 kB / 499.2 MB, free: 14.59 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.001144/0.3848, allocations: 485.6 kB / 499.7 MB, free: 14.2 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002076/0.385, allocations: 61.41 kB / 499.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 1.803e-06/0.385, allocations: 0 / 499.7 MB, free: 14.18 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 8.2e-05/0.3851, allocations: 28.45 kB / 499.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003667/0.3855, allocations: 30.97 kB / 499.8 MB, free: 14.16 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004582/0.3859, allocations: 225.3 kB / 0.4883 GB, free: 14 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002119/0.3862, allocations: 0.7145 MB / 0.489 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.459e-05/0.3862, allocations: 12.69 kB / 0.489 GB, free: 13.29 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.782e-05/0.3863, allocations: 20.47 kB / 0.489 GB, free: 13.28 MB / 382.1 MB Notification: Performance of SimCode: time 3.1e-07/0.3863, allocations: 0 / 0.489 GB, free: 13.28 MB / 382.1 MB Notification: Performance of Templates: time 0.005739/0.392, allocations: 1.729 MB / 0.4907 GB, free: 13.07 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test42.pipe 2>&1)