Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.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.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13") translateModel(ModelicaTest.Tables.CombiTimeTable.Test13,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.007741/0.007741, allocations: 97.66 kB / 15.73 MB, free: 6.008 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.00145/0.00145, allocations: 190.9 kB / 16.67 MB, free: 5.938 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.674/1.674, allocations: 205.1 MB / 222.5 MB, free: 4.523 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.3595/0.3595, allocations: 39.94 MB / 309.8 MB, free: 9.34 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.001513/0.001513, allocations: 67.91 kB / 435.8 MB, free: 2.422 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3745/0.3761, allocations: 56.87 MB / 492.7 MB, free: 19.44 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test13): time 0.003522/0.3796, allocations: 1.9 MB / 494.6 MB, free: 18.11 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001465/0.3811, allocations: 0.8461 MB / 495.5 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 8.582e-05/0.3812, allocations: 5.406 kB / 495.5 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0002483/0.3815, allocations: 41.22 kB / 495.5 MB, free: 17.5 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.0001952/0.3817, allocations: 61.56 kB / 495.6 MB, free: 17.46 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.000253/0.382, allocations: 98.33 kB / 495.7 MB, free: 17.41 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.000184/0.3822, allocations: 145.3 kB / 495.8 MB, free: 17.34 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001004/0.3823, allocations: 32.38 kB / 495.8 MB, free: 17.32 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 8.768e-05/0.3824, allocations: 56.78 kB / 495.9 MB, free: 17.29 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 8.602e-05/0.3825, allocations: 52.44 kB / 495.9 MB, free: 17.26 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.361e-05/0.3825, allocations: 6.938 kB / 495.9 MB, free: 17.26 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001037/0.3826, allocations: 45.41 kB / 496 MB, free: 17.25 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 5.059e-05/0.3826, allocations: 23.95 kB / 496 MB, free: 17.23 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 5.298e-05/0.3827, allocations: 50.41 kB / 496.1 MB, free: 17.2 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0002576/0.383, allocations: 150.4 kB / 496.2 MB, free: 17.14 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 3.867e-06/0.383, allocations: 0.8906 kB / 496.2 MB, free: 17.14 MB / 382.1 MB Notification: Performance of FrontEnd: time 1.092e-06/0.383, allocations: 5.406 kB / 496.2 MB, free: 17.13 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.052e-05/0.383, allocations: 0 / 496.2 MB, free: 17.13 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: 15 * Number of variables: 15 Notification: Performance of Generate backend data structure: time 0.0004784/0.3835, allocations: 485.2 kB / 496.7 MB, free: 16.67 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 3.371e-05/0.3835, allocations: 12.8 kB / 496.7 MB, free: 16.66 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 4.117e-05/0.3836, allocations: 20.38 kB / 496.7 MB, free: 16.65 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002385/0.3838, allocations: 222 kB / 496.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.3e-05/0.3838, allocations: 7.875 kB / 496.9 MB, free: 16.43 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.44e-05/0.3839, allocations: 16.91 kB / 497 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0002054/0.3841, allocations: 106.1 kB / 497.1 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 6.923e-06/0.3841, allocations: 0 / 497.1 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.436e-05/0.3841, allocations: 9.422 kB / 497.1 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 4.558e-06/0.3841, allocations: 1.406 kB / 497.1 MB, free: 16.34 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 0.0001411/0.3843, allocations: 47.89 kB / 497.1 MB, free: 16.32 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.000435/0.3847, allocations: 0.5074 MB / 497.6 MB, free: 15.84 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0002852/0.385, allocations: 90.62 kB / 497.7 MB, free: 15.79 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 9.629e-05/0.3851, allocations: 37.89 kB / 497.8 MB, free: 15.78 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.029e-05/0.3852, allocations: 5.172 kB / 497.8 MB, free: 15.77 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001768/0.3853, allocations: 85.48 kB / 497.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of pre-optimization done (n=9): time 1.463e-06/0.3853, allocations: 0 / 497.8 MB, free: 15.71 MB / 382.1 MB Notification: Performance of matching and sorting (n=9): time 0.0003732/0.3857, allocations: 144 kB / 498 MB, free: 15.64 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.632e-05/0.3858, allocations: 60.59 kB / 498 MB, free: 15.57 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.0001838/0.386, allocations: 187.9 kB / 498.2 MB, free: 15.45 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.355e-05/0.386, allocations: 34.95 kB / 498.3 MB, free: 15.41 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 5.589e-05/0.386, allocations: 111.3 kB / 498.4 MB, free: 15.3 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 2.642e-05/0.3861, allocations: 31.3 kB / 498.4 MB, free: 15.28 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.459e-05/0.3861, allocations: 28.64 kB / 498.4 MB, free: 15.26 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 7.187e-05/0.3862, allocations: 326.8 kB / 498.7 MB, free: 14.94 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 8.732e-05/0.3863, allocations: 33.7 kB / 498.8 MB, free: 14.93 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 9.655e-05/0.3864, allocations: 62.66 kB / 498.8 MB, free: 14.88 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001739/0.3866, allocations: 96.28 kB / 498.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 2.224e-06/0.3866, allocations: 0.9375 kB / 498.9 MB, free: 14.81 MB / 382.1 MB Notification: Performance of matching and sorting (n=14) (initialization): time 0.000289/0.3869, allocations: 141.3 kB / 499.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.335e-05/0.3869, allocations: 5.062 kB / 499.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.599e-06/0.3869, allocations: 1.375 kB / 499.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.153e-05/0.3869, allocations: 3.328 kB / 499.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.37e-05/0.387, allocations: 28.25 kB / 499.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 5.059e-06/0.387, allocations: 3.359 kB / 499.1 MB, free: 14.73 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 6.657e-05/0.3871, allocations: 13.83 kB / 499.1 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 1.108e-05/0.3871, allocations: 13 kB / 499.1 MB, free: 14.71 MB / 382.1 MB Notification: Model statistics after passing the back-end for initialization: * Number of independent subsystems: 5 * Number of states: 0 () * Number of discrete variables: 6 ($PRE.t_new.nextTimeEvent,$whenCondition1,t_new.nextTimeEventScaled,$PRE.t_new.nextTimeEventScaled,t_new.nextTimeEvent,err1.local_reset) * 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 7.654e-05/0.3872, allocations: 129.2 kB / 499.3 MB, free: 14.59 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.592e-05/0.3873, allocations: 15.23 kB / 499.3 MB, free: 14.58 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.655e-05/0.3873, allocations: 20.22 kB / 499.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.677e-06/0.3873, allocations: 5 kB / 499.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 2.425e-06/0.3873, allocations: 0 / 499.3 MB, free: 14.56 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 4.008e-06/0.3873, allocations: 5.812 kB / 499.3 MB, free: 14.55 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0001463/0.3875, allocations: 209.3 kB / 499.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 9.72e-07/0.3875, allocations: 0 / 499.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 7.241e-05/0.3876, allocations: 12.73 kB / 499.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 1.733e-06/0.3876, allocations: 96 / 499.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.273e-05/0.3876, allocations: 7.031 kB / 499.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.444e-06/0.3876, allocations: 3.938 kB / 499.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 1.643e-06/0.3876, allocations: 0.6562 kB / 499.5 MB, free: 14.34 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0003534/0.388, allocations: 183.6 kB / 499.7 MB, free: 14.23 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 3.638e-05/0.388, allocations: 93.17 kB / 499.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 2.426e-05/0.388, allocations: 5.625 kB / 499.8 MB, free: 14.12 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 5.894e-05/0.3881, allocations: 9.656 kB / 499.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 3.336e-05/0.3881, allocations: 10.05 kB / 499.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 1.418e-05/0.3882, allocations: 4.766 kB / 499.8 MB, free: 14.11 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.000111/0.3883, allocations: 137 kB / 500 MB, free: 14.02 MB / 382.1 MB Notification: Performance of sort global known variables: time 1.2e-07/0.3883, allocations: 5.75 kB / 500 MB, free: 14.02 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002307/0.3885, allocations: 24.05 kB / 0.4883 GB, free: 14.01 MB / 382.1 MB Notification: Model statistics after passing the back-end for simulation: * Number of independent subsystems: 1 * Number of states: 1 (err1.y) * Number of discrete variables: 3 ($whenCondition1,t_new.nextTimeEvent,t_new.nextTimeEventScaled) * Number of discrete states: 2 (t_new.nextTimeEventScaled,t_new.nextTimeEvent) * Number of clocked states: 0 () * Top-level inputs: 0 Notification: Strong component statistics for simulation (9): * Single equations (assignments): 7 * 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.0009838/0.3895, allocations: 427.5 kB / 0.4887 GB, free: 13.68 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0002794/0.3898, allocations: 76.83 kB / 0.4888 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 2.234e-06/0.3898, allocations: 0 / 0.4888 GB, free: 13.66 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 0.0001116/0.3899, allocations: 39.52 kB / 0.4888 GB, free: 13.64 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0002969/0.3902, allocations: 48.75 kB / 0.4888 GB, free: 13.62 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0005455/0.3908, allocations: 265.6 kB / 0.4891 GB, free: 13.43 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001843/0.391, allocations: 0.7103 MB / 0.4898 GB, free: 12.74 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 7.211e-05/0.3911, allocations: 19.98 kB / 0.4898 GB, free: 12.73 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.768e-05/0.3911, allocations: 16.95 kB / 0.4898 GB, free: 12.73 MB / 382.1 MB Notification: Performance of SimCode: time 2.11e-07/0.3911, allocations: 0 / 0.4898 GB, free: 12.73 MB / 382.1 MB Notification: Performance of Templates: time 0.005315/0.3964, allocations: 1.892 MB / 0.4917 GB, free: 12.52 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test13.pipe 2>&1)