Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.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.1+maint.om/package.mo", uses=false) Using package ModelicaTest with version 3.2.1 (/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+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.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72") translateModel(ModelicaTest.Tables.CombiTimeTable.Test72,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.006888/0.006888, allocations: 99.95 kB / 15.73 MB, free: 6.473 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.001326/0.001326, allocations: 194.8 kB / 16.67 MB, free: 6.379 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.693/1.693, allocations: 205.1 MB / 222.6 MB, free: 4.52 MB / 174.1 MB Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaTest 3.2.1+maint.om/package.mo): time 0.3461/0.3461, allocations: 38 MB / 307.9 MB, free: 10.13 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.1. 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.001775/0.001775, allocations: 67.91 kB / 433 MB, free: 5.371 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3732/0.375, allocations: 56.47 MB / 489.5 MB, free: 19.93 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test72): time 0.003195/0.3782, allocations: 1.767 MB / 491.3 MB, free: 18.68 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001452/0.3797, allocations: 0.8744 MB / 492.1 MB, free: 18.09 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.918e-05/0.3798, allocations: 4.875 kB / 492.2 MB, free: 18.08 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0007107/0.3806, allocations: 315.7 kB / 492.5 MB, free: 18.03 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.0004178/0.381, allocations: 204.6 kB / 492.7 MB, free: 17.98 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003457/0.3813, allocations: 135.8 kB / 492.8 MB, free: 17.91 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0003013/0.3816, allocations: 243.4 kB / 493 MB, free: 17.82 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 5.83e-05/0.3817, allocations: 17.77 kB / 493 MB, free: 17.81 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0002001/0.3819, allocations: 130 kB / 493.2 MB, free: 17.77 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 0.0002693/0.3822, allocations: 189.3 kB / 493.4 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.732e-05/0.3822, allocations: 6.594 kB / 493.4 MB, free: 17.74 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001255/0.3824, allocations: 49.45 kB / 493.4 MB, free: 17.72 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 0.0001759/0.3825, allocations: 141.7 kB / 493.6 MB, free: 17.67 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 0.000138/0.3827, allocations: 140.5 kB / 493.7 MB, free: 17.57 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.000497/0.3832, allocations: 366.1 kB / 494 MB, free: 17.43 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.101e-06/0.3832, allocations: 1.125 kB / 494.1 MB, free: 17.43 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.503e-06/0.3832, allocations: 4.594 kB / 494.1 MB, free: 17.42 MB / 382.1 MB Notification: Performance of Transformations before backend: time 8.386e-06/0.3832, allocations: 0 / 494.1 MB, free: 17.42 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: 8 * Number of variables: 8 Notification: Performance of Generate backend data structure: time 0.0009715/0.3842, allocations: 0.7272 MB / 494.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 5.978e-05/0.3843, allocations: 12.89 kB / 494.8 MB, free: 16.82 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 9.146e-05/0.3844, allocations: 53.84 kB / 494.8 MB, free: 16.79 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0006692/0.385, allocations: 449.2 kB / 495.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.475e-05/0.3851, allocations: 2.844 kB / 495.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.655e-05/0.3851, allocations: 11.97 kB / 495.3 MB, free: 16.46 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002117/0.3853, allocations: 82.91 kB / 495.4 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.035e-05/0.3853, allocations: 0 / 495.4 MB, free: 16.4 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.531e-05/0.3854, allocations: 5.625 kB / 495.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 6.963e-06/0.3854, allocations: 1.219 kB / 495.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001132/0.3855, allocations: 30.05 kB / 495.4 MB, free: 16.39 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0004521/0.386, allocations: 381.4 kB / 495.8 MB, free: 16.12 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.000261/0.3862, allocations: 105 kB / 495.9 MB, free: 16.05 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.299e-05/0.3863, allocations: 47.09 kB / 495.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 1.899e-05/0.3864, allocations: 1.125 kB / 495.9 MB, free: 16.02 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0002109/0.3866, allocations: 117.6 kB / 496.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of pre-optimization done (n=10): time 1.252e-06/0.3866, allocations: 0 / 496.1 MB, free: 15.93 MB / 382.1 MB Notification: Performance of matching and sorting (n=10): time 0.0005042/0.3871, allocations: 199 kB / 496.2 MB, free: 15.84 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 4.624e-05/0.3871, allocations: 82.94 kB / 496.3 MB, free: 15.74 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.00123/0.3884, allocations: 1.031 MB / 497.4 MB, free: 15.39 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.856e-05/0.3884, allocations: 27.47 kB / 497.4 MB, free: 15.36 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 0.0001645/0.3886, allocations: 232.7 kB / 497.6 MB, free: 15.18 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 5.238e-05/0.3886, allocations: 27.67 kB / 497.6 MB, free: 15.16 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 5.197e-05/0.3887, allocations: 28.2 kB / 497.7 MB, free: 15.13 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 0.000131/0.3888, allocations: 374.4 kB / 498 MB, free: 14.79 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.963e-05/0.3889, allocations: 27.25 kB / 498.1 MB, free: 14.79 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.187e-05/0.389, allocations: 53.02 kB / 498.1 MB, free: 14.75 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001769/0.3892, allocations: 92.66 kB / 498.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.986e-06/0.3892, allocations: 0 / 498.2 MB, free: 14.68 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.0002893/0.3895, allocations: 172.8 kB / 498.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.691e-05/0.3895, allocations: 5.469 kB / 498.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 5.641e-06/0.3896, allocations: 0.6562 kB / 498.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.871e-05/0.3896, allocations: 3.281 kB / 498.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 0.0001229/0.3897, allocations: 25.05 kB / 498.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.624e-06/0.3897, allocations: 1.375 kB / 498.4 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 9.699e-05/0.3898, allocations: 13.55 kB / 498.4 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.395e-05/0.3898, allocations: 4.641 kB / 498.4 MB, free: 14.58 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 4 * Number of states: 0 () * Number of discrete variables: 10 ($PRE.startTime.nextTimeEvent,$whenCondition2,startTime.nextTimeEventScaled,$PRE.startTime.nextTimeEventScaled,startTime.nextTimeEvent,$PRE.startTime_0.nextTimeEvent,$whenCondition1,startTime_0.nextTimeEventScaled,$PRE.startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent) * Number of discrete states: 0 () * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for initialization (14): * Single equations (assignments): 14 * 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.0002318/0.3901, allocations: 232.5 kB / 498.7 MB, free: 14.43 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 7.579e-05/0.3902, allocations: 50.44 kB / 498.7 MB, free: 14.4 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 0.0001069/0.3903, allocations: 58.06 kB / 498.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 5.38e-06/0.3903, allocations: 1.969 kB / 498.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 7.774e-06/0.3903, allocations: 0 / 498.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.56e-06/0.3903, allocations: 2.172 kB / 498.8 MB, free: 14.38 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.000398/0.3907, allocations: 346.4 kB / 499.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 3.336e-06/0.3907, allocations: 4.984 kB / 499.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.95e-05/0.3908, allocations: 7.578 kB / 499.1 MB, free: 14.13 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 6.122e-06/0.3908, allocations: 6.047 kB / 499.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.743e-05/0.3908, allocations: 10.73 kB / 499.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.875e-06/0.3908, allocations: 1.375 kB / 499.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.433e-06/0.3908, allocations: 0 / 499.1 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003572/0.3912, allocations: 206.8 kB / 499.3 MB, free: 13.98 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 0.00012/0.3913, allocations: 137.5 kB / 499.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 5.302e-05/0.3914, allocations: 2.203 kB / 499.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 8.446e-05/0.3915, allocations: 10 kB / 499.5 MB, free: 13.86 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 5.586e-05/0.3915, allocations: 11.23 kB / 499.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.943e-05/0.3916, allocations: 4.516 kB / 499.5 MB, free: 13.85 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.001025/0.3926, allocations: 0.7705 MB / 0.4885 GB, free: 13.59 MB / 382.1 MB Notification: Performance of sort global known variables: time 2.51e-07/0.3926, allocations: 0 / 0.4885 GB, free: 13.59 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0003238/0.3929, allocations: 41.06 kB / 0.4886 GB, free: 13.58 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: 6 ($whenCondition2,startTime.nextTimeEvent,startTime.nextTimeEventScaled,$whenCondition1,startTime_0.nextTimeEvent,startTime_0.nextTimeEventScaled) * Number of discrete states: 4 (startTime_0.nextTimeEventScaled,startTime_0.nextTimeEvent,startTime.nextTimeEventScaled,startTime.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (10): * Single equations (assignments): 6 * Array equations: 0 * Algorithm blocks: 0 * Record equations: 0 * When equations: 4 * 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.0009551/0.3939, allocations: 423.4 kB / 0.489 GB, free: 13.25 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002578/0.3942, allocations: 81.34 kB / 0.4891 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.685e-06/0.3942, allocations: 0 / 0.4891 GB, free: 13.22 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001058/0.3943, allocations: 39.91 kB / 0.4891 GB, free: 13.21 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0004768/0.3948, allocations: 81.2 kB / 0.4892 GB, free: 13.17 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.001508/0.3963, allocations: 0.8589 MB / 0.49 GB, free: 12.8 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0004218/0.3967, allocations: 0.849 MB / 0.4908 GB, free: 12.08 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 0.0001763/0.3969, allocations: 56.12 kB / 0.4909 GB, free: 12.07 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 8.912e-05/0.397, allocations: 36.09 kB / 0.4909 GB, free: 12.05 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.397, allocations: 0 / 0.4909 GB, free: 12.05 MB / 382.1 MB Notification: Performance of Templates: time 0.01351/0.4105, allocations: 3.735 MB / 0.4946 GB, free: 11.47 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.makefile (rm -f ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; mkfifo ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe ; head -c 1048576 < ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe >> ../files/ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.sim & ./ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.1_ModelicaTest.Tables.CombiTimeTable.Test72.pipe 2>&1)