Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.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.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") translateModel(ModelicaTest.Tables.CombiTimeTable.Test40,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008042/0.008042, allocations: 99.47 kB / 15.73 MB, free: 6.449 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.001333/0.001333, allocations: 199.6 kB / 16.68 MB, free: 6.352 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.619/1.619, allocations: 205.1 MB / 222.6 MB, free: 4.496 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.3492/0.3492, allocations: 39.94 MB / 309.9 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.001506/0.001506, allocations: 75.89 kB / 435.8 MB, free: 2.379 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3748/0.3763, allocations: 56.88 MB / 492.7 MB, free: 19.52 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test40): time 0.003091/0.3794, allocations: 1.691 MB / 494.4 MB, free: 18.34 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001364/0.3808, allocations: 0.8003 MB / 495.2 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.154e-05/0.3809, allocations: 0 / 495.2 MB, free: 17.79 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004463/0.3814, allocations: 82.59 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.0002765/0.3817, allocations: 77.02 kB / 495.4 MB, free: 17.73 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0002847/0.382, allocations: 84.34 kB / 495.5 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002118/0.3822, allocations: 110.9 kB / 495.6 MB, free: 17.64 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001154/0.3823, allocations: 15.41 kB / 495.6 MB, free: 17.63 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001081/0.3824, allocations: 54.39 kB / 495.6 MB, free: 17.61 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0001226/0.3826, allocations: 54.23 kB / 495.7 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 1.983e-05/0.3826, allocations: 3.344 kB / 495.7 MB, free: 17.59 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001178/0.3827, allocations: 47.08 kB / 495.7 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 6.607e-05/0.3828, allocations: 19.69 kB / 495.8 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.894e-05/0.3829, allocations: 41.8 kB / 495.8 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002475/0.3831, allocations: 123.9 kB / 495.9 MB, free: 17.49 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 5.239e-06/0.3831, allocations: 1.188 kB / 495.9 MB, free: 17.49 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.453e-06/0.3831, allocations: 0 / 495.9 MB, free: 17.49 MB / 382.1 MB Notification: Performance of Transformations before backend: time 6.652e-06/0.3831, allocations: 0 / 495.9 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.0005459/0.3837, allocations: 426.5 kB / 496.3 MB, free: 17.07 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.597e-05/0.3838, allocations: 14.11 kB / 496.3 MB, free: 17.07 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.912e-05/0.3838, allocations: 13.31 kB / 496.4 MB, free: 17.06 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0003212/0.3841, allocations: 205 kB / 496.6 MB, free: 16.85 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.869e-05/0.3842, allocations: 6 kB / 496.6 MB, free: 16.84 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.57e-05/0.3842, allocations: 17.45 kB / 496.6 MB, free: 16.83 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001643/0.3844, allocations: 54.47 kB / 496.6 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.489e-05/0.3844, allocations: 1.344 kB / 496.6 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.335e-05/0.3844, allocations: 0 / 496.6 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.572e-06/0.3844, allocations: 5.25 kB / 496.6 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 8.369e-05/0.3845, allocations: 17.73 kB / 496.7 MB, free: 16.78 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004076/0.3849, allocations: 289.2 kB / 496.9 MB, free: 16.49 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001771/0.3851, allocations: 64.31 kB / 497 MB, free: 16.45 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.71e-05/0.3852, allocations: 20.56 kB / 497 MB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.749e-05/0.3852, allocations: 1.5 kB / 497 MB, free: 16.44 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001641/0.3854, allocations: 69.06 kB / 497.1 MB, free: 16.38 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.683e-06/0.3854, allocations: 0 / 497.1 MB, free: 16.38 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.0006164/0.386, allocations: 182.5 kB / 497.3 MB, free: 16.29 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 3.62e-05/0.3861, allocations: 51.41 kB / 497.3 MB, free: 16.22 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0002063/0.3863, allocations: 219.2 kB / 497.5 MB, free: 16.09 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.493e-05/0.3863, allocations: 27.95 kB / 497.6 MB, free: 16.05 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.714e-05/0.3864, allocations: 103.8 kB / 497.7 MB, free: 15.96 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.814e-05/0.3864, allocations: 26.31 kB / 497.7 MB, free: 15.94 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.269e-05/0.3865, allocations: 22.66 kB / 497.7 MB, free: 15.92 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 9.509e-05/0.3866, allocations: 330 kB / 498 MB, free: 15.59 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.725e-05/0.3866, allocations: 26.42 kB / 498.1 MB, free: 15.58 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.432e-05/0.3867, allocations: 35.22 kB / 498.1 MB, free: 15.56 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001113/0.3868, allocations: 58.11 kB / 498.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 1.082e-06/0.3868, allocations: 0 / 498.2 MB, free: 15.52 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001872/0.387, allocations: 109.7 kB / 498.3 MB, free: 15.46 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.803e-05/0.3871, allocations: 9.859 kB / 498.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.53e-06/0.3871, allocations: 3.938 kB / 498.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.661e-05/0.3871, allocations: 1.438 kB / 498.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001048/0.3872, allocations: 16.11 kB / 498.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.263e-06/0.3872, allocations: 0 / 498.3 MB, free: 15.45 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 5.023e-05/0.3873, allocations: 12.05 kB / 498.3 MB, free: 15.44 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 9.788e-06/0.3873, allocations: 2.812 kB / 498.3 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.0001014/0.3874, allocations: 128.7 kB / 498.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.235e-05/0.3874, allocations: 9.422 kB / 498.4 MB, free: 15.32 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 4.843e-05/0.3875, allocations: 23.86 kB / 498.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 2.275e-06/0.3875, allocations: 1.344 kB / 498.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.705e-06/0.3875, allocations: 1.938 kB / 498.5 MB, free: 15.3 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 6.462e-06/0.3875, allocations: 4.641 kB / 498.5 MB, free: 15.29 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0004548/0.388, allocations: 391.6 kB / 498.9 MB, free: 14.95 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.875e-06/0.388, allocations: 4.938 kB / 498.9 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.959e-05/0.388, allocations: 9.219 kB / 498.9 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 4.198e-06/0.388, allocations: 1.594 kB / 498.9 MB, free: 14.94 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.504e-05/0.3881, allocations: 10.05 kB / 498.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.745e-06/0.3881, allocations: 0.6562 kB / 498.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.553e-06/0.3881, allocations: 1.719 kB / 498.9 MB, free: 14.93 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002308/0.3883, allocations: 204.8 kB / 499.1 MB, free: 14.77 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.72e-05/0.3884, allocations: 89.47 kB / 499.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.238e-05/0.3884, allocations: 10.73 kB / 499.2 MB, free: 14.66 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.157e-05/0.3885, allocations: 6.219 kB / 499.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.239e-05/0.3885, allocations: 9.531 kB / 499.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.01e-05/0.3886, allocations: 3.828 kB / 499.2 MB, free: 14.65 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001495/0.3887, allocations: 157.2 kB / 499.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.1e-07/0.3887, allocations: 0 / 499.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002972/0.389, allocations: 26.02 kB / 499.4 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.001092/0.3901, allocations: 476.6 kB / 499.8 MB, free: 14.17 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002064/0.3903, allocations: 60.14 kB / 499.9 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.084e-06/0.3903, allocations: 0 / 499.9 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.469e-05/0.3904, allocations: 33.86 kB / 499.9 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.0003486/0.3908, allocations: 34.14 kB / 500 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005157/0.3913, allocations: 247.8 kB / 0.4885 GB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0002407/0.3916, allocations: 0.7061 MB / 0.4892 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 6.459e-05/0.3916, allocations: 12.62 kB / 0.4892 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 4.525e-05/0.3917, allocations: 16.05 kB / 0.4892 GB, free: 13.23 MB / 382.1 MB Notification: Performance of SimCode: time 8.21e-07/0.3917, allocations: 5 kB / 0.4892 GB, free: 13.23 MB / 382.1 MB Notification: Performance of Templates: time 0.006485/0.3982, allocations: 1.706 MB / 0.4909 GB, free: 13.04 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test40.pipe 2>&1)