Running: ./testmodel.py --libraries=/home/hudson/saved_omc/libraries/.openmodelica/libraries --ompython_omhome=/usr ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.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.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") translateModel(ModelicaTest.Tables.CombiTimeTable.Test17,tolerance=1e-06,outputFormat="empty",numberOfIntervals=5000,variableFilter="",fileNamePrefix="ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17") Notification: Performance of loadFile(/home/hudson/saved_omc/libraries/.openmodelica/libraries/ModelicaServices 4.0.0+maint.om/package.mo): time 0.008067/0.008067, allocations: 100.2 kB / 15.73 MB, free: 6.48 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.001301/0.001301, allocations: 196.1 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.57/1.57, allocations: 205.1 MB / 222.5 MB, free: 4.531 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.402/0.402, allocations: 39.95 MB / 309.8 MB, free: 9.266 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.001824/0.001824, allocations: 75.91 kB / 435.9 MB, free: 2.402 MB / 366.1 MB Notification: Performance of FrontEnd - Absyn->SCode: time 0.3452/0.347, allocations: 56.87 MB / 492.7 MB, free: 19.41 MB / 382.1 MB Notification: Performance of NFInst.instantiate(ModelicaTest.Tables.CombiTimeTable.Test17): time 0.003004/0.3501, allocations: 1.69 MB / 494.4 MB, free: 18.23 MB / 382.1 MB Notification: Performance of NFInst.instExpressions: time 0.001428/0.3515, allocations: 0.8008 MB / 495.2 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFInst.updateImplicitVariability: time 9.653e-05/0.3516, allocations: 5.375 kB / 495.2 MB, free: 17.68 MB / 382.1 MB Notification: Performance of NFTyping.typeComponents: time 0.0004241/0.3521, allocations: 37.44 kB / 495.3 MB, free: 17.66 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.0002881/0.3524, allocations: 57.05 kB / 495.3 MB, free: 17.62 MB / 382.1 MB Notification: Performance of NFTyping.typeClassSections: time 0.0003246/0.3527, allocations: 81.44 kB / 495.4 MB, free: 17.58 MB / 382.1 MB Notification: Performance of NFFlatten.flatten: time 0.0002691/0.353, allocations: 93.92 kB / 495.5 MB, free: 17.54 MB / 382.1 MB Notification: Performance of NFFlatten.resolveConnections: time 0.0001425/0.3532, allocations: 24.22 kB / 495.5 MB, free: 17.52 MB / 382.1 MB Notification: Performance of NFEvalConstants.evaluate: time 0.0001242/0.3533, allocations: 41.06 kB / 495.5 MB, free: 17.5 MB / 382.1 MB Notification: Performance of NFSimplifyModel.simplify: time 9.904e-05/0.3534, allocations: 25.78 kB / 495.6 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFPackage.collectConstants: time 2.309e-05/0.3534, allocations: 4.125 kB / 495.6 MB, free: 17.49 MB / 382.1 MB Notification: Performance of NFFlatten.collectFunctions: time 0.0001333/0.3536, allocations: 42.23 kB / 495.6 MB, free: 17.48 MB / 382.1 MB Notification: Performance of NFScalarize.scalarize: time 7.744e-05/0.3536, allocations: 21.23 kB / 495.6 MB, free: 17.47 MB / 382.1 MB Notification: Performance of NFVerifyModel.verify: time 6.792e-05/0.3537, allocations: 29.05 kB / 495.7 MB, free: 17.45 MB / 382.1 MB Notification: Performance of NFConvertDAE.convert: time 0.0003108/0.354, allocations: 113.5 kB / 495.8 MB, free: 17.4 MB / 382.1 MB Notification: Performance of FrontEnd - DAE generated: time 6.843e-06/0.3541, allocations: 0 / 495.8 MB, free: 17.4 MB / 382.1 MB Notification: Performance of FrontEnd: time 2.345e-06/0.3541, allocations: 1.094 kB / 495.8 MB, free: 17.4 MB / 382.1 MB Notification: Performance of Transformations before backend: time 1.015e-05/0.3541, allocations: 4 kB / 495.8 MB, free: 17.4 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.0006958/0.3548, allocations: 404.8 kB / 496.2 MB, free: 17 MB / 382.1 MB Notification: Performance of prepare preOptimizeDAE: time 4.461e-05/0.3548, allocations: 12.2 kB / 496.2 MB, free: 17 MB / 382.1 MB Notification: Performance of preOpt normalInlineFunction (simulation): time 5.404e-05/0.3549, allocations: 14.16 kB / 496.2 MB, free: 16.99 MB / 382.1 MB Notification: Performance of preOpt evaluateParameters (simulation): time 0.0002315/0.3551, allocations: 221.5 kB / 496.4 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt simplifyIfEquations (simulation): time 1.61e-05/0.3552, allocations: 2.594 kB / 496.4 MB, free: 16.76 MB / 382.1 MB Notification: Performance of preOpt expandDerOperator (simulation): time 2.235e-05/0.3552, allocations: 5.469 kB / 496.4 MB, free: 16.75 MB / 382.1 MB Notification: Performance of preOpt clockPartitioning (simulation): time 0.0001632/0.3554, allocations: 55.16 kB / 496.5 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt findStateOrder (simulation): time 1.391e-05/0.3554, allocations: 4 kB / 496.5 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt replaceEdgeChange (simulation): time 1.28e-05/0.3554, allocations: 0.75 kB / 496.5 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt inlineArrayEqn (simulation): time 5.621e-06/0.3554, allocations: 1.188 kB / 496.5 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt removeEqualRHS (simulation): time 7.964e-05/0.3555, allocations: 17.41 kB / 496.5 MB, free: 16.71 MB / 382.1 MB Notification: Performance of preOpt removeSimpleEquations (simulation): time 0.0003684/0.3559, allocations: 285.8 kB / 496.8 MB, free: 16.42 MB / 382.1 MB Notification: Performance of preOpt comSubExp (simulation): time 0.0001754/0.3561, allocations: 56.22 kB / 496.8 MB, free: 16.38 MB / 382.1 MB Notification: Performance of preOpt resolveLoops (simulation): time 5.14e-05/0.3561, allocations: 23.75 kB / 496.9 MB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt evalFunc (simulation): time 2.144e-05/0.3561, allocations: 1.219 kB / 496.9 MB, free: 16.37 MB / 382.1 MB Notification: Performance of preOpt encapsulateWhenConditions (simulation): time 0.0001328/0.3563, allocations: 66.06 kB / 496.9 MB, free: 16.31 MB / 382.1 MB Notification: Performance of pre-optimization done (n=6): time 1.543e-06/0.3563, allocations: 0 / 496.9 MB, free: 16.31 MB / 382.1 MB Notification: Performance of matching and sorting (n=8): time 0.000521/0.3568, allocations: 172.7 kB / 497.1 MB, free: 16.23 MB / 382.1 MB Notification: Performance of inlineWhenForInitialization (initialization): time 2.99e-05/0.3569, allocations: 53.09 kB / 497.1 MB, free: 16.16 MB / 382.1 MB Notification: Performance of selectInitializationVariablesDAE (initialization): time 0.000147/0.357, allocations: 174.1 kB / 497.3 MB, free: 16.04 MB / 382.1 MB Notification: Performance of collectPreVariables (initialization): time 1.253e-05/0.357, allocations: 33.64 kB / 497.4 MB, free: 16 MB / 382.1 MB Notification: Performance of collectInitialEqns (initialization): time 4.47e-05/0.3571, allocations: 99.14 kB / 497.4 MB, free: 15.91 MB / 382.1 MB Notification: Performance of collectInitialBindings (initialization): time 3.111e-05/0.3571, allocations: 30.48 kB / 497.5 MB, free: 15.89 MB / 382.1 MB Notification: Performance of simplifyInitialFunctions (initialization): time 4.027e-05/0.3572, allocations: 22.06 kB / 497.5 MB, free: 15.87 MB / 382.1 MB Notification: Performance of setup shared object (initialization): time 8.875e-05/0.3573, allocations: 325.1 kB / 497.8 MB, free: 15.55 MB / 382.1 MB Notification: Performance of preBalanceInitialSystem (initialization): time 6.051e-05/0.3573, allocations: 26.45 kB / 497.8 MB, free: 15.54 MB / 382.1 MB Notification: Performance of partitionIndependentBlocks (initialization): time 6.457e-05/0.3574, allocations: 38.94 kB / 497.9 MB, free: 15.51 MB / 382.1 MB Notification: Performance of analyzeInitialSystem (initialization): time 0.0001123/0.3575, allocations: 53.98 kB / 497.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of solveInitialSystemEqSystem (initialization): time 9.82e-07/0.3575, allocations: 384 / 497.9 MB, free: 15.48 MB / 382.1 MB Notification: Performance of matching and sorting (n=10) (initialization): time 0.0001747/0.3577, allocations: 104.3 kB / 498 MB, free: 15.41 MB / 382.1 MB Notification: Performance of prepare postOptimizeDAE: time 1.553e-05/0.3577, allocations: 6.703 kB / 498 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (initialization): time 4.709e-06/0.3577, allocations: 0 / 498 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (initialization): time 1.652e-05/0.3578, allocations: 5.406 kB / 498 MB, free: 15.41 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (initialization): time 9.516e-05/0.3579, allocations: 23.14 kB / 498.1 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (initialization): time 7.514e-06/0.3579, allocations: 2.297 kB / 498.1 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (initialization): time 4.473e-05/0.3579, allocations: 6.344 kB / 498.1 MB, free: 15.4 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (initialization): time 7.624e-06/0.3579, allocations: 2.688 kB / 498.1 MB, free: 15.4 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 7.616e-05/0.358, allocations: 124.1 kB / 498.2 MB, free: 15.28 MB / 382.1 MB Notification: Performance of postOpt lateInlineFunction (simulation): time 2.218e-05/0.3581, allocations: 14.34 kB / 498.2 MB, free: 15.27 MB / 382.1 MB Notification: Performance of postOpt wrapFunctionCalls (simulation): time 3.561e-05/0.3581, allocations: 12.7 kB / 498.2 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt inlineArrayEqn (simulation): time 3.226e-06/0.3581, allocations: 1.922 kB / 498.2 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt constantLinearSystem (simulation): time 5.009e-06/0.3581, allocations: 5.469 kB / 498.2 MB, free: 15.26 MB / 382.1 MB Notification: Performance of postOpt simplifysemiLinear (simulation): time 5.33e-06/0.3581, allocations: 8.453 kB / 498.2 MB, free: 15.25 MB / 382.1 MB Notification: Performance of postOpt removeSimpleEquations (simulation): time 0.0003986/0.3585, allocations: 391.8 kB / 498.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt simplifyComplexFunction (simulation): time 2.034e-06/0.3585, allocations: 1.375 kB / 498.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt solveSimpleEquations (simulation): time 3.4e-05/0.3586, allocations: 8.688 kB / 498.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt tearingSystem (simulation): time 2.975e-06/0.3586, allocations: 1.125 kB / 498.6 MB, free: 14.9 MB / 382.1 MB Notification: Performance of postOpt inputDerivativesUsed (simulation): time 1.323e-05/0.3586, allocations: 6.641 kB / 498.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStrongComponentJacobians (simulation): time 2.334e-06/0.3586, allocations: 1.594 kB / 498.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt calculateStateSetsJacobians (simulation): time 8.72e-07/0.3586, allocations: 0 / 498.6 MB, free: 14.89 MB / 382.1 MB Notification: Performance of postOpt symbolicJacobian (simulation): time 0.0002345/0.3589, allocations: 208.9 kB / 498.8 MB, free: 14.72 MB / 382.1 MB Notification: Performance of postOpt removeConstants (simulation): time 4.775e-05/0.3589, allocations: 84.5 kB / 498.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyTimeIndepFuncCalls (simulation): time 3.429e-05/0.359, allocations: 6.766 kB / 498.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt simplifyAllExpressions (simulation): time 7.139e-05/0.359, allocations: 3.797 kB / 498.9 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt findZeroCrossings (simulation): time 4.7e-05/0.3591, allocations: 8.703 kB / 499 MB, free: 14.62 MB / 382.1 MB Notification: Performance of postOpt collapseArrayExpressions (simulation): time 2.006e-05/0.3591, allocations: 4.656 kB / 499 MB, free: 14.62 MB / 382.1 MB Notification: Performance of sorting global known variables: time 0.0001066/0.3592, allocations: 132.3 kB / 499.1 MB, free: 14.53 MB / 382.1 MB Notification: Performance of sort global known variables: time 8.01e-07/0.3592, allocations: 0 / 499.1 MB, free: 14.53 MB / 382.1 MB Notification: Performance of remove unused functions: time 0.0002532/0.3595, allocations: 29.53 kB / 499.1 MB, free: 14.52 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.001004/0.3605, allocations: 465.7 kB / 499.6 MB, free: 14.15 MB / 382.1 MB Notification: Performance of simCode: created initialization part: time 0.0001899/0.3607, allocations: 59.34 kB / 499.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created event and clocks part: time 3.297e-06/0.3607, allocations: 1.062 kB / 499.6 MB, free: 14.13 MB / 382.1 MB Notification: Performance of simCode: created simulation system equations: time 7.418e-05/0.3608, allocations: 31.61 kB / 499.7 MB, free: 14.12 MB / 382.1 MB Notification: Performance of simCode: created of all other equations (e.g. parameter, nominal, assert, etc): time 0.0003445/0.3612, allocations: 32.42 kB / 499.7 MB, free: 14.11 MB / 382.1 MB Notification: Performance of simCode: created linear, non-linear and system jacobian parts: time 0.0004361/0.3616, allocations: 222.8 kB / 499.9 MB, free: 13.94 MB / 382.1 MB Notification: Performance of simCode: some other stuff during SimCode phase: time 0.0001703/0.3618, allocations: 0.6994 MB / 0.4889 GB, free: 13.24 MB / 382.1 MB Notification: Performance of simCode: alias equations: time 5.799e-05/0.3618, allocations: 16.88 kB / 0.4889 GB, free: 13.23 MB / 382.1 MB Notification: Performance of simCode: all other stuff during SimCode phase: time 3.879e-05/0.3619, allocations: 16.75 kB / 0.4889 GB, free: 13.23 MB / 382.1 MB Notification: Performance of SimCode: time 2.51e-07/0.3619, allocations: 0 / 0.4889 GB, free: 13.23 MB / 382.1 MB Notification: Performance of Templates: time 0.005033/0.3669, allocations: 1.695 MB / 0.4906 GB, free: 13.03 MB / 382.1 MB make -j1 -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.makefile (rm -f ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; mkfifo ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe ; head -c 1048576 < ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe >> ../files/ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.sim & ./ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17 -abortSlowSimulation -alarm=480 -lv LOG_STATS > ModelicaTest_3.2.2_ModelicaTest.Tables.CombiTimeTable.Test17.pipe 2>&1)